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"