The search filter shown below would not be the cause of any issues
associated with an X.500 address.  We probably need to see more of the
code.  The attribute "mail" is single-valued, so the X500 address is
stored in the "proxyAddresses" attribute.  

Once the displayName attribute is returned from the search what happens
next?  What follows is more likely to be where the issue lies, as you
say that the web application then looks up "other information".  Does
this include "proxyAddresses"?

Tony

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Benway
Sent: Wednesday, 31 May 2006 6:59 a.m.
To: [email protected]
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


This communication, including any attachments, is confidential. If you are not 
the intended recipient, you should not read it - please contact me immediately, 
destroy it, and do not copy or use any part of this communication or disclose 
anything about it. Thank you. Please note that this communication does not 
designate an information system for the purposes of the Electronic Transactions 
Act 2002.

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

Reply via email to