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
distinguished_name_template: "{}programmerblog.local"
encryption: none
bind_username: ldap_reader_user
bind_password: password
El miércoles, 26 de diciembre de 2012 11:03:47 UTC+1, nikoladsp escribió:
>
> hi,
> i am testing gitorious as a local service at my company. currently i'm
> having problems with AD integration. i tried several configurations by
> reading various posts but with no luck. when using:
>
> env RAILS_ENV=production script/test_ldap_connection
> <my_domain_username> <my_domain_pwd>
> it says:
> All good, your credentials are correct
> which is afaik good :)
>
> but when trying logging using web interface, it fails. i have no idea what
> is going on.
> my authentication.yml is as folows:
>
> production:
> disable_default: false
>
> methods:
> - adapter: Gitorious::Authentication::LDAPAuthentication
> host: <DC IP>
> base_dn: OU=Users,OU=TDMS,DC=test,DC=local
> distinguished_name_template: "{}@test.local"
> attribute_mapping:
> mail: email
> encryption: none
> user_filter:
> username_attribute: sAMAccountName
> login_atribute: uid
> cache_expiry: 60
>
> thanks in advance
>
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]