Hi
I'm a confuse with the LDAP integration in glitorious. I'd change
authentication.yml file and when i run the test script, everything works
has expected, but i don't understand the process after this, cause if I go
to the page, it keeps asking me for an email address, there is something to
change in the admin web interface or in a config file to allow users from
ldap to authenticate in the web page ?
My authentication.yml file
production:
disable_default: false
methods:
- adapter: Gitorious::Authentication::LDAPAuthentication
host: 172.18.7.10
port: 389
base_dn: DC=THEDOMAIN,DC=ca
bind_username: "[email protected]"
bind_password: THEPASSWD
user_filter:
username_attribute: sAMAccountName
encryption: none
login_attribute: uid
distinguished_name_template: "{}@THEDOMAIN.ca"
attribute_mapping:
givenName: fullname
mail: email
The test result:
# RAILS_ENV=production bundle exec script/test_ldap_connection mflopez
THEPASSWD
All good, your credentials are correct
Thanks
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]