You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pl...@apache.org on 2015/07/16 07:39:02 UTC
directory-kerby git commit: DIRKRB-370 Fix the scripts for Linux.
Repository: directory-kerby
Updated Branches:
refs/heads/master 6d64fb321 -> 6ebf6caea
DIRKRB-370 Fix the scripts for Linux.
Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/6ebf6cae
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/6ebf6cae
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/6ebf6cae
Branch: refs/heads/master
Commit: 6ebf6caead539cce29075947fe31386f65dc56a7
Parents: 6d64fb3
Author: plusplusjiajia <ji...@intel.com>
Authored: Thu Jul 16 13:43:48 2015 +0800
Committer: plusplusjiajia <ji...@intel.com>
Committed: Thu Jul 16 13:43:48 2015 +0800
----------------------------------------------------------------------
kerby-dist/kdc-dist/bin/kadmin.sh | 4 ++--
kerby-dist/kdc-dist/bin/start-kdc.sh | 4 ++--
kerby-dist/tool-dist/bin/kinit.sh | 2 +-
kerby-dist/tool-dist/bin/klist.sh | 2 +-
kerby-dist/tool-dist/conf/krb5.conf | 22 ++++++++++++++++++++++
5 files changed, 28 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6ebf6cae/kerby-dist/kdc-dist/bin/kadmin.sh
----------------------------------------------------------------------
diff --git a/kerby-dist/kdc-dist/bin/kadmin.sh b/kerby-dist/kdc-dist/bin/kadmin.sh
index 338f36a..0327864 100644
--- a/kerby-dist/kdc-dist/bin/kadmin.sh
+++ b/kerby-dist/kdc-dist/bin/kadmin.sh
@@ -1,5 +1,5 @@
#!/bin/bash
java -Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n -classpath \
-lib/* \
-org.apache.kerby.kerberos.tool.kadmin.KadminTool $@
\ No newline at end of file
+lib/*:. \
+org.apache.kerby.kerberos.tool.kadmin.KadminTool $@
http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6ebf6cae/kerby-dist/kdc-dist/bin/start-kdc.sh
----------------------------------------------------------------------
diff --git a/kerby-dist/kdc-dist/bin/start-kdc.sh b/kerby-dist/kdc-dist/bin/start-kdc.sh
index 3bc0fce..d3d7891 100644
--- a/kerby-dist/kdc-dist/bin/start-kdc.sh
+++ b/kerby-dist/kdc-dist/bin/start-kdc.sh
@@ -1,5 +1,5 @@
#!/bin/bash
java -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -classpath \
-lib\* \
-org.apache.kerby.kerberos.kdc.KerbyKdcServer -start $@
\ No newline at end of file
+lib/*:. \
+org.apache.kerby.kerberos.kdc.KerbyKdcServer -start $@
http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6ebf6cae/kerby-dist/tool-dist/bin/kinit.sh
----------------------------------------------------------------------
diff --git a/kerby-dist/tool-dist/bin/kinit.sh b/kerby-dist/tool-dist/bin/kinit.sh
index bb2565a..b103f3e 100644
--- a/kerby-dist/tool-dist/bin/kinit.sh
+++ b/kerby-dist/tool-dist/bin/kinit.sh
@@ -1,5 +1,5 @@
#!/bin/bash
java -Xdebug -Xrunjdwp:transport=dt_socket,address=8002,server=y,suspend=n \
--classpath lib/* \
+-classpath lib/*:. \
org.apache.kerby.kerberos.tool.kinit.KinitTool $@
http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6ebf6cae/kerby-dist/tool-dist/bin/klist.sh
----------------------------------------------------------------------
diff --git a/kerby-dist/tool-dist/bin/klist.sh b/kerby-dist/tool-dist/bin/klist.sh
index 978e8df..360c7d7 100644
--- a/kerby-dist/tool-dist/bin/klist.sh
+++ b/kerby-dist/tool-dist/bin/klist.sh
@@ -1,5 +1,5 @@
#!/bin/bash
java -Xdebug -Xrunjdwp:transport=dt_socket,address=8004,server=n,suspend=n \
--classpath lib/* \
+-classpath lib/*:. \
org.apache.kerby.kerberos.tool.klist.KlistTool $@
http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6ebf6cae/kerby-dist/tool-dist/conf/krb5.conf
----------------------------------------------------------------------
diff --git a/kerby-dist/tool-dist/conf/krb5.conf b/kerby-dist/tool-dist/conf/krb5.conf
new file mode 100644
index 0000000..69859cc
--- /dev/null
+++ b/kerby-dist/tool-dist/conf/krb5.conf
@@ -0,0 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+[libdefaults]
+ kdc_realm = EXAMPLE.COM
+ kdc_tcp_port = 8014
+ kdc_udp_port = 8015