[one-users] New authentication type

Christoph Pleger Christoph.Pleger at cs.tu-dortmund.de
Fri Apr 12 07:07:25 PDT 2013


Hello,

> That's how the LDAP driver works [1]. To create new users automatically on
> their first login, copy or link this dir to your drivers:

Authentication itself is successful now, but I get another error now:

---snip---


Fri Apr 12 15:35:22 2013 [AuM][D]: Message received: LOG D 14
authenticate: Radius-Authenticating christoph.pleger, with password ****

Fri Apr 12 15:35:22 2013 [AuM][I]: authenticate: Radius-Authenticating
christoph.pleger, with password ****
Fri Apr 12 15:35:22 2013 [AuM][D]: Message received: LOG I 14 ExitCode: 0

Fri Apr 12 15:35:22 2013 [AuM][I]: ExitCode: 0
Fri Apr 12 15:35:22 2013 [AuM][D]: Message received: AUTHENTICATE SUCCESS
14 -

Fri Apr 12 15:35:22 2013 [AuM][E]: Can't create user: . Driver response:
---snip---

So far, I changed the following things:


1. Set ':auth: opennebula' in /etc/one/sunstone-server.conf

2. Set authn = "ssh,x509,ldap,server_cipher,server_x509,radius,default" in
/etc/one/oned.conf

3. Created /usr/lib/one/ruby/radius_auth.rb

4. Created /var/lib/one/remotes/auth/radius/authenticate

5. Created a link /var/lib/one/remotes/auth/default ->
/var/lib/one/remotes/auth/radius


I have attached my files radius_auth.rb and authenticate. Sorry if my ruby
is not good, I am a really new newbie to ruby.

Regards
  Christoph




More information about the Users mailing list