[gitorious] LDAP and Group Creation

2013-08-09 Thread Luke
Hi,

I have successfully installed Community Edition v2.4.12 following this post 
http://getgitorious.com/installer (Great video). And I was able to get LDAP 
authen-
tication working 
as well.

My issue is that when I create a team I see the standard New Team form with 
name/description boxes, I gather from other posts that this is incorrect? 
Am missing something?

My authentication doc is:

production:
 disable_default: false
 methods:
  - adapter: Gitorious::Authentication::LDAPAuthentication
host: server.global.company.net
port: 636
encryption: simple_tls
base_dn: DC=global,DC=company,DC=net
bind_username: join-domain-user
bind_password: XXXxX
login_attribute: sAMAccountName
group_search_dn: OU=Groups,OU=AMER,DC=global,DC=company,DC=net
distinguished_name_template: "{}@global.company.net"
membership_attribute_name: memberof
members_attribute_name: member

With "use_ldap_for_authorization: true" added to gitorious.yml.

After any edits to the authentication.yml I restart Unicorn with:
/etc/init.d/gitorious-unicorn restart

I wonder is there some other service that needs to be restarted to get the 
updated new teams page?

Any help would be appreciated.

-- 
-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

--- 
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 gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [gitorious] LDAP and Group Creation

2013-08-13 Thread Marius MÃ¥rnes Mathiesen
Luke writes:

> Hi,
>
> I have successfully installed Community Edition v2.4.12 following this post
> http://getgitorious.com/installer (Great video). And I was able to get LDAP 
> authen-
> tication working
> as well.
>
> My issue is that when I create a team I see the standard New Team form with
> name/description boxes, I gather from other posts that this is incorrect?
> Am missing something?
>
> My authentication doc is:
>
> production:
>  disable_default: false
>  methods:
>   - adapter: Gitorious::Authentication::LDAPAuthentication
> host: server.global.company.net
> port: 636
> encryption: simple_tls
> base_dn: DC=global,DC=company,DC=net
> bind_username: join-domain-user
> bind_password: XXXxX
> login_attribute: sAMAccountName
> group_search_dn: OU=Groups,OU=AMER,DC=global,DC=company,DC=net
> distinguished_name_template: "{}@global.company.net"
> membership_attribute_name: memberof
> members_attribute_name: member
>
> With "use_ldap_for_authorization: true" added to gitorious.yml.
This seems to be the problem, the correct line would be:

use_ldap_authorization: true

After doing so, restart unicorn again and you should be fine.

Cheers,
- Marius

-- 
-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

--- 
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 gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.