Važené kolegyne, vážení kolegovia!
Pri nastavovaní LDAP cez sssd/nscd a ldap sa mi začalo Ubuntu 20.04/20.10 správať pomerne divne, Prihlásiť sa LDAP účtom ešte nejde, ale prestal fungovať príkaz adduser a to tak, že hlási nedostupné UID napriek tomu, že v /etc/passwd také UID nie je a sssd pri štarte chýba databáza, čo mi príde divné. Konfiguráky som kopíroval z Ubuntu 17.04, kde LDAP login fungoval roky a teraz zrazu nie.
Nevedel ma niekto nakopnúť, čo s tým
Ďakujem pekne..
P.S. ukážka časti problému:
~$ sudo adduser --debug --uid 200 aor
adduser: The UID 200 is already in use.
~$ cat /etc/passwd |egrep 200
~$ sudo adduser --debug aor
Adding user `aor' ...
Selecting UID from range 100 to 59999 ...
adduser: No UID/GID pair is available in the range 100-59999 (FIRST_UID - LAST_UID).
adduser: The user `aor' was not created.
~$ cat /etc/passwd |egrep 10001
~$ sudo adduser --debug --uid 10001 aor
adduser: The UID 10001 is already in use.
~$ sudo adduser --debug aor
Adding user `aor' ...
Selecting UID from range 100 to 59999 ...
adduser: No UID/GID pair is available in the range 100-59999 (FIRST_UID - LAST_UID).
adduser: The user `aor' was not created.
~$ cat /etc/passwd |wc -l
57