Configuring GSSAPI with eDirectory
571
no
vd
ocx (
E
NU)
01
F
ebr
ua
ry
200
6
Best Practice
It is a good practice to change the LDAP service principal keys regularly. Whenever you change the
LDAP service principal keys, ensure that you update the principal object in eDirectory.
Extracting the Key of the Service Principal for eDirectory
Use the Kerberos Administration tool that is available with your KDC to extract the key of the
LDAP service principal created in
“Creating a Service Principal for an LDAP Server” on page 570
,
then store it in the local file system. This can be done with the help of your Kerberos administrator.
For example, if you are using an MIT KDC, execute the following command:
kadmin: ktadd -k /
directory_path
/
keytabfilename
-e des-cbc-
crc:normal ldap/server.novell.com@MITREALM
For example, if you are using Microsoft KDC, create a user ldapMYHOST in Active Directory and
then execute the following command:
ktpass -princ ldap/MYHOST.MYDNSDOMAIN@MYREALM -mapuser ldapMYHOST -
pass
mypassword
-out
MYHOST.keytab
This command maps the principal (ldap/MYHOST.MYDNSDOMAIN@MYREALM) to the user
account (ldapMYHOST), sets the host principal password to mypassword, and extracts the key into
the MYHOST.keytab file.
For example, if you are using Heimdal KDC, execute the following command:
kadmin> ext_keytab -k /
directory_path
/
keytabfilename
ldap/
server.novell.com@MITREALM
where
keytabfilename
is the name of the file that contains the extracted key.
Creating a Service Principal Object in eDirectory
You must create a Kerberos service principal with the same name (ldap/
MYHOST.MYDNSDOMAIN
@
MYREALM
) as specified in
“Creating a Service Principal for an
LDAP Server” on page 570
.
Best Practice
Service principals for eDirectory must be readily accessible to all servers enabled for the SASL
GSSAPI mechanism. If these eDirectory service principals are not created under the Kerberos
Realm container inside the Security container, we strongly recommend that you create the container
that contains these eDirectory service principals as a separate partition, and that the container be
widely replicated.
1
In iManager, click
Kerberos Management
>
New Principal
to open the New Principal page.
2
Specify the name of the principal to be created.
The principal name must be in the format ldap/
MYDNSDOMAIN
@
REALMNAME
.
3
Specify the name of the container where the Principal object is to be created or use the
Object
Selector
icon to select it.
4
Specify the name of the realm.
Summary of Contents for EDIRECTORY 8.8 - GUIDE
Page 4: ...novdocx ENU 01 February 2006...
Page 16: ...16 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 68: ...68 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 90: ...90 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 116: ...116 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 128: ...128 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 184: ...184 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 249: ...250 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 307: ...308 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 333: ...334 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 371: ...372 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 439: ...440 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 519: ...520 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 529: ...530 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 555: ...556 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...