thanks man. by watching your configuration, i have seen that i need to
use login_attribute instead of username_attribute. now im able to connect
using LDAP/domain credentials.
however, new problem arises: our organisation uses
name.surname@domain.local as usernames, and i now have a problem:
Try this one:
production:
disable_default: false
methods:
- adapter: Gitorious::Authentication::LDAPAuthentication
host:
port: 389
base_dn: DC=,DC=local
login_attribute: sAMAccountName
distinguished_name_template: {}@.local
encryption: none
test something like this:
production:
disable_default: false
methods:
- adapter: Gitorious::Authentication::LDAPAuthentication
host: server_ip
port: 389
base_dn: DC=programmerblog,DC=local
login_attribute: sAMAccountName