← Back to team overview

openstack team mailing list archive

Re: keystone + LDAP username only with numbers


On 01/18/2013 08:18 AM, Marcelo Mariano Miziara wrote:
Hello to everyone. First of all sorry for my bad english.

Second, i'm implementing openstack here in my company, and we pretend to use it with ldap integration. I detected a problem when the username is only numbers (in our case we use our ID number to log in):

PLease enter it as a bug. It looks like the HTML to Python parsing is breaking down.

  TypeError at /nova/

sequence item 1: expected string or Unicode, int found
Request Method: 	GET
Request URL: <>
Django Version: 	1.4.1
Exception Type: 	TypeError
Exception Value: 	
sequence item 1: expected string or Unicode, int found
Exception Location: /usr/lib/python2.7/dist-packages/novaclient/client.py in authenticate, line 316
Python Executable: 	/usr/bin/python
Python Version: 	2.7.3
Python Path: 	
['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',  '/usr/lib/python2.7',  '/usr/lib/python2.7/plat-linux2',  '/usr/lib/python2.7/lib-tk',  '/usr/lib/python2.7/lib-old',  '/usr/lib/python2.7/lib-dynload',  '/usr/local/lib/python2.7/dist-packages',  '/usr/lib/python2.7/dist-packages',  '/usr/share/openstack-dashboard/',  '/usr/share/openstack-dashboard/openstack_dashboard']
Server time: 	Qui, 17 Jan 2013 12:37:11 +0000

Then I created another user with letters in the user name and this error doesn't appear...but then I got another type of error that I'll discuss later...someone experienced this error, or am I doing something wrong?

Thanks in advance,
Marcelo M. Miziara
Serviço Federal de Processamento de Dados - SERPRO
55 (41) 3593 8277
marcelo.miziara@xxxxxxxxxxxxx <http://mailto:marcelo.miziara@xxxxxxxxxxxxx>

"Esta mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), empresa pública federal regida pelo disposto na Lei Federal nº 5.615, é enviada exclusivamente a seu destinatário e pode conter informações confidenciais, protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, por gentileza, reenviá-la ao emitente, esclarecendo o equívoco."

"This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) -- a government company established under Brazilian law (5.615/70) -- is directed exclusively to its addressee and may contain confidential data, protected under professional secrecy rules. Its unauthorized use is illegal and may subject the transgressor to the law's penalties. If you're not the addressee, please send it back, elucidating the failure."

Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp