Hi Frederico,

There is a script in script/test-ldap-connection which helps you test
your config, try that to iron out the quirks? We are very close to
releasing Gitorious 3, which comes with a small web app to help you with
the correct LDAP configuration as well.

Christian

Federico Don writes:

> Hi,
>
> I have installed Gitorious v2.3.2 with Active Directory and it is working
> good.
>
> This is my setup:
>
> # cat config/authentication.yml
>
> production:
>   disable_default: false
>   methods:
>     - adapter: Gitorious::Authentication::LDAPAuthentication
>       host: 192.168.1.X
>       port: 389
>       base_dn: DC=company,DC=com
>       bind_username: ldapbind
>       bind_password: passwordbind
>       user_filter:
>       username_attribute: sAMAccountName
>       encryption: none
>       login_attribute: uid
>       distinguished_name_template: "uid={},OU=allusers,DC=company,DC=com"
>       attribute_mapping:
>       mail: email
>
> Now, I have downloaded the virtual machine with the last version from
> getgitorious.com and i try setup Active Directory...but i can not do it
> that is working...this is my setup:
>
> production:
>   disable_default: false
>   enable_openid: false
>   methods:
>     - adapter: Gitorious::Authentication::LDAPAuthentication
>       host:  192.168.1.X
>       port: 389
>       base_dn: DC=company,DC=com
>       group_search_dn: OU=groups,DC=company,DC=com
>       distinguished_name_template: "{}@company.com"
>       attribute_mapping:
>         displayName: fullname
>         mail: email
>       encryption: none
>       bind_user:
>         username: [email protected]
>         password: passwordbind
>       user_filter:
>         username_attribute: sAMAccountName
>
> could you please help me ??
>
> Thanks in advance!
>
> --

-- 
-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to