I am a new comer to ldap and I must auth customers through mod_ldap on Apache 2. with an Active Directory server.

Basically make use of the following configuration, I am in a position to auth customers that are within the "Service Accounts"


        AuthType Fundamental

        AuthName "LDAP Auth"

        AuthBasicAuthoritative off

        AuthBasicProvider ldap

        AuthzLDAPAuthoritative off

        AuthLDAPURL ldap://ad-srv-01:3268/Electricity=network,Electricity=internal?sAMAccountName?sub?(objectClass=user)

        Require valid-user

        AuthLDAPBindDN "CN=MyAdminAccount,OU=Service Accounts,Electricity=network,Electricity=internal"

        AuthLDAPBindPassword MyPass

Let me restrict use of customers inside a specific group that is situated, around the AD server tree, in :

-network.internal ES Barcelona groups Barcelona (this is actually the group Let me search for customers auth)

Any help could be very welcome !!

Thanks !