Hi all,
I’m using the following VBscript to find a user within Active Directory which works fine so long as the CN value doesn’t contain a character with an accent (French, German etc), in the example below I’ve used Léo Apotheker, unfortunately the letter é produces an ‘Object not found error’. Does anyone have any idea what is going on here? I suspect this is an LDAP AD problem but I'm not sure.
Many thanks
Steven
Set dso = GetObject("LDAP:")
Set objUser = dspenDSObject( _
"LDAP://APHRODITE/CN=LéoApotheker,OU=Staff,DC=Domain,DC=Com", _
"Domain\User", _
"password", _
ADS_SECURE_AUTHENTICATION + ADS_SERVER_BIND)
objUser.AllowLogon = Disabled
objUser.SetInfo
I’m using the following VBscript to find a user within Active Directory which works fine so long as the CN value doesn’t contain a character with an accent (French, German etc), in the example below I’ve used Léo Apotheker, unfortunately the letter é produces an ‘Object not found error’. Does anyone have any idea what is going on here? I suspect this is an LDAP AD problem but I'm not sure.
Many thanks
Steven
Set dso = GetObject("LDAP:")
Set objUser = dspenDSObject( _
"LDAP://APHRODITE/CN=LéoApotheker,OU=Staff,DC=Domain,DC=Com", _
"Domain\User", _
"password", _
ADS_SECURE_AUTHENTICATION + ADS_SERVER_BIND)
objUser.AllowLogon = Disabled
objUser.SetInfo