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:ambujn...@gmail.com] 
> Sent: Monday, December 15, 2008 6:27 AM
> To: perl-ldap@perl.org
> 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
> 
> 

Reply via email to