[Samba] Samba-3 by Example Ch 6

John H Terpstra jht at PrimaStasys.Com
Thu Jun 16 16:22:29 GMT 2005


On Sunday 01 May 2005 23:07, taso wrote:
> taso wrote:
> > I am following Chapter 6 of Samba-3 By Example to set up Samba on
> > a Fedora 3 box. It seems to go Ok until page 144 step 5.
> >
> > # net getlocalsid
> > [2005/05/02 00:22:04, 0] lib/smbldap.c:smbldap_search_suffix(1155)
> >   smbldap_search_suffix: Problem during the LDAP search:  (No such
> > object) SID for domain SIROCCO is: S-1-5-21- etc
>
> The smbldap_search_suffix: error went away when I added the following
> entries to LDAP directory.

That is normal behavior.

> dn: dc=esands,dc=com
> objectclass: dcObject
> objectclass: organization
> o: ESS
> dc: esands
>
> dn: cn=Manager,dc=esands,dc=com
> objectclass: organizationalRole
> cn: Manager
>
> http://www.openldap.org/doc/admin22/quickstart.html shows how to do the
> above.
>
> Now "net getlocalsid sirocco" produces the same SID as "net getlocalsid
> esands", ie the same SID for both the host (PDC) and the domain. Can
> anybody confirm that it's supposed to be like that?

In case you did not get an answer to this question: Yes, on a PDC the domain 
SID and the machine SID are the same.

- John T.


More information about the samba mailing list