Closed GoogleCodeExporter closed 9 years ago
Have you tried username_attribute?
authenticator:
class: CASServer::Authenticators::LDAP
ldap:
host: nbrowning.com
port: 636
base: dc=nbrowning,dc=com
filter: (objectClass=person)
encryption: simple_tls
username_attribute: uid
Original comment by ronald.s...@googlemail.com
on 22 Dec 2008 at 3:19
I would suggest the same thing. I haven't tried RubyCAS with OpenLDAP myself,
but
from what I understand others have been successful.
Original comment by matt.zuk...@gmail.com
on 22 Dec 2008 at 3:54
Wouldn't it be nice to have the username_attribute in the config.example.yml?
Original comment by ronald.s...@googlemail.com
on 22 Dec 2008 at 7:45
Thank you very much for your suggestions. I just got it working!
Here is what I ending having in the authenticator:
authenticator:
class: CASServer::Authenticators::LDAP
ldap:
host: nbrowning.com
port: 636
base: ou=groups,dc=nbrowning,dc=com
filter: (objectClass=person)
username_attribute: uid
auth_user: cn=admin,dc=nbrowning,dc=com
auth_password: secret
Works like a charm! Thanks Mr. Ron and Matt!
Original comment by nick.bro...@gmail.com
on 23 Dec 2008 at 4:01
Thanks, I'll add this to the docs as an example config for OpenLDAP.
Original comment by matt.zuk...@gmail.com
on 23 Dec 2008 at 10:49
Original issue reported on code.google.com by
nick.bro...@gmail.com
on 16 Dec 2008 at 3:05