LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS
NOTE: The template file used by the guided installation (autosetup) differs from this one: its
template file excludes ou=people from the first line because that subtree is directly registered in
the configuration profile.
dn: uid=${uid},ou=people,${basedn}
objectclass: inetOrgPerson
objectclass: posixAccount
sn: ${surname}
${posixProfile}
The following is a default template for the group name service:
NOTE: The template file used by the guided installation (autosetup) differs from this one: its
template file excludes ou=groups from the first line because that subtree is directly registered in
the configuration profile.
dn: cn=${cn},ou=groups,${basedn}
objectclass: groupOfNames
objectclass: posixGroup
${posixProfile}
Default template files for a Windows ADS
The following is a default template for the passwd name service:
NOTE: The template files used by the guided installation (autosetup) differ from these two: its
template files exclude cn=users from the first line because that subtree is directly registered in
the configuration profile.
dn: cn=${cn},cn=users,${basedn}
objectclass: user
${posixProfile}
sAMAccountName: ${uid}
msSFU30NisDomain: ${domain}
#By default, ldapugadd creates disabled accounts.
#Change below to 544 to enable accounts by default.
userAccountControl: 546
The following is a default template for the group name service:
dn: cn=${cn},cn=users,${basedn}
objectclass: group
${posixProfile}
sAMAccountName: ${cn}
msSFU30NisDomain: ${domain}
LDAP-UX provides two default templates file (for user and group entries) for a standard LDAP
directory server, along with two default template files for Windows Active Directory Server under
the /etc/opt/ldapux/ug_templates directory. By default, LDAP-UX creates the symbolic
links for two default template files, /etc/opt/ldapux/ug_templates/
ug_passwd_default.tmpl that points to /etc/opt/ldapux/ug_templates/
ug_passwd_std.tmpl and /etc/opt/ldapux/ug_templates/ug_group_default.tmpl
that points to /etc/opt/ldapux/ug_templates/ug_group_std.tmpl for a standard LDAP
directory server.
For detailed information on how to use the correct format to define template files, see
Section 9.3.5.6.3 (page 308).
9.3 LDAP user and group management tools 307