[Samba] Adding LDAP Backend to Samba

Jorge Concha C. jac at cec.uchile.cl
Fri Feb 4 08:40:29 MST 2011

On Thu, 03 Feb 2011 20:16:00 -0300, J. Echter <j.echter at elektro-mayer-echter.de> wrote:

> User SID:             S-1-5-21-3842863818-2180709222-141296495-1001
> Primary Group SID:    S-1-5-21-3842863818-2180709222-141296495-513

Another thing to check:

User SID:             S-1-5-21-3842863818-2180709222-141296495-1001 ->
command 'net getlocalsid' must response S-1-5-21-3842863818-2180709222-141296495
(if not, run 'net setlocalsid S-1-5-21-3842863818-2180709222-141296495').

And in your LDAP server you must to have an entry as this:

sambaDomainName=<your domain name>
with sambaSID=S-1-5-21-3842863818-2180709222-141296495


I had problems with users who do not have the attribute ambaPwdLastSet
Then, all my users have sambaPwdLastSet = 1

Good Luck

Jorge C.

More information about the samba mailing list