* Prabu Uthirapathi <[EMAIL PROTECTED]> [050915 15:13]:
> For example: 
> I want to check whether the user belongs to particular group or not. Can 
> anyone explain me how to do this in Net::LDAP. 

Lookup, how are groups defined in AD and define a search accordingly.
I cannot be more specific, because I do not know, how groups are handled in AD. 
But as an example, lets assume it is some deviation of a "groupOfNames-Object".
You could do than a search for
"(&(objectclass=groupOfName)(cn=<groupname>)(member=<dn_of_the_user_you_want_to_check>))"
and check, if a entry gets returned.

-- 
Max-Born-Institut (MBI)/Max-Born-Straße 2A/12489 Berlin/Karsten Gorling
Telefon: ++49 30 6392 1341 / Telefax: ++49 30 6392 1309 
E-Mail: [EMAIL PROTECTED] or [EMAIL PROTECTED]
Instantmessenger: Jabber: [EMAIL PROTECTED] or ICQ: 95492828
PGP-Fingerprint:  4BEF 23EA 02AE BACA 9918  31FF 285B 0426 0E1A B2FC
----------------- > encrypted E-Mail preferred <------------------------

Reply via email to