Please check the Directory Server's access log
(/var/log/dirsrv/slapd-YOUR_INSTANCE_NAME/access). It will tell you why
the bind is failing. Either the DN does not exist, or the password is
wrong, etc.
HTH,
Mark
On 12/30/24 9:17 AM, Petr Kloza via FreeIPA-devel wrote:
Hello, I would like to test the syntax of my script if it is correct. Other servers, that I tried,
responds with "Invalid syntax of dn...". The only FreeIpa responds "Invalid username
or password" as expected for bad password. But the response is the same for a correct
password. What is wrong with my credentials? Do you still provide any testing accounts?
$user = "uid=employee,cn=users,cn=accounts,dc=demo1,dc=freeipa,dc=org"
$pass = "Secret123";
$domain = "LDAP://ipa.demo1.freeipa.org:389/dc=demo1,dc=freeipa,dc=org"
--
Identity Management Development Team
--
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue