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

Lukasz Szybalski szybalski at gmail.com
Sat Sep 8 17:19:29 GMT 2007


On 9/7/07, Leandro Tracchia <ltracchia at gmail.com> wrote:
> 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 9.2.1.1. 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
>
What does  this command say. (replace server name with your server name)

smbclient -L servername

What does this tell you?
testparm

And finally. Is LENADRO your server name? If aaclinux is the server name try
net getlocalsid LEANDRO
net getlocalsid aaclinux

Lucas
--
http://lucasmanual.com/mywiki/SambaDomainController

> (LEANDRO is my new domain name set in: smb.conf)
>
> smb.conf:
>
> [global]
>         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
>
> [public]
>         path = /usr/local/samba/public
>         read only = no
>
> [netlogon]
>         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
> success..
>
> http://lists.samba.org/archive/samba/2005-September/110749.html
> http://lists.samba.org/archive/samba/2003-November/001157.html
> http://sysadminforum.com/t109897.html
> http://groups.google.com/group/linux.samba/browse_thread/thread/59a253f3f02f9ef7/d05ea8d3ab317f7e%23d05ea8d3ab317f7e
> http://groups.google.com/group/linux.samba/browse_thread/thread/4b61b34c769570e2/e9c6469f64ea2877?lnk=gst&q=can%27t+fetch+sid&rnum=1#e9c6469f64ea2877
>
> if anyone needs more information from me please tell me. i will post
> everything i can.
>
> thank you,
> LRT
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list