[Samba] Please Help with Secondary Groups
MBROWN at mesainc.com
Fri Jan 9 21:49:56 GMT 2004
Your example group below "Domain Users" only has, if I count correctly,
31 users. You have to get up to about 70-80 or so before you see what I
am seeing. My groups work as well with that few of users within the
secondary groups =)
>>> Craig White <craigwhite at azapple.com> Friday, January 09, 2004 >>>
On Fri, 2004-01-09 at 12:27, MICHAEL BROWN wrote:
> I am running RedHat 8.0 (2.4.18-14smp) with SAMBA 2.7 and user
> authentication against OpenLDAP 2.1.22.
> On RedHat, Put over (I think 70 or so) users within a secondary
> Got to Konqueror or Nautilus and try to change
> a directory's permissions to that group with over 70 or so users in
> (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.
> MANDRAKE 8.2 WILL ALLOW THIS, HOWEVER!
> DOES ANYONE know what I may be missing on Redhat? This is killing
This isn't a Red Hat problem - I do this all the time. This is a
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
<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