LDAP-UX Client Services B.04.15 with Microsoft Windows Active Directory Server Administrator's Guide (edition 8)

Table Of Contents
In this example, ldapcfinfo is used to access a Windows 2003 R2 Active Directory Server with
the R2's RFC 2307 schema installed. Assume that the homeDirectory attribute has been mapped
to unixHomeDirectory. The following command displays the attribute mapping for the
homeDirectory attribute.
./ldapcfinfo -t passwd -m homeDirectory
The output of the command is as follows:
homeDirectory=unixHomeDirectory
If ldapcfinfo is used to access a Windows 2000/2003 ADS with the SFU 3.0/3.5 schema installed,
the output of the command is as follows:
homeDirectory=msSFU30HomeDirectory
The following command displays the LDAP-UX default search base for the passwd name service.
In this example, “ou=users,” has been configured as the search base for the passwd name service.
./ldapcfinfo -t passwd -b
The output of the command is as follows:
ou=users,dc=org,dc=example,dc=com
The following command displays the LDAP-UX default search base for the group name service.
In this example, “ou=Groups,” has been configured as the search base for the group name service.
./ldapcfinfo -t group -b
The output of the command is as follows
ou=Groups,dc=org,dc=example,dc=com
The following command displays the location of the LDAP-UX configuration profile:
./ldapcfinfo -P
The output of the command is as follows:
dn: cn=ldapux-profile,dc=org,dc=example,dc=com
host: 55.5.22.15:389
If SSL is required to download the profile, the output of the command is as follows:
dn: cn=ldapux-profile,dc=org,dc=example,dc=com
hostssl: 55.5.22.15:636
The following command displays the required attributes defined in the default template file,
/etc/opt/ldapux/ug_templates/ug_passwd_ads.tmpl, when adding a new user account
to a Windows ADS:
./ldapcfinfo -t passwd -R
The following command displays the list of available template files for the passwd name service:
./ldapcfinfo -t passwd -L
Assume that /etc/opt/ldapux/ug_templates/ug_passwd_std.tmpl,
/etc/opt/ldapux/ug_templates/ug_passwd_default.tmpl
/etc/opt/ldapux/ug_templates/ug_passwd_ads.tmpl are currently available on the
system, the output of the above command is as follows:
LDAP User and Group Management Tools 223