You are not logged in.
Greetings!
My smb.conf file. I can not see anything wrong here.
[global]
workgroup = home
netbios name = bok
security = share
guest account = nobody
map to guest = bad user
log file = /var/log/samba/%m.log
max log size = 50
[data]
comment = Data
public = yes
path = /home/esk/smb
available = yes
browsable = yes
read only = yes
guest ok = yes
guest only = yesTrying to mount with no luck.. ![]()
esk@localbok:~$ sudo mount -t cifs -o guest //192.168.1.11/data /mnt/samba/
retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifsCan see the share on the server with smbclient -L 192.168.1.11 -U%
--------- ---- -------
data Disk Data
IPC$ IPC IPC Service (Samba 3.5.5)
Domain=[HOME] OS=[Unix] Server=[Samba 3.5.5]
Server Comment
--------- -------
BOK Samba 3.5.5
Workgroup Master
--------- -------
HOME BOKAnd finally trying to connect with smbclient //192.168.1.11 -U%
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
No such file or directory
smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
Domain=[HOME] OS=[Unix] Server=[Samba 3.5.5]
Server not using user level security and no password supplied.
tree connect failed: NT_STATUS_BAD_NETWORK_NAMI'm out of ideas, guys. Would really appreciate if someone could have a look. Cheers
Offline
Not sure what is wrong, but you have a lot of options. This is a partial config for what I use and it works great
[global]
netbios name = server
workgroup = workgroup
server string = Server
security = share
#hosts allow = 10.20.1. 127.
guest account = samba
#log file = /var/log/samba/%m.log
[public]
comment = Public Stuff
path = /home/public
create mask = 0660
directory mask = 0770
writeable = yes
guest ok = yesOffline
Thanks for looking into this, pyther. As you can see from my config file my path to the share is /home/esk/smb. And of course /home/esk has 700 permissions. Noob, I know. Moved the path to /home, working smoothly now.
Offline