[Samba] Authenticating Samba Share Using Windows Credentials
Singh, Hartej
hsingh at galco.com
Thu Dec 27 22:24:53 UTC 2018
Hello:
I have Samba 4.8.3 server running on RHEL 7.6 and I have configured smb.conf with smbpasswd as the backend passdb.
I have included my smb.conf below this message. From Windows 10, I can map to the //server/homes by entering the credentials for the Samba users (stored in smbpasswd), but since I am using the "username map = /etc/samba/smbusers" Global directive in my smb.conf, I am expecting to be authenticated for the //server/homes mapping using my Windows credentials instead. That is not working for me.
Also, the Windows credentials authentication works on RHEL 6.9 with Samba 3.X.
Any help is much appreciated.
Thanks,
Hartej
Here is smb.conf:
# Global parameters
[global]
workgroup = GALCO
netbios name = THETA
security = user
null passwords = Yes
max log size = 50
username map = /etc/samba/smbusers
smb passwd file = /etc/samba/smbpasswd
passdb backend = smbpasswd
unix password sync = yes
passwd program = /usr/bin/passwd
create mask = 0777
local master = No
domain master = No
hosts allow = 172.16. 127. 10.
case sensitive = yes
log file = /tmp/samba.log
log level = 3
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
#printer admin = root
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
guest ok = no
read only = no
write list = root Administrator
[homes]
comment = Home Directories
read only = No
browseable = Yes
[users]
comment = Alpha users
valid users = @it
path = /home
read only = no
More information about the samba
mailing list