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
(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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Leandro Tracchia 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/And will be included in the Samba 3.2.0 release as well.> # 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)Have you actually started smbd at least once before running this command? cheers. jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG4cHtIR7qMdg1EfYRAppmAJ9hXOFquWtATylXDaNQSB5zhEDwcQCg0fkj szwMgOBoFlfs54qCxh+HUhM=bwYe -----END PGP SIGNATURE-----
On 9/7/07, Leandro Tracchia <ltracchia@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 >
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 (copied back on list) Leandro,> Gerald Jerry Carter wrote: > > "Have you actually started smbd at least once before running > this command?" > > Yes. I have started both smb and nmb with: > > #smbd -D > #nmbd -DMakes no sense then. Run 'net getlocalsid LEANDRO -d 10' and see if that gives a hint as to why the command fails. I just check the code in the SAMBA_3_0_25 svn tree and it hasn't changed. You're running the command as rot and are using an smbpasswd backend right? What Samba version is this? cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG4vihIR7qMdg1EfYRAipdAKC6X1JBVjAyWvXxuU5xe//fBEQ/YgCfdgzW WvyP1zTmC1cMmj7f0lMQM9Q=sWQw -----END PGP SIGNATURE-----