1 # Example directory entries. 2 # 3 # To change a schema, a command resembling the following can be used: 4 # 5 # ldapmodify -D 'cn=Directory Manager' -W -f example_posixAccount.ldif 6 7 # See: RFC 2307 (posixAccount, uidNumber, gidNumber, homeDirectory) 8 9 # People: 10 11 dn: uid=paulb,ou=People,dc=example,dc=com 12 changetype: modify 13 add: objectClass 14 objectClass: posixAccount 15 - 16 add: uidNumber 17 uidNumber: 1000 18 - 19 add: gidNumber 20 gidNumber: 1000 21 - 22 add: homeDirectory 23 homeDirectory: /home/paulb 24 25 dn: uid=vole,ou=People,dc=example,dc=com 26 changetype: modify 27 add: objectClass 28 objectClass: posixAccount 29 - 30 add: uidNumber 31 uidNumber: 1001 32 - 33 add: gidNumber 34 gidNumber: 1001 35 - 36 add: homeDirectory 37 homeDirectory: /home/vole