RE: Search Filter in Active Directory

"Giuoco, Aaron" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.ldap
Message-ID <3693325E890A7F4DAF74F8A8259C9BDC49A490@postoffice.corpnet.singlebuoy.com>
Well, I see 2 problems.

1. I think that the property you are looking for is objectGUID, not
GUID.

2. The objectGUID property is a binary blob, not a string.

AG

> -----Original Message-----
> From: Ambuj [mailto:[email protected]] 
> Sent: Monday, December 15, 2008 6:27 AM
> To: [email protected]
> Subject: Search Filter in Active Directory
> 
> Hi ,
> 
>  Can any body suggest me the search filter based on the 
> ADGUID to update fields in active directory
> 
>  I am using
> search.Filter = String.Format(CultureInfo.InvariantCulture, 
> "(&(GUID= {0})(objectClass=person))", a);
> 
>  where a is the variable which contains the value of ADGUID
> 
>        Please reply ASAP,it's urgent
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.