Hi guys, hope you can help me out.
Ive got samba server working "ok" on my linux box, but I have a concern.
This is what Ive done.
1. In smb.conf
security = user
encrypted passwords = yes
Created a share
public = no
valid users = root
2.I then ran smbpasswd
smbpasswd -a root <password>
I did this to add a password for root to the smbpasswd file.
Now, when I connect through using UNC path from a Windows box, it prompts me (which is good) for a valid username and password.
I enter in root for username and the password that I put in when I ran the smbpasswd command. This works.
Now the issue I have...........
If, from the windows box, I mapped a network drive to the above share on the linux box and input the same credentials, and get in successfully, which I do, but then DISCONNECT the share, and then even stop and restart the smb service on the linux box, and then just connect to the same share through UNC (eg.\\servername\sharename) WITHOUT putting in credentials, I DONT get prompted for username and password. It's as if the Samba server has recorded the ip address or some other identity from the computer from which I connected originally from. So, if on subsequent times I connect from that SAME windows box, I dont get prompted for credentials. This is a BIG concern for our company.
Is there some switch or line I have to set in the smb.conf file or some configuration I have to do on the samba server to STOP this from happening, and to ALWAYS ask or prompt for user credentials??????
You are the best.