[sudo-workers] sudo and ldap-only: uid not found

Andrea Barisani lcars at gentoo.org
Mon Dec 12 13:50:07 EST 2005


On Mon, Dec 12, 2005 at 07:40:30PM +0100, Markus Rennings wrote:
> Anyone?

I'm sure the list heard you the first time, no need to answer twice for an
answer ;).

Anyway we are trying to debug this here:

http://bugs.gentoo.org/show_bug.cgi?id=107634

I *cannot* reproduce the problem and I have dozens of sudo+ldap workin
installations here, so I really don't know what to say. Everything points to
some user misconfiguration but I can't narrow it down. Please check your pam
conf, anyway this is not related with sudo LDAP code but most likely with
some low level nss/pam_ldap issue.

Sudo folks correct me if I am wrong, any help is appreciated.

> 
> Am Sonntag, 27. November 2005 21:07 schrieb Markus Rennings:
> > Hello,
> >
> > in the last days I noticed a problem on one of my (private) computers. In
> > my LAN there is one box which get its users only from ldap - in the
> > /etc/passwd are only the standard ones (e. g. root, bin, ...).
> >
> > Log-in is working correctly, but I can't use sudo:
> > | $ sudo ls
> > | sudo: uid 1000 does not exist in the passwd file!
> >
> > System is gentoo-linux (x86).
> >
> > #v+
> > # uid 1000 is username 'mr'
> > $ getent passwd | grep mr
> > mr:x:1000:100:mr:/home/mr:/bin/bash
> >
> >  $ emerge -pv app-admin/sudo
> > These are the packages that I would merge, in order:
> > Calculating dependencies ...done!
> > [ebuild   R   ] app-admin/sudo-1.6.8_p9-r2  +ldap +offensive +pam
> > (-selinux) -skey 0 kB
> >
> > #v-
> >
> > I found nothing helpful with google. :(
> >
> > Any hint?
> >
> > TIA
> > Ciao,
> > Markus
> 

-- 
Andrea Barisani <lcars at gentoo.org>                            .*.
Gentoo Linux Infrastructure Developer                          V
                                                             (   )
PGP-Key 0x864C9B9E http://dev.gentoo.org/~lcars/pubkey.asc   (   )
    0A76 074A 02CD E989 CE7F AC3F DA47 578E 864C 9B9E        ^^_^^
      "Pluralitas non est ponenda sine necessitate"



More information about the sudo-workers mailing list