2
I've recently set up a simple Shamba share on my home server, running Ubuntu 12.04 x64. The share is basically a whole LVM volume residing in my home directory.
Although everything is working more or less as it should, there are some problems.
I'm unable to connect from my client (Win8 x64) using the Netbios name (I'm neither able to ping it), it only works using the IP of the server. This isn't a big problem, but I mention it in case it might be releated to my other problem:
After each client reboot I have to reconnect to the share using the net use command. Connecting to the share via the Windows Explorer GUI has never worked, I suspected because Windows is insisting I have to use a domain (I've tried both my clients and servers hostname and the workgroup name). If I use the net use command it will connect using only /user:mysambauser. I should also mention that the /persistent option does not have any effect - the share is still disconnected upon reboot.
I am a bit unsure if this is actually a problem with my Samba installation or my W8 Client, but I'm posting here anyway hoping that someone might have a clue on what's wrong.
Posting the smb.conf for now, let me know if you need anything else.
#======================= Global Settings =====================================
[global]
workgroup = workgroup
server string = Alyx Samba %v
netbios name = alyx
name resolve order = bcast
security = user
map to guest = bad user
dns proxy = no
username map = /etc/samba/smbusers
encrypt passwords = yes
guest ok = no
guest account = nobody
# Logging, disable in production
# log file = %S.log
# log level = 3
#============================ Share Definitions ==============================
[Mesa]
path = /home/knut/Mesa/
browseable = yes
writeable = yes
valid users = knut
ok'd for migration to superuser: http://chat.stackexchange.com/transcript/message/10571950#10571950
– fossfreedom – 2013-08-01T17:33:48.760