The secure share that I created in samba with a password doesn't seem to work.I have the following on my /etc/samba/smb.conf on a Linux Mint box(3.13.0-37-generic) box.[myshare]            comment = Home Directory  path = /home/mysharevalid users = mysharebrowseable = no           public = no               security = user           readable = yes            writable = yes            guest ok = no             The password for the user myshare is created using smbpasswd -a myshare and then enabled by smbpasswd -e myshare.The user is added using useradd -c myshare -m -s /bin/false myshare so that it doesn't have shell accessThe smb.conf is:[global]workgroup = WORKGROUP    dns proxy = no;   wins server = w.x.y.z;   interfaces = 127.0.0.0/8 eth0;   bind interfaces only = yessecurity = userencrypt passwords = yeslog file = /var/log/samba/log.%mmax log size = 1000    syslog = 0panic action = /usr/share/samba/panic-action %dserver role = standalone serverpassdb backend = tdbsamobey pam restrictions = yesunix password sync = yespasswd program = /usr/bin/passwd %upasswd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .pam password change = yesmap to guest = bad user;   logon path = \\%N\profiles\%U;   logon drive = H:;   logon script = logon.cmd; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos  %u; add machine script  = /usr/sbin/useradd -g machines -c %u machine account -d /var/lib/samba -s /bin/false %u  ; add group script = /usr/sbin/addgroup --force-badname %g;   include = /home/samba/etc/smb.conf.%m;   idmap uid = 10000-20000;   idmap gid = 10000-20000;   template shell = /bin/bash;   usershare max shares = 100usershare allow guests = yes[homes]comment = Home Directoriesbrowseable = noread only = yescreate mask = 0700directory mask = 0700valid users = %S;[netlogon];   comment = Network Logon Service;   path = /home/samba/netlogon;   guest ok = yes;   read only = yes;[profiles];   comment = Users profiles;   path = /home/samba/profiles;   guest ok = no;   browseable = no;   create mask = 0600;   directory mask = 0700[printers]comment = All Printersbrowseable = nopath = /var/spool/sambaprintable = yesguest ok = noread only = yescreate mask = 0700[print$]comment = Printer Driverspath = /var/lib/samba/printersbrowseable = yesread only = yesguest ok = no;   write list = root, @lpadmin[myshare]comment = Home Directorypath = /home/mysharevalid users = mysharebrowseable = nopublic = nosecurity = userreadable = yeswritable = yesguest ok = noNow I tried restarting the smbd service but when I map the share on a Windows box, it just opens up without asking for any credentials. What am I missing here?
Secure share in samba not working, why?
shell;samba