RSS feed

uidNumber: out of range

[Date Prev][Date Next] [Thread Prev][Thread Next]

uidNumber: out of range


First sorry for my english ...  we were using nss-pam-ldapd on ubuntu 10.04 and authentification work.
But till we migrate on ubuntu 14.04 LTS, the authentifcation failed.
( We don't have the control of the LDAP server wich still the same ).

So I try some test :
  For example :
With libnss-ldapd_0.7.2_amd64.deb  nslcd_0.7.2_amd64.deb, wich come with ubuntu 10.04 the indentifcation work.
Installing the same version of those package on ubuntu 14.04 using dpk; the anthentification still work.

Using ID in a console shell with id we have :
id testetu
uid=56621 gid=429502391 groupes=4294967295
But when  use the version of  above nss-pam-ldapd   ( nss-pam-ldapd 0.8.13) on 14.04  :
we have :

id testetu
id: testetu : utilisateur inexistant
And with nslcd -d :

nslcd: [8b4567] <passwd="testetu"> uid=testetu,ou=people,ou=univ,dc=domain,dc=org: uidNumber: out of range
nslcd: [8b4567] <passwd="testetu"> DEBUG: ldap_result(): end of results (1 total)
Our /etc/nslcd.conf
uid nslcd
gid nslcd
uri ldaps://ldapsrv/
base dc=domain,dc=org
tls_reqcert never

scope sub

timelimit 30
bind_timelimit 30
referrals no

map passwd homeDirectory "/home/$uid"
map passwd gidNumber "1001"
map passwd loginShell "/bin/bash"

base passwd ou=people,ou=univ,dc=domain,dc=org
base shadow ou=people,ou=univ,dc=domain,dc=org


I also try using pynslcd (pynslcd_0.9.4-1):
 pynslcd -d

pynslcd: exception in worker
Traceback (most recent call last):
File "/usr/sbin/pynslcd", line 259, in worker
File "/usr/sbin/pynslcd", line 231, in acceptconnection
handler(fp, session, uid)()
File "/usr/share/pynslcd/", line 126, in __call__
File "/usr/share/pynslcd/", line 99, in handle_request
File "/usr/share/pynslcd/", line 69, in write
File "/usr/share/pynslcd/", line 69, in write_int32
error: 'i' format requires -2147483648 <= number <= 2147483647

Thanks in advance and best regards.

To unsubscribe send an email to or see