views:

11

answers:

0

Hi !

I'm new to ldap and I have to auth users through mod_ldap on Apache 2.0 via an Active Directory server.

If I use the following configuration, I'm able to auth users which are in the "Service Accounts"

        AuthType Basic
        AuthName "LDAP Auth"
        AuthBasicAuthoritative off
        AuthBasicProvider ldap
        AuthzLDAPAuthoritative off
        AuthLDAPURL ldap://ad-srv-01:3268/DC=network,DC=internal?sAMAccountName?sub?(objectClass=user)
        Require valid-user
        AuthLDAPBindDN "CN=MyAdminAccount,OU=Service Accounts,DC=network,DC=internal"
        AuthLDAPBindPassword MyPass

I'd like to restrict access to users in a specific group which is located, on the AD server tree, in :

-network.internal ES Barcelona groups Barcelona (this is the group I'd like to browse for users auth)

Any help would be very welcome !!

Thanks !