[one-users] Problem with ldap authentication

Carlos A. caralla at upv.es
Thu Jun 2 02:39:40 PDT 2011


Hello,

I have just installed the ldap authentication addon on an fresh ONE 
install. I followed the instructions and I found that I cannot 
authenticate against the LDAP server.

what am I not doing in a wrong way?

------------------------------------------------------------
carlos at keo01:~$ onevm list
[VirtualMachinePoolInfo] User couldn't be authenticated, aborting call.

carlos at keo01:~$ tail /srv/cloud/one/var/oned.log
(...)
Thu Jun  2 11:27:22 2011 [AuM][E]: Auth Error: Could not find 
Authorization driver
Thu Jun  2 11:27:22 2011 [ReM][E]: [VirtualMachinePoolInfo] User 
couldn't be authenticated, aborting call.
(...)

calfonso at keo01:/srv/cloud/one/lib/mads$ ls -l one_auth_mad*
-rwxr-xr-x 1 oneadmin root 1632 Jun  2 09:53 one_auth_mad
-rwxr-xr-x 1 oneadmin root 3341 Jun  2 09:58 one_auth_mad.rb

carlos at keo01:/srv/cloud/one/lib/mads$ ls -l 
/srv/cloud/one/lib/ruby/ldap_auth.rb
-rw-r--r-- 1 oneadmin cloud 1340 Jun  2 09:58 
/srv/cloud/one/lib/ruby/ldap_auth.rb

*** content of /srv/cloud/one/etc/auth/auth.conf
:database: sqlite://auth.db
:authentication: ldap
:quota:
   :enabled: false
   :defaults:
     :cpu: 10.0
     :memory: 1048576
:ldap:
     :host: my.ldap.server
     :port: 389


*** content of /srv/cloud/one/etc/oned.conf
(...)
AUTH_MAD = [
     executable = "one_auth_mad" ]




More information about the Users mailing list