Closed GoogleCodeExporter closed 9 years ago
Can you post the authenticator stuff from your config.yml? I'd like to see how
you
have it configured.
Theoretically RubyCAS-Server should work fine with OpenLDAP, although I don't
have an
OpenLDAP server so I can't test it. I've only tested it against ActiveDirectory
LDAP,
and for that it works great.
Original comment by matt.zuk...@gmail.com
on 4 Mar 2008 at 11:48
in fact my LDAP has this structure
people are in ou=People,dc=..,dc=..,dc=..
They are a uid (uid=foo)
and a userpassword
They can log directly with uid=foo,ou=People,dc=..,dc=..,dc=..
and the password
I try with this config
class: CASSERVER::Authentificators::ActiveDirectoryLDAP
ldap:
server: localhost
port: 389
base: ou=People,dc=..,dc=..,dc=..
filter: objectClass=person
But it don't works why ?
Thanks for Help
Regards.
Sebastien TACK
Original comment by mrt...@gmail.com
on 6 Mar 2008 at 12:26
Use the LDAP authenticator, not ActiveDirectoryLDAP. Also, it's case sensitive.
Try this:
class: CASServer::Authentificators::LDAP
ldap:
server: localhost
port: 389
base: ou=People,dc=..,dc=..,dc=..
filter: objectClass=person
Original comment by matt.zuk...@gmail.com
on 6 Mar 2008 at 3:45
Oops, actually that should be:
class: CASServer::Authenticators::LDAP
ldap:
server: localhost
port: 389
base: ou=People,dc=..,dc=..,dc=..
filter: objectClass=person
"Authenticators", not "Authentificators" :)
Original comment by matt.zuk...@gmail.com
on 6 Mar 2008 at 3:46
So I have write my own class of Authenticator and rewriting my own validate
method.
And now it works.
Thanks for this works.
Regards
Tack sebastien
Original comment by mrt...@gmail.com
on 10 Mar 2008 at 9:49
Original comment by matt.zuk...@gmail.com
on 10 Mar 2008 at 7:44
Original issue reported on code.google.com by
mrt...@gmail.com
on 4 Mar 2008 at 9:13