
Chapter 10. Three virtual servers 141
To verify the successful addition of a new user, use the command as Example 10-15 shows.
Example 10-15 Verifying successful addition of new user
# ldapsearch -x uid=<kylesm>
...
dn: uid=kylesm,ou=People,dc=example,dc=com
uid: kylesm
cn: kylesm
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
userPassword:: e2NyeXB0fSEh
shadowLastChange: 13302
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 500
gidNumber: 500
homeDirectory: /home/kylesm
...
You can also test the configuration by using SSH to access the server. When you do so, you
see a message stating that the user’ ...