Ian Scott
2002-Aug-06 04:09 UTC
[Samba] Unable to reregister samba server with Primary Domain Controller
Please forgive any stupidity in the following question. The admin who maintained samba left recently and we (a bunch of programmers) are trying to fix it. We had a Solaris box called svr2, it provided samba and nfs services. We bought a new computer called originally newsvr2. We ported the samba settings across to newsvr2 - everything worked. We swapped the hostname and IP addresses of svr2 and newsvr2 - everything worked. Our administrator left. The new box (now called svr2) crashed, and when it came back up no-one could talk to the samba server. When we try to connect to it from windows it asks for a username and password, and doesn't accept any (Either our NT domain password (which it should use) or a nisplus password.) Everything else on svr2 appears to be working correctly. It should be set up to use our local PDC, which appears to be working fine in all other respects. We have tried deleting secret.tlb, etc. and rejoining the domain using smbpasswd. However we keep getting the following error message Error connecting to BMS-NT-SVR - NT_STATUS_LOGON_FAILURE Unable to join domain bms We have tried deleting all the entries relating to svr2 in the active directory on BMS-NT-SVR, our PDC, and starting again. If we specify -U administrator to smbpasswd, and give it the BMS-NT-SVR administrator password, we get the above error. If we don't specify the user, it says Don't know the machine password, and gives the above error. We don't think that svr2 had been rebooted since the IP addresses and hostnames were swapped - so we suspect that it is a problem with the PDC refusing to acknowledge the swap. However other than removing the active directory listing for server2, we can't think of anything else to do to the PDC. We would be grateful for any suggestions. Many thanks, Ian Scott. P.S. samba-ntdom@lists.samba.org appears to be dead
Ian Scott
2002-Aug-09 15:09 UTC
[Samba] RE: Unable to reregister samba server with Primary Domain Controller
The answer to this turned out to be rather unusual. We recently had our photocopier's network software upgraded so that it could act as a big printer. Anytime Samba attempted to find the PDC, it sent out a broadcast message, and the printer replied, saying yes I'm BMS-NT-SVR, when of course it isn't. Problem solved by pulling out the photcopier's network cable, and logging a very angry message with photocopier servicing company. Ian Scott.> -----Original Message----- > From: Ian Scott [mailto:ian.m.scott@stud.man.ac.uk] > Sent: Tuesday, August 06, 2002 12:08 PM > To: 'samba@lists.samba.org' > Subject: Unable to reregister samba server with Primary Domain > Controller > > > Please forgive any stupidity in the following question. The > admin who maintained samba left recently and we (a bunch of > programmers) are trying to fix it. > > We had a Solaris box called svr2, it provided samba and nfs services. > We bought a new computer called originally newsvr2. > We ported the samba settings across to newsvr2 - everything worked. > We swapped the hostname and IP addresses of svr2 and newsvr2 > - everything worked. > Our administrator left. > > The new box (now called svr2) crashed, and when it came back > up no-one could talk to the samba server. When we try to > connect to it from windows it asks for a username and > password, and doesn't accept any (Either our NT domain > password (which it should use) or a nisplus password.) > Everything else on svr2 appears to be working correctly. > > It should be set up to use our local PDC, which appears to be > working fine in all other respects. > > We have tried deleting secret.tlb, etc. and rejoining the > domain using smbpasswd. However we keep getting the > following error message > Error connecting to BMS-NT-SVR - NT_STATUS_LOGON_FAILURE > Unable to join domain bms > > We have tried deleting all the entries relating to svr2 in > the active directory on BMS-NT-SVR, our PDC, and starting > again. If we specify -U administrator to smbpasswd, and give > it the BMS-NT-SVR administrator password, we get the above > error. If we don't specify the user, it says Don't know the > machine password, and gives the above error. > > We don't think that svr2 had been rebooted since the IP > addresses and hostnames were swapped - so we suspect that it > is a problem with the PDC refusing to acknowledge the swap. > However other than removing the active directory listing for > server2, we can't think of anything else to do to the PDC. > > We would be grateful for any suggestions. > Many thanks, > Ian Scott. > > P.S. samba-ntdom@lists.samba.org appears to be dead > >