An example to find the homeDirectory, profilePath, and lastLogon attributes for a user's NEXUS account. (Replace the username '
' with your own NEXUS username and XXXXX, below, for the sAMAccountName attribute to the username you wish to query.)
# extended LDIF
#
# LDAPv3
# base <dc=nexus,dc=uwaterloo,dc=ca> with scope subtree
# filter: sAMAccountName=XXXXX
# requesting: dn homeDirectory profilePath lastLogon
#
# X XXXX (XXXXX), Users, Computer Science, Math, Academic, People, NEXUS.UWATERLOO.CA
dn: CN=X XXXX (XXXXX),OU=Users,OU=Computer Science,OU=Math,OU=Academic,OU=People,DC=NEXUS,DC=UWATERLOO,DC=CA
homeDirectory: \\smb-nexus.student.cs.uwaterloo.ca\XXXXX
lastLogon: 131015071694037164
profilePath: \\smb-nexus.student.cs.uwaterloo.ca\XXXXX\windows2000
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1