Jump to content

Topic on User talk:Amaury Palao/Flow

Connection with ldap doesn't work

1
Amaury Palao (talkcontribs)

Hello, I am trying to authentifie with a distant AD with LDAP. Whenever I try to connect I get : Could not authenticate credentials against domain "domain". I have check with the ldapseach command, and the account is right. This also prove that the account used to bind works.

This is my ldap.json

{

        "domain": {

                "connection": {

                        "server": "xxx.xxxx.xxx.xx",

                        "port": "389",

                        "user": "cn=Manager,dc=test",

                        "pass": "xxxxxxxxxxxxx",

                        "enctype": "clear",

                        "options": {

                                "LDAP_OPT_DEREF": 1

                        },

                        "basedn": "ou=People,dc=test,dc=ca",

                        "userbasedn": "ou=People,dc=test,dc=ca",

                        "groupbasedn": "ou=People,dc=test,dc=ca",

                        "searchstring":"uid=USER-NAME,dc=test,dc=ca",

                        "usernameattribute": "uid",

                        "realnameattribute": "cn",

                        "emailattribute": "mail"

                }

        }

}

Reply to "Connection with ldap doesn't work"