Andrew Edelsten
2002-Aug-26 19:04 UTC
[Samba] Winbind + smb.conf -- adding "Domain Users" as a valid user
Hi all I have smb 2.2.5 and winbind installed and functioning nicely on one of our linux fileservers. The only thing I am having trouble with is adding NT groups with spaces in their name to smb.conf. For instance: I have the following test shares: [test5] path = /usr/local/test public = yes writable = yes printable = no valid users = AURAN+Test [test6] path = /home/test public = yes writable = yes printable = no valid users = AURAN+Domain Users [test5] works just fine and all the members of the "TEST" group on the NT server (ie me) can access that share. [test6] is the problem, "Domain Users" is the "everyone" group but I cannot seem to get it to work. I have tried: "AURAN+Domain Users" AURAN+Domain\ Users "AURAN+Domain\ Users" AURAN+Domain Users 'AURAN+Domain Users' Is there a trick to getting NT groups with spaces to work? Any help would be greatly appreciated! Thanks Andrew PS - "wbinfo -g" and "getent group" work fine and I can see the AURAN+Domain Users group in the results. Auran disclaims responsibility for the contents of this e-mail unless it was expressly authorised by Auran. This e-mail is a confidential communication. To the extent permitted by law, Auran does not accept any liability for any loss or damage suffered or incurred by you as a result of receiving, opening or relying on this e-mail.
Anthony J. Breeds-Taurima
2002-Aug-26 20:34 UTC
[Samba] Winbind + smb.conf -- adding "Domain Users" as a valid user
On Tue, 27 Aug 2002, Andrew Edelsten wrote:> I have smb 2.2.5 and winbind installed and functioning nicely on one of our > linux fileservers. The only thing I am having trouble with is adding NT > groups with spaces in their name to smb.conf. For instance:<snip>> [test5] works just fine and all the members of the "TEST" group on the NT > server (ie me) can access that share. > > [test6] is the problem, "Domain Users" is the "everyone" group but I cannot > seem to get it to work. I have tried: > > "AURAN+Domain Users" > AURAN+Domain\ Users > "AURAN+Domain\ Users" > AURAN+Domain Users > 'AURAN+Domain Users'Try: @"AURAN+Domain Admins" The '@' tells samba to look for a group not a user. Yours Tony Jan 22-25 2003 Linux.Conf.AU http://linux.conf.au/ The Australian Linux Technical Conference!