Strange problem with LDAP and groups
From: Fabien Germain (fabien.germain_at_gmail.com)
Date: 10/26/05
- Previous message: Gavin McDonald: "RE: GRUB dual-boot 32/64bit RHEL ES"
- Next in thread: Cecilio Marín: "Re: Strange problem with LDAP and groups"
- Reply: Cecilio Marín: "Re: Strange problem with LDAP and groups"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Oct 2005 11:25:05 +0200 To: redhat-list@redhat.com
Hi all,
I've read several howtos, faqs and googlized, but nothing... Maybe
someone on this list can help me with a very strange problem I have :
My system (RHEL 4) is properly set up (I hope so !) in
/etc/nsswitch.conf and /etc/ldap.conf, to use OpenLDAP for local
accounts. It works, I can see users, groups and aliases I previously
declared in LDAP :
[root@samba ~]# cat /etc/passwd | grep lc15
[root@samba ~]#
[root@samba ~]# getent passwd | grep lc15
lc15:x:1042:1042:lc15:/home/lc15:/bin/bash
lc159:x:1178:1204:lc159:/home/lc159:/bin/bash
lc151:x:1183:1208:lc151:/home/lc151:/bin/bash
My problem is with user "lc159". He is supposed to be in the group "dim" :
[root@samba ~]# getent group | grep dim
dim:x:1008:lc43,lc52,lc159,lc70,lc151
If I check for user "lc70" for example, ok it works, I see he really
is in the "dim" group as he is supposed to be :
[root@samba ~]# su - lc70 -c id
uid=515(lc70) gid=515(lc70) groups=506(quality),515(lc70),1008(dim)
I check the same thing for "lc159", also in the "dim" group, but nothing :
[root@samba ~]# su - lc159 -c id
uid=1178(lc159) gid=1204(lc159) groups=1204(lc159)
Does anyone know why it does not work for this particular user ?
Thanks in advance for your ideas,
Fabien
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Gavin McDonald: "RE: GRUB dual-boot 32/64bit RHEL ES"
- Next in thread: Cecilio Marín: "Re: Strange problem with LDAP and groups"
- Reply: Cecilio Marín: "Re: Strange problem with LDAP and groups"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]