LDAP group sync is not working for 389 ds LDAP server

Added by Varadharajan Sundaram over 4 years ago

In Myenvironment we are using 389 ds as a LDAP server and we are planning to use redmine in ubuntu linux.Redmine is installed in ubuntu 12.04LTS and LDAP Authentication is also working fine.we are planning to control users by our LDAP server(389 ds) and cas auth.my first problem is LDAP group sync is not working.even i veriifed Faqs and others, only help is availble related to Windows AD only and there is no clear help for "ldap group sync", for other LDAP servers such as 389 ds.I have enclosed my error as a screenshot and log file also.We are struggling for the past one month and didn't get any help.please provide me a suggestion for my request,

My Details,

Environment:
Redmine version 2.3.1.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.13
Environment production
Database adapter MySQL
Redmine plugins:
redmine_cas 1.0.0
redmine_ldap_sync 2.0.1.devel.g7566486332
root@xabc:/usr/share/redmine#

Error:
Cannot enable synchronization with invalid settings. Please revise the configuration.

Regards,
Varad

Screenshot from 2013-07-18 12_34_34.png - LDAP settings (137 KB)

Screenshot from 2013-07-18 12_29_11.png - error (156 KB)

Screenshot from 2013-07-18 12_27_45.png - sync settings (145 KB)

Screenshot from 2013-07-18 12_27_30.png - group settings (148 KB)

redmine_error.log - log file for ref (14.2 KB)

Replies (2)

RE: LDAP group sync is not working for 389 ds LDAP server - Added by Varadharajan Sundaram about 4 years ago

Hi,

Can anyone help me on this ?

Regards,
Varad

RE: LDAP group sync is not working for 389 ds LDAP server - Added by Ricardo S almost 4 years ago

Varad,

You should use the plugins github to post plugin issues.
I don't come here very often.

On Screenshot from 2013-07-18 12_27_45.png you have dynamic groups enabled, that requires you specify some cache time.
You should either disable dynamic groups or provide some time.

No, the problem is with the javascript.
On Screenshot from 2013-07-18 12_29_11.png the groups and groupid should be visible.
They're not because the plugin's javascript is not executing.

Try:
  1. running `rake redmine:plugins:assets` to sincronize the static files with the public directory.
  2. Referring to this issue for help on configuring a sub-uri: http://www.redmine.org/issues/12102

Regards

(1-2/2)