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"
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"
freeipa-devel@lists.fedorahosted.org