[Samba] samba 4 authenticate with samba 3 ldap schema

Andrea Zagli azagli at libero.it
Wed Jun 18 18:49:31 UTC 2025


Rowland Penny via samba <samba at lists.samba.org> writes:

> On Wed, 18 Jun 2025 15:39:43 +0200
> Andrea Zagli via samba <samba at lists.samba.org> wrote:
>
>>
>> Hi
>>
>> as the object: i have a samba 4 standalone server and i want to
>> authenticate it using the openldap created for the samba 3 domain
>> controller
>>
>> is it possible?
>>
>
> Yes, it is still possible to set up Samba as an NT4-style PDC, but I
> suggest you do not, that requires NetBIOS which requires SMBv1 and that
> isn't secure. I suggest you investigate setting up a Samba AD domain
> instead.
>
> Rowland


sorry, i think i explained myself badly

i don't want to have a samba 4 PDC NT4 (and neither an AD domain)

but i already have a samba 3 pdc nt4 with openldap as passdb backend

then i have a new samba 4 standalone server (not in domain), to simply
share some directory, and i want to use the same openldap as passdb
backend to authenticate users

i set the same options in smb.conf but when i try to login i get the
error invalid sid

maybe samba 4 requires an ldap schema no more compatible with the one
required by samba 3?



More information about the samba mailing list