I need my ldap bind to check whether a user is member
of a group, but the user isn't exclusively from that
group.
So for example, I have the user "jbrown" and the ldap
connection string:
$r=ldap_bind($ds, "uid=$uid,
ou=people,dc=mycompany,dc=mydomain,dc=dom", $passw);

That works fine. But I need to check whether jbrown is
part of the group "admins" (Cn=admins). 
In apache the authldap connects has the feature to
check groups:
AuthLDAPURL
ldap://myserver/ou=people,dc=mycompany,dc=mydomain,dc=dom
require group
cn=admins,ou=people,dc=mycompany,dc=mydomain,dc=dom


How can I do the same with a php script?

thanks, 

Jay

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to