[Samba] Adding LDAP Backend to Samba

J. Echter j.echter at elektro-mayer-echter.de
Sat Feb 5 02:33:27 MST 2011

Am 04.02.2011 16:40, schrieb Jorge Concha C.:
> 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

net getlocalsid show the right sid. In my LDAP there is also a 
sambaDomainName=workgroup. There's also the right SID in there..

can anybody tell me if my users and machines are in the right LDAP groups?

i got:

ou=computers, there's uid=pc1$
ou=groups, there's cn=user1 cn=pc1$
ou=idmap, is empty
ou=smb-usr, there's uid=user1

also i'd like to check the logs, i got many samba related logs but don't 
find any hint whats going on... where could i have a look too?




p.s. sorry Jorge, did a quick reply. didn't want to spam you

More information about the samba mailing list