Configuring GSSAPI with eDirectory
619
no
vd
ocx
(e
n)
6 Ap
ril 20
07
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 618
,
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 aes256-
cts: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 618
.
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.
If you have already specified the realm name in
Step 2
, leave this field blank.
5
Do either of the following:
Specify the keytab filename or click
Browse
to select the location where the keytab file is
stored.
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...