[Samba] use linux user account information on samba

Rowland penny rpenny at samba.org
Sat Mar 12 08:51:02 UTC 2016

On 11/03/16 22:21, michaels wrote:
> Dear list,
> I am having real trouble using the linux authentication system with samba. I
> have a configured kerberos and ldap server and authenticate in linux using
> nslcd. nfs4 works fine in the linux world. Unfortunately, I am forced :( to have
> some windows machines which are supposed to connect to linux fileservers.  If I
> understand correctly, I can use sssd on the samba ad domain controller to "glue"
> the authentication between samba and the POSIX system. I used principally the
> ubuntu single sssd configuration (
> https://help.ubuntu.com/community/SingleSignOn) but tried many many other
> configurations. I also tried winbind to no avail. If I create a user in the
> local samba database I can access shares via smbclient:
> smbclient //server/netlogon -Uusername -c 'ls'
> A few questiosn:
> 1) is it actually possible to authenticate a user with the linux authentication
> system to access samba shares?


> 2) If so can someone give me general directions and any good howtos's or wiki
> pages

Well, I suppose a good place to start would be the Samba wiki : 

> 3) Is the authentication for a smba share happening on the server or the DC?

Well both, you connect to the share and then authenticate to the DC.

> 4) I was wondering if my ldap setup has anything to do with this? I am not
> terribly keen on changing ldap since I cannot say I understand ldap well.

When you say ldap, do you mean a separate ldap server, or the ldap built 
into your samba AD DC ?


> Hope someone can give me directions.
> Cheers
> Michael

More information about the samba mailing list