Skip to content

Instantly share code, notes, and snippets.

@mbreese
Last active December 11, 2015 17:28
Show Gist options
  • Save mbreese/4634262 to your computer and use it in GitHub Desktop.
Save mbreese/4634262 to your computer and use it in GitHub Desktop.
gitorious ldap config for connecting to Active Directory
production:
disable_default: true
methods:
- adapter: Gitorious::Authentication::LDAPAuthentication
server: 10.1.?.?
port: 389
base_dn: DC=domain,DC=org
# bind_username: binduser
# bind_password: binduserpass
user_filter:
encryption: none
login_attribute: sAMAccountName
distinguished_name_template: "{}@domain.org"
@mbreese
Copy link
Author

mbreese commented Jan 25, 2013

You don't need the bind user/pass because it will use the user's login credentials to bind to the Active Directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment