LDAP-UX Client Services B.05.00 Administrator's Guide
7.3.5.6.2 Default template files
The LDAP-UX Integration product provides two default template files for a standard directory
server for a passwd and group service entry.
Default template files for a standard directory server
Below is a default template file for the passwd name service:
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}
Below 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
Below 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
Below 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
7.3 LDAP user and group management tools 243