Hi Alex,
               Error code 49 is wrong username / password.

Can you bind from the command line ok with the DN and password below using 
ldapsearch or similar?

Should it be ou=Users in the DN instead of cn=Users?  The xxx in cn=xxx should 
be your username not your domain name.

Lastly, you’re binding insecurely and sending passwords in plain text.  Does 
your ldap server support that?
You should really be using startTLS or LDAPS if sending passwords about.


Cheers,
                Duncan

From: cas-user@apereo.org [mailto:cas-user@apereo.org] On Behalf Of alex
Sent: 28 May 2018 08:37
To: CAS Community <cas-user@apereo.org>
Subject: [cas-user] CAS Overlay LDAP error code 49

cas.authn.ldap[0].type=AUTHENTICATED
cas.authn.ldap[0].ldapUrl=ldap://ldap.staff.tigerbrokers.com:389
cas.authn.ldap[0].useSsl=false
cas.authn.ldap[0].baseDn=dc=staff,dc=tigerbrokers,dc=com
cas.authn.ldap[0].searchFilter=sAMAccountName={user}
cas.authn.ldap[0].bindDn=cn=xxxxxx,cn=Users,dc=staff,dc=tigerbrokers,dc=com
cas.authn.ldap[0].bindCredential=xxxxxx


cn=xxxxxx ,bindCredential=xxxxxx   is my ldap domain name and password,not the 
ldap server name and password, Thx!

[https://lh3.googleusercontent.com/-AsmHvzkNS0c/WwuxEXITzwI/AAAAAAAAAIQ/VhPrI0g9lJ4ZeJCNcLLyhwzrisziMqqggCLcBGAs/s1600/Snip20180528_1.png]<https://lh3.googleusercontent.com/-AsmHvzkNS0c/WwuxEXITzwI/AAAAAAAAAIQ/VhPrI0g9lJ4ZeJCNcLLyhwzrisziMqqggCLcBGAs/s1600/Snip20180528_1.png>
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org<mailto:cas-user+unsubscr...@apereo.org>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/2d79f2de-8ca2-4413-ad47-0776b50b2793%40apereo.org<https://groups.google.com/a/apereo.org/d/msgid/cas-user/2d79f2de-8ca2-4413-ad47-0776b50b2793%40apereo.org?utm_medium=email&utm_source=footer>.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/DB3PR06MB0908F1F979560C72C51E23EDD06E0%40DB3PR06MB0908.eurprd06.prod.outlook.com.

Reply via email to