[one-users] Again the Problem in LDAP integration with ONE

song song.gao at venusource.com
Wed May 29 01:12:31 PDT 2013


Hello Guys:
Luckily I solved the problem by edit the "base" field to only have "dc"
in it.Wish this help to others have same problem!!!!!

于 2013年05月29日 14:43, song 写道:
> Hello friends:
>
> This is my ldap_auth.conf:
>
> server 1:
>
> :user: 'cn=mananger,dc=venusource,dc=com'
>
> :password: 'P at ssw0rd'
>
> :auth_method: :simple
>
> :host: 192.168.0.122
>
> :port: 389
>
> # base hierarchy where to search for users and groups
>
> #:base: 'cn=manager,dc=venusource,dc=com'
>
> :base: 'ou=people,dc=euca,dc=venusource,dc=com'
>
> # group the users need to belong to. If not set any user will do
>
> #:group: 'ou=groups,ou=accounts,dc=euca,dc=venusource,dc=com'
>
> :user_field: 'cn'
> ******************************************
> And this is my oned.conf:
>
>
> AUTH_MAD = [
>
> executable = "one_auth_mad",
>
> authn = "ssh,x509,ldap,default,server_cipher,server_x509"
>
> ]
>
> And I also issue the command of:
>
>   cp -r var/remotes/auth/ldap/ var/remotes/auth/default
>
> And I edit the sunstone-server.conf:
>
> :auth: opennebula
>
> ***************************
>
> Problem:1:When I want to login to sunstone,should I use the 'cn' field
> in ldap server or the whole string of DN in the user name field.
>
> 2:I tried both way above ,But the oned.log show like below:
>
>
> Wed May 29 14:19:59 2013 [AuM][I]: Command execution fail: /srv/cloud/
>
> one/var/remotes/auth/default/authenticate jack
>
> Wed May 29 14:19:59 2013 [AuM][D]: Message received: LOG I 2 Trying se
>
> rver server 1
>
> Wed May 29 14:19:59 2013 [AuM][I]: Trying server server 1
>
> Wed May 29 14:19:59 2013 [AuM][D]: Message received: LOG I 2 User jack
>
> not found
>
> Wed May 29 14:19:59 2013 [AuM][I]: User jack not found
>
> Wed May 29 14:19:59 2013 [AuM][D]: Message received: LOG I 2 Could not
>
> authenticate user jack
>
> Wed May 29 14:19:59 2013 [AuM][I]: Could not authenticate user jack
>
> Wed May 29 14:19:59 2013 [AuM][D]: Message received: LOG I 2 ExitCode:
>
> 255
>
> Wed May 29 14:19:59 2013 [AuM][I]: ExitCode: 255
>
> Wed May 29 14:19:59 2013 [AuM][D]: Message received: AUTHENTICATE FAIL
>
> URE 2 -
>
> Wed May 29 14:19:59 2013 [AuM][E]: Auth Error:
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130529/ccd965f9/attachment-0002.htm>


More information about the Users mailing list