Re: Strange problem with LDAP and groups

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

 



[root@samba ~]# getent passwd | grep lc15
lc15:x:1042:1042:lc15:/home/lc15:/bin/bash


Wouldn't fourth column must be the number of primary group dim, 1008?



Fabien Germain escribió:

>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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux