I am working on setting a standalone samba server to share and manage files from the center Linux server using samba and ACL. But the problem I am unable to login from windows machine to the share folders, as I completely want to have the authentication system based on samba user password.
I have the share called Engineering, which has the following configuration is /etc/samba/smb.conf file.
[Finance] comment = "Share Finance directory" path = /home/Finance browseable = no #This will set the authentication printable = no
The permissions of the Finance folder is a follows,
# file: Finance/ # owner: nobody # group: FinanceGroup user::rwx group::rwx other::--- default:user::rwx default:group::r-x default:group:FinanceGroup:rwx default:mask::rwx default:other::---
But, When I try to login from my window machine, I am not allowed to login to the Finance Folder.
here is the global configuration file
[global] server string = %h server (Samba, Ubuntu) server role = standalone server map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 unix extensions = No dns proxy = No usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d idmap config * : backend = tdb wide links = Yes
[link] [comments]