ZhangHuangbin wrote:Hi Pablo,
You should give us LDIF data of the mail user you want to query, not account "vmail".
Hello.
This one, for example:
dn: CN=BUHTEST1,OU=IT,OU=Accounts,OU=DOMAIN,DC=DOMAIN,DC=COM
changetype: add
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: BUHTEST1
description:: 0J/QvtC70YzQt9C+0LLQsNGC0LXQu9C4IC0gISEhIElUICEhIQ==
givenName: BUHTEST1
distinguishedName: CN=BUHTEST1,OU=IT,OU=Accounts,OU=DOMAIN,DC=DOMAIN,DC=COM
instanceType: 4
whenCreated: 20101025093329.0Z
whenChanged: 20110526092541.0Z
displayName: BUHTEST1
uSNCreated: 10020308
memberOf: CN=User_VPN_ACCESS,CN=Users,DC=DOMAIN,DC=COM
memberOf: CN=User_KONSULTANT,CN=Users,DC=DOMAIN,DC=COM
memberOf: CN=User_BUH,CN=Users,DC=DOMAIN,DC=COM
memberOf: CN=User_BAST,CN=Users,DC=DOMAIN,DC=COM
memberOf: CN=User_TSC,CN=Users,DC=DOMAIN,DC=COM
memberOf: CN=Print Operators,CN=Builtin,DC=DOMAIN,DC=COM
uSNChanged: 13637237
name: BUHTEST1
objectGUID:: eOWHegpGO0qM8wpZ5Z81KA==
userAccountControl: 66048
badPwdCount: 0
codePage: 0
countryCode: 0
badPasswordTime: 129508755321875575
lastLogoff: 0
lastLogon: 129508912959815769
pwdLastSet: 129325701077920197
primaryGroupID: 513
objectSid:: AQUAAAAAAAUVAAAAkuA8d01kSS5DFwoyMggAAA==
adminCount: 1
accountExpires: 9223372036854775807
logonCount: 714
sAMAccountName: BUHTEST1
sAMAccountType: 805306368
userPrincipalName: BUHTEST1@DOMAIN.COM
objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=DOMAIN,DC=COM
dSCorePropagationData: 20110121080451.0Z
dSCorePropagationData: 20110121080451.0Z
dSCorePropagationData: 20110121080451.0Z
dSCorePropagationData: 20101217084546.0Z
dSCorePropagationData: 16010108151056.0Z
lastLogonTimestamp: 129508755419528700