[Samba] Can't access samba because "session setup failed: NT_STATUS_INVALID_SID"

Rowland Penny rpenny at samba.org
Sun Sep 30 18:42:21 UTC 2018

On Sun, 30 Sep 2018 18:28:42 +0000
Junior Oliveira <emersonjr.eng at gmail.com> wrote:

> Thanks Rowland,
> I didn't think i was doing all of this in an outdated way (it really
> makes sense, as much of the tutorials i've followed come from before
> 2010 and there's barely no  recent tutorials regarding these issues).
> So i'm gonna follow your suggestion. However, how can i deal with the
> LDAP server? This base is big and it's a mandatory feature i need to
> implement on this Samba 4, let the users log in on Samba 4 using it's
> credentials from OpenLDAP server. How could i accomplish this now?
> Thanks in advance again.

Is the ldap server used for anything else, or is it just for Samba ?
If the latter, then there is always the 'classicupgrade' script, see
here for more info:



More information about the samba mailing list