Tomasz Chmielewski
2004-Nov-25 14:01 UTC
[Samba] PDC and BDC - do they need the same SIDs or different?
Hello, If I have a PDC with a netbios name FIRST, and I want to add a BDC - named SECOND - do these machines need to have the same SIDs, or different (I just copied files / settings from PDC to BDC and I'm not sure what to do next)? Tomek
Tomasz Chmielewski
2004-Nov-25 14:30 UTC
[Samba] PDC and BDC - do they need the same SIDs or different?
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
Reasonably Related Threads
- can't join domain / smbldap-useradd -w machine not working
- Samba + LDAP as a PDC - unable to log in (but able to join a domain)
- A little help with nss_ldap - User xxx in passdb, but getpwnam() fails!
- Samba3 + LDAP - w2k says it couldn't change password (but it did)
- PDC/BDC problem - clients not authenticating against BDC