[one-users] user creation failure with LDAP in ONE 34

Javier Fontan jfontan at opennebula.org
Wed Apr 18 06:55:03 PDT 2012


Thanks for noticing the problem and the patch. We looking for a
solution where the dn can be also added somehow as we are thinking on
adding a multi ldap server functionality and having the dn will become
handy. I'm keeping the ticket to track the fix.

On Tue, Apr 17, 2012 at 2:30 PM, Olivier Sallou <olivier.sallou at irisa.fr> wrote:
> I have create an issue for this problem:
> http://dev.opennebula.org/issues/1236
> I have explained in bug where the issue is. The fact is the ldap module
> takes the returned dn of the match which may contain unsupported
> characters (such as spaces).
>
> Le 4/17/12 2:03 PM, Olivier Sallou a écrit :
>> Hi,
>> I have upgraded to 3.4 and configured LDAP.
>>
>> I am with command line and test "onevm list" with a user not yet created.
>> My ONE_AUTH file contains credentials.
>>
>> I see in the logs:
>> Tue Apr 17 13:57:58 2012 [AuM][D]: Message received: AUTHENTICATE
>> SUCCESS 0 ldap osallou cn=Olivier Sallou,ou=People,dc=genouest,dc=org
>>
>> Tue Apr 17 13:57:58 2012 [AuM][E]: Can't create user: Invalid password,
>> character ' ' is not allowed.. Driver response: ldap osallou cn=Olivier
>> Sallou,ou=People,dc=genouest,dc=org
>> Tue Apr 17 13:57:58 2012 [ReM][E]: [VirtualMachinePoolInfo] User
>> couldn't be authenticated, aborting call.
>>
>> My user_field is uid.
>> Authentication is ok, but it faisl to create the user with message:
>> Invalid password, character ' ' is not allowed.
>>
>> What is the issue? Seems to be a db issue or internal control issue....
>>
>> Thanks
>>
>> Olivier
>>
>
> --
> Olivier Sallou
> IRISA / University of Rennes 1
> Campus de Beaulieu, 35000 RENNES - FRANCE
> Tel: 02.99.84.71.95
>
> gpg key id: 4096R/326D8438  (keyring.debian.org)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula



More information about the Users mailing list