Page 1 of 1

Ldap Configuration

PostPosted:Tue Feb 13, 2018 11:05 am
by f_behshti
Hi all,
I have successfully installed openkm 6.3.2 and after change in ldap parameter of configuration view and OpenKM.cfg file i'm not able to login with ldap user so that i change OpenKM.cfg file to original file and after login with okmAdmin user I get a blank page in openkm apllicataion!
There is a way to solve it?
Capture.PNG
Capture.PNG (27.96 KiB) Viewed 3653 times

Re: Ldap Configuration

PostPosted:Thu Feb 15, 2018 6:47 pm
by jllort
The latest OpenKM version is the 6.3.4 I suggest if it's a clean installation go for it.

About ldap my suggestion is first go for administration parameters and at the end change OpenKM.xml
Always I suggest this section of the documentation for LDAP integration https://docs.openkm.com/kcenter/view/ok ... roles.html

Do you installed with mysql or embeded database ( to revert it, is necessary understanding what is your scenario ). The easies is clean entire repository and restart, you can do it changing OpenKM.cfg value for hibernate.hbdmll=create and restart OpenKM ( remember this action will reset all the previous installations, and any previously document etc... will be deleted ).

Re: Ldap Configuration

PostPosted:Thu Mar 08, 2018 7:50 pm
by afurtado
Were you able to get yours working? I am banging my head against the wall here trying to get my LDAP to work.

Re: Ldap Configuration

PostPosted:Sat Mar 10, 2018 10:16 am
by jllort
Hi afortunado.

You must go step by step. First try to configure OpenKM parameters from administration -> from there you should retrieve user and roles list from administration. When you success on it ( what is the most easiest step ) then you can go with authentication integration.

If you share with us your configuration parameter from administration view, we can do a quick check ( do not share the passwords ).

Re: Ldap Configuration

PostPosted:Thu May 28, 2020 4:15 pm
by ametcalfe
I am having a similar problem:
4 alex.metcalfe Alex Metcalfe alex.metcalfe@******* ROLE_ADMIN ROLE_AUTHOR ROLE_USER Default

openKM finds the users and their attributes via LDAP, but I am unable to login with LDAP.

This is a fresh install of 6.3.9 and only changes are the recommended ones to get LDAP working.

Are there any exta modules I need install, or something else not mentioned in the documentation?

Re: Ldap Configuration

PostPosted:Fri May 29, 2020 10:31 am
by ametcalfe
Ok. The solution was also to modify the Openkm.xml file, as well as make the changes in the front end. The changes that need to be made were not really documented properly at all, and raises the question why the same information needs to be given in multiple places.

Re: Ldap Configuration

PostPosted:Sat May 30, 2020 6:40 pm
by jllort
The reason is easy to explain. You must login to AD but at the same time, you need to list document and groups from your AD. These two action are totally separated and have not a direct relation between them. That's why you have in the documentation a section what talks about OpenKM.xml ( for login ) and Configuration parameters ( to retrieve users and role list ).

Login is done in real time, the users and roles lists are cached to do not overload the AD. The cached values are refreshed automatically each 30-40 minutes or you can reset from Administration > Tools > Cache stats