[Samba] PDC and BDC - do they need the same SIDs or different?
Tomasz Chmielewski
mangoo at mch.one.pl
Thu Nov 25 14:30:00 GMT 2004
Gustavo Lima wrote:
> Exactly the same SID they need.
PDC is running Samba 3.0.9, BDC is running Samba 3.0.5.
OK, so I get the same SID on both machines:
On FIRST:
# net getlocalsid
SID for domain FIRST is: S-1-5-21-1517566737-222097662-23938227
On SECOND:
# net getlocalsid
SID for domain FIRST is: S-1-5-21-1517566737-222097662-23938227
and for domain it's also the same (is it OK that it's the same?):
# net getlocalsid DOMAIN
SID for domain FIRST is: S-1-5-21-1517566737-222097662-23938227
But when I query from a PDC (FIRST) for FIRST I get:
# smbclient -L FIRST -U%
Domain=[DOMAIN] OS=[Unix] Server=[Samba 3.0.9]
Sharename Type Comment
--------- ---- -------
Shared Disk Shared folder
print$ Disk Drivers
IPC$ IPC IPC Service (Samba 3.0.9)
ADMIN$ IPC IPC Service (Samba 3.0.9)
HPPSC1110 Printer HP PSC 1110
Domain=[MAGISTA] OS=[Unix] Server=[Samba 3.0.9]
Server Comment
--------- -------
FIRST Samba 3.0.9
Workgroup Master
--------- -------
DOMAIN
But when I query for a BDC (SECOND) it gives me the same reply as for
PDC (FIRST)!
# smbclient -L SECOND -U%
Domain=[DOMAIN] OS=[Unix] Server=[Samba 3.0.9]
Sharename Type Comment
--------- ---- -------
Shared Disk Shared folder
print$ Disk Drivers
IPC$ IPC IPC Service (Samba 3.0.9)
ADMIN$ IPC IPC Service (Samba 3.0.9)
HPPSC1110 Printer HP PSC 1110
Domain=[MAGISTA] OS=[Unix] Server=[Samba 3.0.9]
Server Comment
--------- -------
FIRST Samba 3.0.9
Workgroup Master
--------- -------
DOMAIN
When I query from BDC, it gives me correct values.
Any hint what is wrong?
Tomek
More information about the samba
mailing list