[Samba] Trouble replicating samba

Borja Pacheco bpacheco at acisa.es
Mon Mar 15 15:49:17 GMT 2004


Dear all,

I'm experencing a big trouble with samba and an instalation we had at my
enterprise's intranet. This intranet is based on a Samba server v2 wich
acts as Primary Domain Controller, wins server and file server. All
these features works great nowadays.

Our issue, is with a newest server that we are interested to replace the
previous samba server in order to improve the performance and
realibility to our users. For this reasen we have installed the samba
daemon in this machine (keeping samba version, but minor version
numbers) and we have copied everything from one server to the other, I
mean, smb.conf, lmhost, smbpasswd, etc, and we have updated the smb.conf
to change the IP address and netlogon name. Of course, we have updated
the system's groups and users, and syncronize data.

When we startup the service on the newest one (after shutting down in
the other), we noticed that samba becomes domain master, master browser
and that we can access files through smbclient. The trouble is with the
MS Windows clients, which can't register in the domain anymore, Windows
tell us that the machine account doesn't exist or the password is wrong.
These accounts were created with smbpasswd -a -m, so they exists. So it
seems to, that the autonegociated password is failing.

Does anybody knows why is it failing? Is it related with the SIDs? What
are these SIDs? Could you suggest me a solution?

PD. we tried to remove a Windows client from the domain, and latter,
register it again. And it seems to work, but we have to waste lots of
time on every client, and we have more or less 300...

Best Regards
-----------------------------------------

Hola a todos,

tengo un pequeño gran problema con una instalación de samba en la
intranet de mi empresa.
En ella, hasta este momento a estado funcionando un controlador de
dominio + servidor wins + servidor de archivos con samba v2. Todo ello
estaba realizado de forma clásica y funciona correctamente.

EL caso, es que ahora hemos decidido incluir una máquina con mayores
prestaciones en la red, y hemos decidido migrar el servicio de una
máquina a otra, para lo que hemos copiado todos los archivos de
configuración de samba (smb.conf, slmhost, mbpasswd, etc) en la nueva
máquina, actualizando con cuidado la IP en que se publica, y su nombre
en el dominio (netlogon), ya que no se ha mantenido igual en ambos
servidores. Por supuesto, hemos importado los datos, los usuarios del
sistema y se cuidado que esté correcto.

El servicio en la nueva máquina se levanta de forma correcta, se hace
controlador de dominio, master browser, etc, y se puede acceder a ella
con smbclient para visaulizar/descargar contenidos. El problema lo
tenemos al arrancar las estaciones Windows, que al querer registrarse en
el dominio dice que "o bien no existe la cuenta de la máquina o la clave
es incorrecta". Las cuentas de las máquinas existen (se crearon en su
dia con smbpasswd -a -m), pero parece ser que la clave autonegociada ya
no es válida.

¿Sabe alguien a que se debe esto? ¿Tiene que ver con la SID? ¿Que es esa
semilla?

Nota: si desregistramos la máquina del dominio y la volvemos a registrar
se solventa el problema, pero hacer esto con 300 ordenadores..

Un saludo a todos,
-- 
Borja Pacheco Ortega
Acisa - Dept. I+D: Desarrollo


More information about the samba mailing list