LDAP query for grp membership by logon name

G

Guest

Have apache
Using mod_authz_ldap

We can authenticate by user distinguished name and establish group
membership via user distinguished name (i.e., first last) but we need to test
for group membership via SAMaccount name and test for group membership that
way


#
# mod_authz_ldap can be used to implement access control and
# authenticate users against an LDAP database.
#

The current authz_conf file follows:

LoadModule authz_ldap_module modules/mod_authz_ldap.so

<IfModule mod_authz_ldap.c>

<Directory /var/www/html/martin>
AuthzLDAPMethod ldapmapped
AuthzLDAPServer swansboro.lib.unc.edu
AuthzLDAPUserBase cn=users,dc=lib,dc=unc,dc=edu
AuthzLDAPUserKey cn
AuthzLDAPUserScope base
AuthzLDAPGroupBase cn=users,dc=lib,dc=unc,dc=edu
AuthzLDAPGroupKey cn
AuthzLDAPSetGroupAuth ldapdn
AuthzLDAPGroupScope base
#
AuthType basic
AuthName "(e-mail address removed)"
require group Systems

Ideas regarding what we should try?

Thanks,

kevinL
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top