Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Problem LDAP : Login if user is member of a group

Hi,

I have a problem, I don't arrive to config login with LDAP.

CONEX_LDAP_SERVEUR : domain.org

CONEX_ROOT_DN : CN=Bind_OCS,OU=Account_Service,DC=ciril,DC,lan

CONEX_ROOT_PW : password_bind_ocs

CONEX_LDAP_PORT : 389

CONEX_DN_BASE_LDAP : DC=domain,DC=lan

CONEX_LOGIN_FIELD : mailNickname

CONEX_LDAP_PROTOCOL_VERSION : 3

CONEX_LDAP_CHECK_FIELD1_NAME : memberOf

CONEX_LDAP_CHECK_FIELD1_VALUE : ocs_groupe

CONEX_LDAP_CHECK_FIELD1_ROLE : super admin

....
.... (default)

I just try to login users if member of groupe ocs_group.

NB : Sorry for my poor english

Please help me

Regard
in Administrative console by (120 points)

1 Answer

0 votes
I had this problem, too, but I also found a work-around...

You have to fill in the fields CONEX_LDAP_CHECK_FIELD2_NAME, CONEX_LDAP_CHECK_FIELD2_VALUE and CONEX_LDAP_CHECK_FIELD2_ROLE with the same values of CONEX_LDAP_CHECK_FIELD1_NAME, CONEX_LDAP_CHECK_FIELD1_VALUE and CONEX_LDAP_CHECK_FIELD1_ROLE respectively.

This way you can connect with your LDAP user, at least (provided that the remaining infos are correct, of course).

As soon as my GitHub account is activated, I'm going to file this bug (https://github.com/OCSInventory-NG/OCSInventory-Server/issues)... hoping it will get fixed soon

UPDATE - bug opened: https://github.com/OCSInventory-NG/OCSInventory-Server/issues/80
by (260 points)
edited by
 
Powered by Question2Answer
...