directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From plusplusjia...@apache.org
Subject [17/50] [abbrv] directory-kerby git commit: Added scripts for windows; changed scripts according to refined packaging jars; default configurations
Date Thu, 30 Jul 2015 06:24:24 GMT
Added scripts for windows; changed scripts according to refined packaging jars; default configurations


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/6d64fb32
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/6d64fb32
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/6d64fb32

Branch: refs/heads/pkinit-support
Commit: 6d64fb321484784e9075c9a0c006152df4712390
Parents: 64e24b9
Author: drankye <kai.zheng@intel.com>
Authored: Wed Jul 15 23:20:14 2015 +0800
Committer: Drankye <drankye@gmail.com>
Committed: Wed Jul 15 23:20:14 2015 +0800

----------------------------------------------------------------------
 kerby-dist/kdc-dist/bin/kadmin.cmd    |  3 +++
 kerby-dist/kdc-dist/bin/kadmin.sh     |  5 +++++
 kerby-dist/kdc-dist/bin/start-kdc.cmd |  3 +++
 kerby-dist/kdc-dist/bin/start-kdc.sh  | 10 ++++------
 kerby-dist/kdc-dist/conf/backend.conf | 19 +++++++++++++++++++
 kerby-dist/kdc-dist/conf/kdc.conf     | 23 +++++++++++++++++++++++
 kerby-dist/tool-dist/bin/kadmin.sh    |  7 -------
 kerby-dist/tool-dist/bin/kinit.cmd    |  3 +++
 kerby-dist/tool-dist/bin/kinit.sh     |  9 ++++-----
 kerby-dist/tool-dist/bin/klist.cmd    |  3 +++
 kerby-dist/tool-dist/bin/klist.sh     |  8 ++++----
 11 files changed, 71 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6d64fb32/kerby-dist/kdc-dist/bin/kadmin.cmd
----------------------------------------------------------------------
diff --git a/kerby-dist/kdc-dist/bin/kadmin.cmd b/kerby-dist/kdc-dist/bin/kadmin.cmd
new file mode 100644
index 0000000..ca2f15c
--- /dev/null
+++ b/kerby-dist/kdc-dist/bin/kadmin.cmd
@@ -0,0 +1,3 @@
+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

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6d64fb32/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
new file mode 100644
index 0000000..338f36a
--- /dev/null
+++ b/kerby-dist/kdc-dist/bin/kadmin.sh
@@ -0,0 +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

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6d64fb32/kerby-dist/kdc-dist/bin/start-kdc.cmd
----------------------------------------------------------------------
diff --git a/kerby-dist/kdc-dist/bin/start-kdc.cmd b/kerby-dist/kdc-dist/bin/start-kdc.cmd
new file mode 100644
index 0000000..1da61e4
--- /dev/null
+++ b/kerby-dist/kdc-dist/bin/start-kdc.cmd
@@ -0,0 +1,3 @@
+java -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -classpath ^
+lib\* ^
+org.apache.kerby.kerberos.kdc.KerbyKdcServer -start %*

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6d64fb32/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 4affb56..3bc0fce 100644
--- a/kerby-dist/kdc-dist/bin/start-kdc.sh
+++ b/kerby-dist/kdc-dist/bin/start-kdc.sh
@@ -1,7 +1,5 @@
 #!/bin/bash
