Archiv der Kategorie: Active Directory

Apache Directory access with Active Directory authentication

<Directory /var/www/directoy>
# Using this to bind
AuthLDAPBindDN “CN=directory_admin,cn=Users,DC=domain,DC=com”
AuthLDAPBindPassword “some_password”
AuthLDAPURL “ldap://192.168.1.1/cn=Users,dc=domain,dc=com?sAMAccountName?sub?(objectClass=*)”
AuthType Basic
AuthName “Use your windows account”
AuthBasicProvider ldap
AuthUserFile /dev/null
Require ldap-user user1 user2 user3
Require ldap-group CN=Admins,OU=Groups,OU=domain,DC=com
require valid-user
</Directory>

Subversion Authentication Active Directory

# Domain LDAP DSEE7
<AuthnProviderAlias ldap dsee-domain>
AuthLDAPURL “ldap://ldap1.domain.org ldap2.domain.org/ou=People,o=AD-Group?uid”
</AuthnProviderAlias>

# Domain AD
<AuthnProviderAlias ldap ad-domain>
AuthLDAPBindDN “CN=adminuser,cn=Users,DC=domain,DC=com”
AuthLDAPBindPassword “somepassword”
AuthLDAPURL “ldap://ad.domain.com/cn=Users,dc=domain,dc=com?sAMAccountName?sub?(objectClass=*)”
</AuthnProviderAlias>