Hi,
I suggest you read the documentation in
http://www.samba.org. This is the official document and it good and elaborate.
Basically, you have to understand, that Samba can behave a PDC, BDC, Standalone server or as a machine in the workgroup. So, you have to configure your samba to play one of these roles.
Try this.
Global Part
Code:
[global]
workgroup = <your_workgroup>
preferred master = No
local master = No
domain master = No
;hosts allow = 192.168.1.0/255.255.255.0
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
passdb backend = tdbsam
null passwords = true
username map = /etc/samba/smbusers
name resolve order = lmhosts bcast wins host
wins support = no
printing = CUPS
printcap name = CUPS
syslog = 1
syslog only = yesShare part
Example on a dir/share named testsmb, of course you can put your share name
Code:
[testsmb]
path = /home/<yourname>/testsmb
available = yes
browsable = yes
public = yes
writable = no
create mask = 0777
Restart Samba
Code:
sudo /etc/init.d/samba restart
Good Luck!
Quote:
Originally Posted by Linuxllent
That's the username and password I enter but I keep getting denied...
|