[Samba] PDC (can't fetch domain SID)

Leandro Tracchia ltracchia at gmail.com
Fri Sep 7 19:35:48 GMT 2007

os: debian etch 4.0
samba: 3.025c

i am reading through the how-to (using samba 3rd ed), freely available btw
at http://book.opensourceproject.org.cn/sysadmin/samba/sambao3rd/

i am interested in setting up a samba pdc for a good dozen windows xp pro
clients. (i somehow could not wake up from the windows 2003 sbs nightmare).

i have been able to join my debian box to the local windows domain and share
files back and forth between the debian box and a windows xp pro laptop.
this procedure was fairly straight forward and i had no problems. samba was
flawless in this regard.

chapter 9 of the how-to explains how to set up samba as a pdc. i have done
everything step by step and everything has worked fine, but now i am finally
officially stumped at section here is my output.

# net getlocalsid
SID for domain AACLINUX is: S-1-5-21-1918599669-337121707-3998352069

(AACLINUX is the hostname of the debian box)

#net getlocalsid LEANDRO
Can't fetch domain SID for name: LEANDRO

(LEANDRO is my new domain name set in: smb.conf)


        netbios name = aaclinux
        workgroup = LEANDRO
        security = user
        encrypt passwords = yes
        enable privileges = yes

        ## enable PDC functionality
        domain master = yes
        domain logons = yes
        os level = 33
        preferred master = yes
        local master = yes

        path = /usr/local/samba/public
        read only = no

        comment = Net Logon service
        path = /usr/local/samba/netlogon
        read only = yes
        write list = +ntadmin

i have other forum posts with similar problems but none have produced real
results. perhaps this one will be different. here are some of the other
forum posts i have looked at and attempted to apply their solutions with no


if anyone needs more information from me please tell me. i will post
everything i can.

thank you,

More information about the samba mailing list