there's a command called testparm which will validate the syntax, but I don't think that swat is capable of generating that...
On Tue, 12 Jun 2007 15:16:12 +1200 Reg <[EMAIL PROTECTED]> wrote: > Below is my smb.conf file: If anyone can tell me where my error is I > would be very thankful. > Regards Reg > > > > # Samba config file created using SWAT > # from 127.0.0.1 (127.0.0.1) > # Date: 2007/06/12 14:38:27 > > [global] > workgroup = SMITHS > netbios name = AHLON > map to guest = Bad User > printcap name = cups > add machine script = /usr/sbin/useradd -c Machine -d > /var/lib/nobody -s /bin/false %m$ > logon path = \\%L\profiles\.msprofile > logon drive = P: > logon home = \\%L\%U\.9xprofile > os level = 2 > preferred master = No > local master = No > domain master = No > usershare max shares = 100 > idmap uid = 10000-20000 > idmap gid = 10000-20000 > hosts allow = 192.168.1.247/255.255.255.0 > cups options = raw > include = /etc/samba/dhcp.conf > > [homes] > comment = Home Directories > valid users = %S, %D%w%S > read only = No > inherit acls = Yes > browseable = No > > [profiles] > comment = Network Profiles Service > path = /home/reg/ > create mask = 0600 > directory mask = 0700 > hosts allow = 192.168.1.247 > case sensitive = No > strict locking = No > msdfs proxy = no > > [users] > comment = All users > path = /home/ > inherit acls = Yes > veto files = /aquota.user/groups/shares/ > > [groups] > comment = All groups > path = /home/groups > read only = No > inherit acls = Yes > > [printers] > comment = All Printers > path = /var/tmp > create mask = 0600 > printable = Yes > browseable = No > > [print$] > comment = Printer Drivers > path = /var/lib/samba/drivers > write list = @ntadmin, root > force group = ntadmin > create mask = 0664 > directory mask = 0775 > > [/home/reg] > guest ok = Yes > available = No >
