[Samba] Adding LDAP Backend to Samba

Joe Tseng joe_tseng at hotmail.com
Fri Feb 4 12:09:52 MST 2011

I just recently got mine set up after alot of help from this list (and a great deal of pain and persistence).  I also got alot of insightful guidance from this doc:



 - Joe

If you type "Google" into Google, you can break the Internet. -- Jen Barber

--Forwarded Message Attachment--
From: jac at cec.uchile.cl
To: samba at lists.samba.org
Date: Fri, 4 Feb 2011 12:40:29 -0300
Subject: Re: [Samba] Adding LDAP Backend to Samba

On Thu, 03 Feb 2011 20:16:00 -0300, J. Echter  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:

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