LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS
NOTE: LDAP-UX supports DN-based (X.500 style) membership syntax. This means that you
do not need to use the memberUid attributes to define the members of a POSIX group. Instead,
you may use either the member or uniqueMember attribute. LDAP-UX can convert from the
DN syntax to the POSIX syntax (an account name).
For ADS, the typical member attribute would be either memberUid or preferably the member
attribute.
5. Follow the prompts to finish the setup.
3.4.6.3 Step 3: Configure your HP-UX machine to authenticate using PAM Kerberos
1. Create /etc/krb5.conf, the Kerberos configuration file that specifies the default realm,
the location of a KDC server, and the logging file names. The Kerberos client depends on the
configuration to locate the KDC of the realm. The following is an example of /etc/krb5.conf
which has the realm CUP.HP.COM, and machine myhost.cup.hp.comas KDC:
[libdefaults]
default_realm = CUP.HP.COM
default_tgs_enctypes = DES-CBC-CRC
default_tkt_enctypes = DES-CBC-CRC
ccache_type = 2
[realms]
CUP.HP.COM = {
kdc = MYHOST.CUP.HP.COM:88
kpasswd_server = MYHOST.CUP.HP.COM:464
admin_server = myhost.cup.hp.com:749
}
[domain_realm]
.cup.hp.com = CUP.HP.COM
[logging]
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmin.log
default = FILE:/var/log/krb5lib.log
NOTE: The permissions of the /etc/krb5.conf file should be set to 644 and ownership
should be root user.
For more information about the /etc/krb5.conffile, see “Sample /etc/krb5.conf file”
(page 434).
2. For Multiple Domains:
For each domain you configure in LDAP-UX, you must add its KDC entry into the [realms]
section of the /etc/krb5.conf file. In the [libdefaults] section, the following line is also
added:
ldapux_multidomain = 1
For a sample file that supports two domains, see “Sample /etc/krb5.conf file” (page 434).
3. Add the Kerberos services to the/etc/services file if they do not exist yet. A Kerberos
client requires the following entries in the /etc/services file for the Kerberos PAM services:
kerberos5 88/udp kdc # Kerberos V5 kdc
kerberos5 88/tcp kdc # Kerberos V5 kdc
kerberos-sec 88/udp kdc # Kerberos V5 kdc
kerberos-sec 88/tcp kdc # Kerberos V5 kdc
kerberos 750/udp kdc # Kerberos V5 kdc
kerberos 750/tcp kdc # Kerberos V5 kdc
klogin 543/tcp # Kerberos rlogin -kfall
kshell 544/tcp cmd # Kerberos remote shell
kerberos-adm 749/tcp # Kerberos 5 admin/changepw
kerberos-adm 749/udp # Kerberos 5 admin/changepw
3.4 Customized installation (setup) for a Windows ADS environment 149