I've applied this tuto http://www.hexblot.com/blog/centos-7-active-directory-and-samba to allow Samba shares to be authenticated by Windows Active Directory.
The realm join command has been successfully ran. That let me think that the integration with the AD is correct.
My smb.conf contains (relevant parts only):
[global] workgroup = MYDOMAINLOCAL server string = Samba Server Version % security = ads encrypt passwords = yes passdb backend = tdbsam realm = MYDOMAIN.LOCAL password server = dc.mydomain.local
[openvpn] comment = OpenVPN folder path = /etc/openvpn public = no writable = yes guest ok = no printable = no valid users = @"adgroup@mydomain.local"
From Windows, I run \ip of samba server, I see the share. When I try to open this share, I get an 0x80070043 error.
In the log.smbd file I see : “(make_connection_snum) canonicalize_connect_path failed, for service openvpn, path /etc/openvpn”
Any help is welcome. Thank you in advance. Best regards,
Guy
User contributions licensed under CC BY-SA 3.0