I had to upgrade my Ubuntu Server to 14.04 which comes with Samba 4.1 (I used Samba 3 previously). I had to switch from security = share to security = user, because it looks like the first one seems to be not supported anymore. And after some struggle I finally got it working, however there is still one issue.
When I enter my \\[server IP] to Windows Explorer I receive prompt for Network Credentials. I need to type ANY username and it passes access. The same happens while I'm directly connecting to share and typing any username also helps.
Is it possible to configure the server, so that it doesn't prompt for credentials? Or maybe it's expected behavior with security = user? Or maybe some Widows issue?
No errors are present in log.smbd or log.nmbd.
This is my testparm output:
[global]
netbios name = MY_SERVER
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
dns proxy = No
idmap config * : backend = tdb
[repository]
path = /home/repo/repository
force user = repo
force group = repo
read only = No
create mask = 0644
guest ok = Yes
[tools]
path = /home/repo/tools
force user = repo
force group = repo
read only = No
create mask = 0644
guest ok = Yes