Help with LDAP Login
Hi, we are trying to configure against ldap, we use the following string to connect:
java.naming.provider.url="ldap://fm.xxxgrp.net:389/OU=User Accounts,OU=CBFM,OU=User Environment,DC=fm,DC=xxxgrp,DC=net"
This returns:
Failed to login user 'davieoa'. Cause: javax.naming.NamingException: Cannot parse url: Environment,DC=fm,DC=xxxgrp,DC=net" [Root exception is java.net.MalformedURLException: Invalid URI: Environment,DC=fm,DC=xxxgrp,DC=net"]
Assuming that was because there are spaces in the name we added the escape characters %20
java.naming.provider.url=ldap://fm.xxxgrp.net:389/OU=User%20Accounts,OU=CBFM,OU=User%20Environment,DC=fm,DC=xxxgrp,DC=net
However this fails to authenticate:
Failed to login user 'davieoa' due to authentication error. Cause: Invalid credentials ([LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece
Please could you help ?
Regards
Owen Davies
Please sign in to leave a comment.
Hi Owen
It should point to the server, without specific containers, so correct syntax would be
Containers can be limited by separate parameter:
Michael