[Samba] Please Help with Secondary Groups

Craig White craigwhite at azapple.com
Fri Jan 9 21:18:54 GMT 2004

On Fri, 2004-01-09 at 12:27, MICHAEL BROWN wrote:
> System:
> I am running RedHat 8.0 (2.4.18-14smp) with SAMBA 2.7 and user
> authentication against OpenLDAP 2.1.22.
> Problem:
> On RedHat, Put over (I think 70 or so) users within a secondary group. 
> Got to Konqueror or Nautilus and try to change
> a directory's permissions to that group with over 70 or so users in it,
> (it may be 80 or 90 users), YOU CAN NOT assign that
> group to have ownership of that directory or any directory.  It will
> revert back to what the ownership was before.  You CAN NOT
> assign the group rights with a chmod either.  
> DOES ANYONE know what I may be missing on Redhat?  This is killing me!
This isn't a Red Hat problem - I do this all the time. This is a
configuration problem.

getent group #does it list the groups in /etc/group first and then
             #the groups in LDAP?

chmod problems? are you trying to change the mount? The mount is owned
by whomever made the mount

just to show you that it works on samba...
[root at linserv1 samba]# mkdir test
[root at linserv1 samba]# chown "Craig White"."Domain Users" test
[root at linserv1 samba]# ls -l
total 14
<data snipped for clarity>
drwxr-xr-x    2 Craig White Domain Users     4096 Jan  9 14:13 test
[root at linserv1 samba]# grep "Craig White" /etc/passwd
[root at linserv1 samba]# grep "Domain Users" /etc/group
[root at linserv1 samba]# getent passwd|grep "Craig White"
Craig White:x:1003:1008:System User:/home/users/Craig White:/bin/false
[root at linserv1 samba]# getent group|grep "Domain Users"

check your /etc/nsswitch.conf


More information about the samba mailing list