imip-agent

Annotated conf/ldap/example_posixAccount.ldif

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