Samba (first start)
:newbie: to samba:
This is my first setup with samba. All I am attempting to do is add myself to our local LAN and offer public shares (guests) to everyone on the network (most use Win98+Microsoft Networking and some do Windows XP). Well, I can browse the network and transfer shares just fine, but when others attempt to access my computer, they are prompted for a login/password which I don't want. Can someone check my (first) config for errors of any kind. First, I'd like to make sure that my shares aren't insecure (I haven't accidently allowed anonymous write access or such), and second I'd like to allow others to connect as guests (no login/password) and view my machine as another networked machine. Here is smb.conf: [global] printing = bsd printcap name = /etc/printcap load printers = True guest account = nobody invalid users = root security = user log level = 3 log file = /var/log/samba/shares.log workgroup = WORKGROUP server string = %h server (Samba %v) syslog only = no syslog = 0; socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096 encrypt passwords = true wins support = False name resolve order = lmhosts host wins bcast dns proxy = no preserve case = yes short preserve case = yes unix password sync = false passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . max log size = 1000 obey pam restrictions = yes [Files] path = /home/public guest ok = yes guest_account = nobody guest only = yes hosts allow = 128.23. writeable = no [homes] comment = Home Directories browseable = no read only = yes create mask = 0700 Also, I have no printer connected. Must I create nobody/guest users? I don't know and I don't want to mess with something that could cause a security problem when it is unneccesary. Thanks! |
[global]
workgroup = WORKGROUP server string = Slak Server log file = /var/log/samba.%m max log size = 50 security = share socket options = TCP_NODELAY SO_RCVBUF=8760 SO_SNDBUF=8760 dns proxy = no [shared] path = /shared public = yes only guest = yes writable = yes printable = no Heres mine, there is no security, read write and excute for all who can see this computer |
Try using share level security, as in hanzerik's example. I think user level security is always going to ask for a login and password.
|
If you want for everyone who can see it to be able to acces it use security = share. If you use security = user you must specify the users in the smbpasswd file for them to be able to access your linux box. Another thing, be sure that your shared folder's chmod is 777 in linux if you want to allow full access. :Pengy:
|
All times are GMT -5. The time now is 02:59 PM. |