SAMBA LDAP PDC

James McDonald james
Mon May 8 06:49:01 PDT 2006


Matthew Carpenter wrote:
> Hi all,
> This may seem like a nobrainer to some, and believe me I've done a lot of 
> RTFM, but I'm still unclear about how to come up with the SID for the domain.  
> One HOWTO dissects it a bit, what different SID-bases mean,etc... but I can't 
> seem to find the "this is how you should create a SID for your domain".
>
> Without the SID (particularly the base of the SAMBA user ID), users no worky.
>
> Thanks
>
>   
Reading the doco seems to indicate that you create the sid prior to
linking into your LDAP setup
(the doc I mean is
file:///usr/share/doc/samba-doc/htmldocs/Samba3-ByExample/happy.html as
seen on a ubuntu dapper 6.06 box)

Configure your smb.conf to be the PDC etc ....

then start smbd which automagically creates the Domain SID then run...

smbclient -L localhost -U%
 
and to get the sid (which I presume you insert into your LDAP ... somewhere)

net getlocalsid
SID for domain APF-MA-LN07 is: S-1-5-21-583462232-1718459602-2696129798


hope this is helpful... but seeing the time that has passed I assume you
already have it fixed.



More information about the Linux-users mailing list