Closed lravelo closed 1 year ago
I encountered this problem too, but found out it's not a bug in Xen Orchestra. The service account was simply locked. I hadn't realized that my browser had filled the password field automatically, with the wrong password of course. After a few tests the service account became locked.
It would be a nice improvement to have XO display a clearer message when it can't bind with the LDAP service account.
We have a test CLI for this. Closing.
Context
Expected behavior
I am expecting that after supplying my AD domain controller as an URI, a bind user with read access to entire domain, base at the root of the domain (i.e., dc=domain,dc=net), and filter as (sAMAccountName={{name}}) that supplying some test credentials would work.
Current behavior
When supplying test credentials, I get a popup saying the following:
Code: -32000 Message: unknown error from the peer
Checking the logs provides this message:
80090308: LdapErr: DSID-0C090400, comment: AcceptSecurityContext error, data 52e, v1db1
Here are the details of the log:
I've triple checked to make sure that the credentials I'm using are correct. The only thing I can think of is that the bind user has to have permissions that exceed "read" but I am not sure.