SAMBA LDAP PDC

Matthew Carpenter matt
Mon May 8 09:28:54 PDT 2006


On Monday 08 May 2006 07:44, James McDonald wrote:

> 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.

Thanks James.  Actually, I just got to it yesterday.  
I was able to get some answers from Freenode on #samba.  Apparently the SID is 
created for you, and it's dependent upon the SMB hostname.  So, when you use 
"net getlocalsid" you are pulling out a value that's already been generated 
for you.  

Your answer just confirms what I'd been hearing already.  The real need for me 
was to populate Webmin's LDAP UserAdmin module config with the SID.  Now that 
I know how to get it (and that I don't have to create it myself!) I'm good.

Thanks again,
Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux-sxs.org/pipermail/linux-users/attachments/20060508/e24f3aa9/attachment.pgp


More information about the Linux-users mailing list