Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.

LDAP ActiveDirectory

Jay2k1 edited this page Mar 17, 2015 · 5 revisions

LDAP for Active Directory

Active Directory 2012

Here is an example config for Active Directory 2012. You will need to have created a user that RatticDB can bind as to query the directory. You should also create a staff group and modify that setting to include the relevant users.

# LDAP Settings
uri = ldap://windows01
binddn = rattic@win.int.tildaslash.com
bindpw = R4tticP4ss
userbase = cn=users,dc=win,dc=int,dc=tildaslash,dc=com
userfilter = (sAMAccountName=%(user)s)
groupbase = cn=users,dc=win,dc=int,dc=tildaslash,dc=com
groupfilter = (objectClass=group)
grouptype = ActiveDirectoryGroupType
staff = CN=Staff,CN=Users,DC=win,DC=int,DC=tildaslash,DC=com
requirecert = False,