Re: Cannot login, fatal error at initgroups
[Date Prev][Date Next] [Thread Prev][Thread Next]Re: Cannot login, fatal error at initgroups
- From: Jakub Jindra <skomonster [at] gmail.com>
- To: Nisarg Jhaveri <nisargjhaveri [at] gmail.com>
- Cc: nss-pam-ldapd-users <nss-pam-ldapd-users [at] lists.arthurdejong.org>
- Subject: Re: Cannot login, fatal error at initgroups
- Date: Wed, 12 Jul 2017 13:58:45 +0200
Hi Nisarg,
I believe that's because entry ldap user nisarg.jhaveri has too high uidNumber. The maximum uidNumber should probably be 65535. It depends on which systems are you going to use nslcd.
Best,
Jakub
On Wed, Jul 12, 2017 at 11:58 AM, Nisarg Jhaveri <nisargjhaveri [at] gmail.com> wrote:
Hello,I'm trying to setup ldap authentication on Ubuntu server 16.04, using `nss-pam-ldapd`. I think the ldap auth part works, but when I try to login, auth.log says,sshd[27422]: fatal: initgroups: nisarg.jhaveri: Invalid argumentIf I set map gidNumber to 100, auth.log says,sshd[27411]: fatal: seteuid 201302195: Invalid argumentI know that the gid is not in /etc/group. But I believe it should not be required for it to be present there. Am I missing something?I recently setup another server using `libpam-ldap`, I didn't encounter any similar errors there. Any ideas?Couple of more outputs that can be useful$ getent passwd nisarg.jhaverinisarg.jhaveri:*:201302195:201302:Nisarg Jhaveri:/home/nisarg.jhaveri:/ bin/bash $ nslcd --versionnss-pam-ldapd 0.9.6Any ideas?Thanks.--Nisarg Jhaveriનિસર્ગ ઝવેરી
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists. or seearthurdejong.org
https://lists.arthurdejong.org/nss-pam-ldapd-users/
-- To unsubscribe send an email to nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see https://lists.arthurdejong.org/nss-pam-ldapd-users/
- Cannot login, fatal error at initgroups,
Nisarg Jhaveri
- Re: Cannot login, fatal error at initgroups, Jakub Jindra
- Prev by Date: Cannot login, fatal error at initgroups
- Next by Date: Weird error
- Previous by thread: Cannot login, fatal error at initgroups
- Next by thread: Weird error