git clone https://github.com/apache/directory-kerby.git
cd directory-kerby mvn clean install -Pdist -DskipTests
Please look at How to deploy https for details.
An example of has-server.conf:
[HAS] https_host = localhost https_port = 8092 filter_auth_type = kerberos [PLUGIN] auth_type = MySQL
cd HAS/has-dist sh bin/start-has.sh <conf_dir> <work_dir>
also:
export HAS_CONF_DIR=<conf_dir> export HAS_WORK_DIR=<work_dir> cd HAS/has-dist sh bin/start-has.sh
Root privileges required if https_port or KDC port numbers range from 0 to 1023.
Please make sure the following configuration files exist in the conf directory: has-server.conf backend.conf kdc.conf
cd kerby-dist/has-dist // Start HAS init tool sh bin/has-init.sh <conf_dir> HasInitTool: start HasInitTool: exit
cd kerby-dist/has-dist // Start HAS init tool sh bin/has-init.sh <conf_dir> HasInitTool: init HasInitTool: exit
Please look at How to deploy http spnego for details. Please restart the HAS server
cd kerby-dist/has-dist sh bin/stop-has.sh cd kerby-dist/has-dist sh bin/start-has.sh <conf_dir> <work_dir> cd kerby-dist/has-dist sh bin/kdcinit.sh <conf_dir> HasInitTool: start HasInitTool: exit