-java -Xdebug -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=n \
--cp ../lib/json-backend-1.0-SNAPSHOT-jar-with-dependencies.jar:\
-../lib/ldap-backend-1.0-SNAPSHOT-jar-with-dependencies.jar:\
-../lib/zookeeper-backend-1.0-SNAPSHOT-jar-with-dependencies.jar:\
-../lib/kerb-server-api-all-1.0-SNAPSHOT.jar:\
-../lib/kerby-kdc-1.0-SNAPSHOT.jar org.apache.kerby.kerberos.kdc.KerbyKdcServer $@
+
+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

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6d64fb32/kerby-dist/kdc-dist/conf/backend.conf
----------------------------------------------------------------------
diff --git a/kerby-dist/kdc-dist/conf/backend.conf b/kerby-dist/kdc-dist/conf/backend.conf
new file mode 100644
index 0000000..363024c
--- /dev/null
+++ b/kerby-dist/kdc-dist/conf/backend.conf
@@ -0,0 +1,19 @@
+#
+# 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.
+#
+
+kdc_identity_backend = org.apache.kerby.kerberos.kdc.identitybackend.JsonIdentityBackend

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6d64fb32/kerby-dist/kdc-dist/conf/kdc.conf
----------------------------------------------------------------------
diff --git a/kerby-dist/kdc-dist/conf/kdc.conf b/kerby-dist/kdc-dist/conf/kdc.conf
new file mode 100644
index 0000000..ac72940
--- /dev/null
+++ b/kerby-dist/kdc-dist/conf/kdc.conf
@@ -0,0 +1,23 @@
+#
+# 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.
+#
+
+[kdcdefaults]
+  kdc_host = localhost
+  kdc_udp_port = 8014
+  kdc_tcp_port = 8015
+  kdc_realm = EXAMPLE.COM

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6d64fb32/kerby-dist/tool-dist/bin/kadmin.sh
----------------------------------------------------------------------
diff --git a/kerby-dist/tool-dist/bin/kadmin.sh b/kerby-dist/tool-dist/bin/kadmin.sh
deleted file mode 100644
index 007d5b5..0000000
--- a/kerby-dist/tool-dist/bin/kadmin.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-java -Xdebug -Xrunjdwp:transport=dt_socket,address=1046,server=y,suspend=n \
--cp ../lib/json-backend-1.0-SNAPSHOT-jar-with-dependencies.jar:\
-../lib/ldap-backend-1.0-SNAPSHOT-jar-with-dependencies.jar:\
-../lib/zookeeper-backend-1.0-SNAPSHOT-jar-with-dependencies.jar:\
-../lib/kerb-server-api-all-1.0-SNAPSHOT.jar:\
-../lib/kdc-tool-1.0-SNAPSHOT.jar org.apache.kerby.kerberos.tool.kadmin.KadminTool $@
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6d64fb32/kerby-dist/tool-dist/bin/kinit.cmd
----------------------------------------------------------------------
diff --git a/kerby-dist/tool-dist/bin/kinit.cmd b/kerby-dist/tool-dist/bin/kinit.cmd
new file mode 100644
index 0000000..c717fac
--- /dev/null
+++ b/kerby-dist/tool-dist/bin/kinit.cmd
@@ -0,0 +1,3 @@
+java -Xdebug -Xrunjdwp:transport=dt_socket,address=8002,server=y,suspend=n ^
+-classpath lib\* ^
+org.apache.kerby.kerberos.tool.kinit.KinitTool %*

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6d64fb32/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 68d8a71..bb2565a 100644
--- a/kerby-dist/tool-dist/bin/kinit.sh
+++ b/kerby-dist/tool-dist/bin/kinit.sh
@@ -1,6 +1,5 @@
 #!/bin/bash
-java -Xdebug -Xrunjdwp:transport=dt_socket,address=1045,server=y,suspend=n \
--cp ../lib/kerb-client-api-all-1.0-SNAPSHOT.jar:\
-../lib/kerby-asn1-1.0-SNAPSHOT.jar:\
-../lib/slf4j-api-1.7.10.jar:\
-../lib/client-tool-1.0-SNAPSHOT.jar org.apache.kerby.kerberos.tool.kinit.KinitTool $@
+
+java -Xdebug -Xrunjdwp:transport=dt_socket,address=8002,server=y,suspend=n \
+-classpath lib/* \
+org.apache.kerby.kerberos.tool.kinit.KinitTool $@

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6d64fb32/kerby-dist/tool-dist/bin/klist.cmd
----------------------------------------------------------------------
diff --git a/kerby-dist/tool-dist/bin/klist.cmd b/kerby-dist/tool-dist/bin/klist.cmd
new file mode 100644
index 0000000..ffaaedb
--- /dev/null
+++ b/kerby-dist/tool-dist/bin/klist.cmd
@@ -0,0 +1,3 @@
+java -Xdebug -Xrunjdwp:transport=dt_socket,address=8004,server=n,suspend=n ^
+-classpath lib\* ^
+org.apache.kerby.kerberos.tool.klist.KlistTool %*

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/6d64fb32/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 dad9117..978e8df 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=1045,server=y,suspend=n \
--cp ../lib/kerb-client-api-all-1.0-SNAPSHOT.jar:\
-../lib/kerby-asn1-1.0-SNAPSHOT.jar:\
-../lib/client-tool-1.0-SNAPSHOT.jar org.apache.kerby.kerberos.tool.klist.KlistTool $@
+
+java -Xdebug -Xrunjdwp:transport=dt_socket,address=8004,server=n,suspend=n \
+-classpath lib/* \
+ org.apache.kerby.kerberos.tool.klist.KlistTool $@


Mime
View raw message