[one-users] one 3 and ldap auth
Olivier Sallou
olivier.sallou at irisa.fr
Thu Jan 5 08:34:03 PST 2012
Hi,
I am testing the ldap auth with one 3 but it fails.
Is there a way to debug this?
#:/etc/one/auth# oneuser list
[UserPoolInfo] User couldn't be authenticated, aborting call.
My ONE_AUTH file is present with format:
myuserid:ldap:myuserpassword
In oned.conf:
AUTH_MAD = [
executable = "one_auth_mad",
arguments = "--authn ssh,ldap,server_cipher"
]
And my ldap_auth.conf:
# Ldap authentication method
:auth_method: :simple
# Ldap server
:host: dsldap
:port: 389
# base hierarchy where to search for users and groups
:base: 'ou=People,dc=genouest,dc=org'
# group the users need to belong to. If not set any user will do
#:group: 'cn=cloud,ou=groups,dc=domain'
# field that holds the user name, if not set 'cn' will be used
:user_field: 'uid'
I do not use group to restrict users.
Thanks
Olivier
--
gpg key id: 4096R/326D8438 (pgp.mit.edu)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
More information about the Users
mailing list