[one-users] LDAP addon and OpenNebula 3.3.0

Simon Boulet simon at nostalgeek.com
Wed Mar 7 20:00:40 PST 2012


Hi,

I have a fresh new installation of OpenNebula 3.3.0. I don't seems to
be able to get the LDAP addon working. I followed all instructions
here: http://opennebula.org/documentation:rel3.2:ldap

I can confirm OpenNebula is NOT running the
/var/lib/one/remotes/auth/ldap/authenticate script. I tried running
the authenticate script manually and can see my LDAP server being hit
with the request.

OpenNebula seems to be picking up the "default" driver:

Wed Mar  7 22:42:58 2012 [AuM][D]: Message received: AUTHENTICATE
FAILURE 3 Authentication driver 'default' not available
Wed Mar  7 22:42:58 2012 [AuM][E]: Auth Error: Authentication driver
'default' not available
Wed Mar  7 22:42:58 2012 [ReM][E]: [UserPoolInfo] User couldn't be
authenticated, aborting call.

The default is pointing to the ldap driver (as per the documentation above) :

opennebula:/var/lib/one/remotes/auth# ls -la
total 40
drwxr-xr-x 10 oneadmin oneadmin 4096 Mar  7 17:07 .
drwxr-xr-x  8 oneadmin oneadmin 4096 Mar  6 15:35 ..
lrwxrwxrwx  1 root     root       30 Mar  7 17:07 default ->
/var/lib/one/remotes/auth/ldap
drwxr-xr-x  2 oneadmin oneadmin 4096 Mar  6 15:35 dummy
drwxr-xr-x  2 oneadmin oneadmin 4096 Mar  7 17:29 ldap
drwxr-xr-x  2 oneadmin oneadmin 4096 Mar  6 15:35 plain
drwxr-xr-x  2 oneadmin oneadmin 4096 Mar  6 15:35 quota
drwxr-xr-x  2 oneadmin oneadmin 4096 Mar  6 15:35 server_cipher
drwxr-xr-x  2 oneadmin oneadmin 4096 Mar  6 15:35 server_x509
drwxr-xr-x  2 oneadmin oneadmin 4096 Mar  6 15:35 ssh
drwxr-xr-x  2 oneadmin oneadmin 4096 Mar  6 15:35 x509

My .one/one_auth file :

opennebula:~# cat ~/.one/one_auth
someuser:ldap:somepasswd

I did try without the "ldap" keyword in my one_auth but it doesn't
help (as per the 3.2 documentation it seems the "ldap" keyword isn't
needed anymore in the one_auth file).

Any help would be greatly appreciated.

Thanks

Simon



More information about the Users mailing list