Subject: RE: LDAP and Active Directory Authentication
I have done this a number of times using different filters and everytime I get the right record returned, I have tried again searching with samaccountname and it works
C:\Program Files\lotus\notes>ldapsearch.exe -h xx.xx.xx.xx -p 389 -D "CN=Srvc_t
est_NotesDS,OU=WBT Users,OU=Engineering Test,OU=Business Technology Services,OU=
Accounts,DC=btfin,DC=com" -w “xxxxxxxx” -b "OU=WBT Users,OU=Engineering Test,O
U=Business Technology Services,OU=Accounts,DC=btfin,DC=com" (samaccountname=nico
la)
CN=Nicol, Andrew,OU=WBT Users,OU=Engineering Test,OU=Business Technology Servic
es,OU=Accounts,DC=btfin,DC=com
objectClass=top
objectClass=person
objectClass=organizationalPerson
objectClass=user
cn=Nicol, Andrew
sn=Nicol
description=Test account for LDAP Notes with Westpac
givenName=Andrew
distinguishedName=CN=Nicol, Andrew,OU=WBT Users,OU=Engineering Test,OU=Business
Technology Services,OU=Accounts,DC=btfin,DC=com
instanceType=4
whenCreated=20061006043114.0Z
whenChanged=20061012043614.0Z
displayName=Nicol, Andrew
uSNCreated=113543504
uSNChanged=115098468
homeMTA=CN=Microsoft MTA,CN=AUPOZA408,CN=Servers,CN=BTAL,CN=Administrative Group
s,CN=BT Financial Group,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=bt
fin,DC=com
proxyAddresses=X400:c=US;a= Telemail;p=BankersTrust;o=BTAL;s=Nicol2;g=Andrew;
proxyAddresses=SMTP:Andrew.Nicol@BTFinancialgroup.com
proxyAddresses=NOTES:Andrew Nicol/BTFG@BTFG
homeMDB=CN=408 SG1 Mailbox Store1,CN=Aupoza408 SG1,CN=InformationStore,CN=AUPOZA
408,CN=Servers,CN=BTAL,CN=Administrative Groups,CN=BT Financial Group,CN=Microso
ft Exchange,CN=Services,CN=Configuration,DC=btfin,DC=com
mDBUseDefaults=TRUE
extensionAttribute5=nicola
mailNickname=nicolaa
name=Nicol, Andrew
objectGUID=NOT ASCII
userAccountControl=512
badPwdCount=0
codePage=0
countryCode=0
badPasswordTime=128051008737575237
lastLogoff=0
lastLogon=128051021215210691
pwdLastSet=128049162050753269
primaryGroupID=513
objectSid=NOT ASCII
accountExpires=9223372036854775807
logonCount=0
sAMAccountName=nicola
sAMAccountType=805306368
showInAddressBook=CN=Default Global Address List,CN=All Global Address Lists,CN=
Address Lists Container,CN=BT Financial Group,CN=Microsoft Exchange,CN=Services,
CN=Configuration,DC=btfin,DC=com
showInAddressBook=CN=All Users,CN=All Address Lists,CN=Address Lists Container,C
N=BT Financial Group,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=btfin
,DC=com
legacyExchangeDN=/O=BankersTrust/OU=BTAL/cn=Recipients/cn=nicola
userPrincipalName=nicola@btfin.com
objectCategory=CN=Person,CN=Schema,CN=Configuration,DC=btfin,DC=com
lastLogonTimestamp=128050854011803143
textEncodedORAddress=c=US;a= Telemail;p=BankersTrust;o=BTAL;s=Nicol2;g=Andrew;
mail=Andrew.Nicol@BTFinancialgroup.com
msExchHomeServerName=/O=BankersTrust/OU=BTAL/cn=Configuration/cn=Servers/cn=AUPO
ZA408
msExchALObjectVersion=49
msExchMailboxSecurityDescriptor=NOT ASCII
msExchUserAccountControl=0
msExchMailboxGuid=NOT ASCII
msExchPoliciesIncluded={519F6D82-C3AE-4CE9-91EA-72F215BB7761},{3B6813EC-CE89-42B
A-9442-D87D4AA30DBC}
msExchPoliciesIncluded={C9F0AC83-CDE3-46FE-B050-D13BDA1B954C},{26491CFC-9E50-485
7-861B-0CB8DF22B5D7}