oravirt / ansible-oracle-modules

Oracle modules for Ansible
MIT License
214 stars 160 forks source link

ldapuser : FAILED! => {"changed": false, "msg": "No users found in LDAP"} #106

Closed luismanuu closed 5 years ago

luismanuu commented 5 years ago

Hello, Could you please help me, Im stuck at this. I don't know why its not returning all users.

If I do this ldapsearch, it works and I can retrieve all users: ldapsearch -x -D "uid=user,ou=People,dc=domain,dc=com" -w password -h Ldap.domain.com -b "ou=People,dc=domain,dc=com" -s sub "(objectClass=person)"

But in the playbook its throwing me FAILED! => {"changed": false, "msg": "No users found in LDAP"}

This is my playbook:

Can it be something related to the uid=user,ou=People,dc=domain,dc=com authorization?

Thanks in advance!

luismanuu commented 5 years ago

Resolved: Redhat Directory Services doesnt have attribute memberOf by default. It needs a plugin installed.