Project

General

Profile

Redmine Ldap Sync

Added by Luis Serrano Aranda over 12 years ago

I have this configuration in Redmine LDAP

Name: LDAPRedmine
Host: 192.168.0.56
Port: 389
Account: LDAPRedmine
Password: **
Base DN: DC=mydomain,DC=com

Attributes
Login: sAMAccountName
First name: givenName
Last name: sn
Email: UserPrincipalName

And in the LDAP Sync configuration:

Active: Checked

Groups base DN: DC=mydomain,DC=com
Users objectclass: user
Groups objectclass: group
Group name pattern:
Group search filter:
Account disabled test:
Group membership: On the group class
Enable nested groups: Disabled

Attributes
Group name (group): sAMAccountName
Account flags (user): userAccountControl
Member users (group): member
Memberid (user): dn

Synchronization actions
Users must be members of:
Add users to group:
Create new groups:
Create new users:
Sync users attributes: checked
Attributes to be synced
First name: checked
Last name: checked
Email:

And when I execute sudo rake redmine:plugins:redmine_ldap_sync:sync_users RAILS_ENV=production

Redmine blocks all the users...

Cold you helpme.


Replies (8)

RE: Redmine Ldap Sync - Added by Luis Serrano Aranda over 12 years ago

Hi anyone can help me ?

RE: Redmine Ldap Sync - Added by antonio cosenza over 8 years ago

hi luis,

did you solved the problem?

we are having the same issue

thanks

RE: Redmine Ldap Sync - Added by david 25000 over 8 years ago

hello

you can try :

Group membership: On the user class
Nested groups : Membership on the parents class
Group name (group): samaccountname
Member users (group): memberof
Groupid (group) : distinguishedname
Member groups (group) : member
Memberid (group) : distinguishedname

rake redmine:plugins:ldap_sync:sync_all RAILS_ENV=production

@ +

RE: Redmine Ldap Sync - Added by david 25000 over 8 years ago

hello
i will find the solution :

this is command to use for synchronization operate :
rake redmine:plugins:ldap_sync:sync_all RAILS_ENV=production

if you have this problem again
change the Access right to your base rb
for my installation this folder :
chmod 777 /var/lib/gems/2.1.0/gems/rake-10.5.0/lib/rake

@ +

RE: Redmine Ldap Sync - Added by david 25000 over 8 years ago

re re hello
my user are all block ??? the problem is on again .. sorry
thank a lot

RE: Redmine Ldap Sync - Added by david 25000 over 8 years ago

hello
i will find the solution

in the redmine "plugin" "Synchronization" you must insert a group of existing in your ad but juste the name and not the occurence : OU:toto;dc:mydomain;dc:com

Users must be members of : toto

or if you want to activate all personn will be in your ad use this parameter :

Users must be members of : _GroupeRedmineNonAD

Add users to group : _GroupeRedmineNonAD

and your all users must be activates

@+

RE: Redmine Ldap Sync - Added by Svetly Minev almost 8 years ago

Hi,

how can I add more than one Group name pattern:
For example I want to add users from group A and group B , and to create group A and group B

    (1-8/8)