(no subject)

Alain Toussaint nailed at videotron.ca
Thu May 3 02:04:48 GMT 2001


> Where can I get a sample smb.conf file for samba 2.2.0 ?

here's what i did:

echo "" >/etc/smb.conf (this create an empty smb.conf)

testparm 1>test.smb.conf (this validate your empty smb.conf and output 
all parameter,since your /etc/smb.conf is empty,it will use samba's 
default),you'll have to press enter at least once or twice.

vim test.smb.conf (edit the default parameter to your liking and add # 
for every comment,they are all located at the top of the file before 
the Global section)

rm -f /etc/smb.conf

cp test.smb.conf /etc/smb.conf

validate again to be sure there's no errors then start Samba.

Alain




More information about the samba mailing list