Skip to content

Latest commit

 

History

History
85 lines (79 loc) · 1.92 KB

simplekdc.md

File metadata and controls

85 lines (79 loc) · 1.92 KB

kerb-simplekdc

Kdc server

* Start simple kdc server.
start();
* Set KDC realm for ticket request
setKdcRealm(realm);
* Set KDC host.
setKdcHost(kdcHost);
* Set KDC tcp port.
setKdcTcpPort(kdcTcpPort);
* Set KDC udp port. Only makes sense when allowUdp is set.
setKdcUdpPort(kdcUdpPort);
* Set to allow TCP or not.
setAllowTcp(allowTcp);
* Set to allow UDP or not.
setAllowUdp(allowUdp);

Kadmin

* Create principle with principal name.
createPrincipal(principal);
* Add principle with principal name and password.
createPrincipal(principal, password);
* Create principles with principal names.
createPrincipals(principals);
* Creates principals and export their keys to the specified keytab file.
createAndExportPrincipals(keytabFile principals);
* Delete principle with principal name.
deletePrincipal(principal);
* Delete principles with principal names.
deletePrincipals(principals);
* Export principles to keytab file.
exportPrincipals(keytabFile);