I assume you mean an X.400 address? I would guess that the translation between PseudoSQL and LDAP doesn't properly escape the literal strings. Try using the LDAP escaping rules on the X.400 email address, e.g. instead of 'g=john,s=smith,o=foo,prmd=bar' etc., try 'g\3djohn\3bs\3dsmith\3b' etc... where \3d represents the '=' and \3b represents the ';'. Just a guess... -gil
________________________________ From: [EMAIL PROTECTED] on behalf of Jason Benway Sent: Tue 5/30/2006 11:58 AM To: ActiveDir@mail.activedir.org Subject: [ActiveDir] Query for user AD info from web application Our internet web application use AD to pull user information. They start with the users email address and then look up other information. We've notice today that if a user has a X500 address our query doesn't work. Here's what the web developer sent me SELECT displayName FROM 'GC://DOMAIN.COM' WHERE objectCategory='organizationalPerson' AND ((mail = '[EMAIL PROTECTED]')) I don't know why a X500 address would mess this up, ideas? Thanks,jb -------------------------- Jason Benway Network Services Manager [EMAIL PROTECTED] GHSP 1250 S.Beechtree Grand Haven, MI 49417 616-847-8474 Fax: 616-850-1208 List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ml/threads.aspx
<<winmail.dat>>