Bug 482 - Swat ignores quotes when writing to smb.conf
Summary: Swat ignores quotes when writing to smb.conf
Status: RESOLVED DUPLICATE of bug 481
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: SWAT (show other bugs)
Version: 3.0.0preX
Hardware: All Linux
: P3 normal
Target Milestone: none
Assignee: Dave Fenwick
QA Contact:
Depends on:
Reported: 2003-09-19 09:54 UTC by Robert Toole
Modified: 2005-11-14 09:29 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Robert Toole 2003-09-19 09:54:15 UTC
I am using ver 3.0 rc3 with winbind to enumerate users and groups from an NT4 

OS is RedHat 9.0
Kernel is SGI XFS-1.3, 2.4.20-19.9
Quad Pentium pro, 768 Mb RAM
Mylex DAC960 RAID controllers

when I specify an NT 4 group in swat that has a space, I use quotes eg. 
@"DOMAIN+Domain Admins" when I click "Commit changes" and then view the 
smb.conf file with vi, any of the group entry with spaces are changed like the 
following example:

write list = @DOMAIN+Domain, Admins

after the changes take effect, the security on the shares no longer works 

Manually editing smb.conf with vim and placing the quotes arround the group 
names with spaces corrects the problem.
Comment 1 Tim Potter 2003-09-21 17:05:55 UTC

*** This bug has been marked as a duplicate of 481 ***
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-02-07 09:04:44 UTC
originally reported against one of the 3.0.0rc[1-4] releases.
Cleaning up non-production versions.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:29:46 UTC
database cleanup