Windows

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Characters with Accents and LDAP search

    0 answers - 1404 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi all,
    I'm using the following script to find a user which works fine so long as the CN value doesn't contain a character with an accent, in the example below I've used L Apotheker, unfortunately the letter produces an ' not found error'. Does anyone have any idea what is going on here? Is the problem with VBScript or AD?
    Many thanks
    Steven
    Set dso = G("LDAP:")
    Set objUser = DS( _
    "LDAP://APHRDITE/CN=L Apotheker,U=Staff,DC=Domain,DC=Com", _
    "Domain\User", _
    "password", _
    ADS_SECURE_AUTHENTICATIN + ADS_SERVER_BIND)
    objUser.AllowLogon = Disabled
    objUser.SetInfo
    This email is from Sixth Form College, but expresses the views
    of the sender and not necessarily the views of the college. The email
    and any files transmitted with it are confidential to the intended
    recipient at the e-mail address to which it has been addressed. It may
    not be disclosed or used by any other than that addressee, nor may it
    be copied in any way. If received in error, please notify
    Postmaster (AT) osfc (DOT) ac.uk quoting the name of the sender.
    This message has been scanned for viruses by F-Secure Anti-Virus.
    Please note that we cannot accept any responsibility for any
    transmitted viruses. It is, therefore, your responsibility to scan
    attachments (if any).

Re: Characters with Accents and LDAP search


max 4000 letters.
Your nickname that display:
In order to stop the spam: 3 + 2 =
QUESTION ON "Windows"

EMSDN.COM