I have setup a samba share folder, however, when I try to access the share, I am getting "Windows Can not access the \\server\share1. You don't have permissions to access \\server\share1"
This server is joined to AD and I am able to list the shares using smbclient and AD User credentials. I don't know what I am missing. Strange thing is that the Share1 does not even prompt to enter different credentials, however pops up the access denied message.
[root@samba]# smbclient -L samba -U username
Enter user's password:
Domain=[EXAMPLE] OS=[Unix] Server=[Samba 3.6.23-35.el6_8]
Sharename Type Comment
--------- ---- -------
share1 Disk Test Share
Here is the smb.conf:
workgroup = EXAMPLEDOMAIN
;password server = ad-cxxac.example.com
realm = EXAMPLE.COM
security = ads
;idmap uid = 10000-20000
;idmap gid = 10000-20000
template shell = /bin/sh
winbind use default domain = true
winbind offline logon = true
winbind refresh tickets = yes
log file = /var/log/samba/samba.log
debug level = 3
netbios name = samba
encrypt passwords = yes
winbind enum groups = no
winbind enum users = no
debuglevel = 3
#============================ Share Definitions ==============================
[share1]
comment = Test Share
path = /share1
valid users = EXAMPLE\username
force group = "Domain Users"
writable = yes
read only = no
force create mode = 0660
create mask = 0777
directory mask = 0777
force directory mode = 0777
Domain Join is OK as well
[root@samba]# net ads testjoin
Join is OK
Directory permissions on the Shared Folder are
drwxrwxrwx. 2 root domain users 4096 Sep share1