2017-01-22 23:54:45 +07:00
|
|
|
dn: ou=groups,dc=example,dc=com
|
|
|
|
objectclass: organizationalUnit
|
|
|
|
objectclass: top
|
|
|
|
ou: groups
|
|
|
|
|
|
|
|
dn: ou=users,dc=example,dc=com
|
|
|
|
objectclass: organizationalUnit
|
|
|
|
objectclass: top
|
|
|
|
ou: users
|
|
|
|
|
|
|
|
dn: cn=user,ou=groups,dc=example,dc=com
|
|
|
|
cn: user
|
|
|
|
gidnumber: 502
|
|
|
|
objectclass: posixGroup
|
|
|
|
objectclass: top
|
|
|
|
|
|
|
|
dn: cn=user,ou=users,dc=example,dc=com
|
|
|
|
cn: user
|
|
|
|
gidnumber: 500
|
|
|
|
givenname: user
|
|
|
|
homedirectory: /home/user1
|
|
|
|
loginshell: /bin/sh
|
|
|
|
objectclass: inetOrgPerson
|
|
|
|
objectclass: posixAccount
|
|
|
|
objectclass: top
|
|
|
|
mail: user@example.com
|
|
|
|
sn: User
|
|
|
|
uid: user
|
|
|
|
uidnumber: 1000
|
|
|
|
userpassword: {SHA}W6ph5Mm5Pz8GgiULbPgzG37mj9g=
|
|
|
|
|
2017-03-16 07:25:55 +07:00
|
|
|
dn: uid=useruid,ou=users,dc=example,dc=com
|
|
|
|
cn: useruid
|
|
|
|
gidnumber: 500
|
|
|
|
givenname: user
|
|
|
|
homedirectory: /home/user1
|
|
|
|
loginshell: /bin/sh
|
|
|
|
objectclass: inetOrgPerson
|
|
|
|
objectclass: posixAccount
|
|
|
|
objectclass: top
|
|
|
|
mail: useruid@example.com
|
|
|
|
sn: User
|
|
|
|
uid: useruid
|
|
|
|
uidnumber: 1001
|
|
|
|
userpassword: {SHA}W6ph5Mm5Pz8GgiULbPgzG37mj9g=
|
|
|
|
|