
Configuring GSSAPI with eDirectory
629
n
ov
do
cx (e
n)
11
Ju
ly 20
08
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 628
,
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 628
.
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.
Содержание EDIRECTORY 8.8 SP3
Страница 4: ...novdocx en 11 July 2008...
Страница 72: ...72 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 120: ...120 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 132: ...132 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 190: ...190 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 238: ...238 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 262: ...262 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 288: ...288 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 320: ...320 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 348: ...348 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 388: ...388 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 492: ...492 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 586: ...586 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 599: ...The eDirectory Management Toolbox 599 novdocx en 11 July 2008 Click Help for details...
Страница 600: ...600 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 614: ...614 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...