Last updated
Hi Community:
I migrated a couple of git repositories into a new server, and enforced the repository access through LDAP. At the LDAP server, we have two OU's, one which is in US and other which is located overseas. US users are able to login and access to their repositories, but for overseas users can't.
Is there a way to grant those users access through LDAP by using Apache? here is an snippet of my Apache(2.2) LDAP settings:
[CODE]
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
AuthLDAPURL "ldap://sv1.ip sv2.ip/OU=US,DC=example,DC=com?sAMAccountName?sub?(objectClass=*)" "NONE"
AuthLDAPBindDN "CN=svldap,CN=Users,DC=example,DC=com"
AuthLDAPBindPassword test$
AuthLDAPURL "ldap://sv1.ip sv2.ip/OU=OverSeas,DC=example,DC=com?sAMAccountName?sub?(objectClass=*)" "NONE"
AuthLDAPBindDN "CN=svldap,CN=Users,DC=example,DC=com"
AuthLDAPBindPassword test$
[/CODE]
Thanks