You shouldn't have any problem with specifying either sAMAccountName or flags 
attributes in the search string.   

The flags attribute is a little obscure.  It seems to be used set for Group Policies.  
Why did you want to use this as part of your search string? 

Some other attributes have binary values and are not suitable as part of the search 
string, e.g. userParameters. 

What ldap client are you using to query the directory?  You might want to consider 
ldp.exe as an alternative.   

Tony 

-----Original Message-----
From: pio eqbal [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 9. Juli 2002 21:25
To: [EMAIL PROTECTED]
Subject: [ActiveDir] Querying active directory


Hi,

While building the LDAP query string in active
directory if I select the attributes like
sAMAccountName or flags the query gives an
'unspecified error' during execution. Is there a
limitation on which attributes I can select or not
select in an LDAP query?

Thanks


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to