954,228 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Samba configuration

Ok, feel free to move this to the networking forum

Basically I have a debian etch server up and running and have installed samba but the bad news is my meddling has deleted the smb.conf file. Can anyone give me one suitable for the following setup

no security - full read and write access including ability to create / del dirs with no login required

workgroup = mshome
share = /shared

clients are all xp home ed

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
 

Dani gives an example of a smb.conf in her Red Hat Samba tutorial .

Perhaps you want something like this?

[global] 
   workgroup = MSHOME 
   server string = Jbennet 
   hosts allow = 192.168. 127. 
   log file = /var/log/samba/%m.log 
   security = user 
   encrypt passwords = yes 
   smb passwd file = /etc/samba/smbpasswd 
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 

[Root] 
   comment = Root 
   path = /
   browseable = yes 
   writable = yes 
   public = yes 
   read only = no


Hope this helps

John A
Vampirical Lurker
Team Colleague
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
 

thanks but it still says access denied - gonna install CentOS 4.4 and use the GUI instead

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: