618
Novell eDirectory 8.8 Administration Guide
no
vd
ocx
(e
n)
6 Ap
ril 20
07
E.3.3 Managing a Service Principal
This section discusses the following:
“Creating a Service Principal for an LDAP Server” on page 618
“Extracting the Key of the Service Principal for eDirectory” on page 619
“Creating a Service Principal Object in eDirectory” on page 619
“Viewing the Kerberos Service Principal Keys” on page 620
“Deleting a Kerberos Service Principal Object” on page 620
“Setting a Password for the Kerberos Service Principal” on page 621
Creating a Service Principal for an LDAP Server
Use the Kerberos Administration tool that is available with your KDC to create the eDirectory
service principal with the encryption type and salt type as DES-CBC-CRC and Normal,
respectively.
The name of the principal must be ldap/
MYHOST.MYDNSDOMAIN
@
REALMNAME
.
For example, if you are using MIT KDC, execute the following command:
kadmin:addprinc -randkey -e aes256-cts:normal ldap/
server.novell.com@MITREALM
For example, if you are using Heimdal KDC, execute the following command:
kadmin -l
kadmin> add --random-key ldap/server.novell.com@MITREALM
To delete the unsupported encryption types for the service principal, execute the following
command:
kadmin> del_enctype ldap/MYHOST.MYDNSDOMAIN@MYREALM des-cbc-
md4
kadmin> del_enctype ldap/MYHOST.MYDNSDOMAIN@MYREALM des-cbc-
md5
kadmin> del_enctype ldap/MYHOST.MYDNSDOMAIN@MYREALM des3-cbc-sha1
where
MYHOST.MYDNSDOMAIN
is the host name and
MYREALM
is the Kerberos realm.
IMPORTANT:
The hostname of service principal created must be in lowercase. Authentication
fails if the hostname is in uppercase. For example, if the hostname is myHost.com, the hostname
syntax of the ldap service principal should look like
ldap/myhost.com@<realmname>
.
Best Practice
All the keys should be preferably of type AES256.
Change the LDAP service principal keys regularly. Whenever you change the LDAP service
principal keys, ensure that you update the principal object in eDirectory.
Summary of Contents for EDIRECTORY 8.8 SP2
Page 4: ...novdocx en 6 April 2007...
Page 116: ...116 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 128: ...128 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 255: ...256 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 406: ...408 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 563: ...566 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 573: ...576 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 601: ...604 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...