Re: Ayuda Cambiar nombre de host mi Debian

2013-09-06 Por tema Camaleón
El Thu, 05 Sep 2013 21:57:36 -0400, academia escribió:

 Saludos listeros. Por alguna razón tuve que cambiar el nombre de algunas
 PCs de mi red local(Todas con Debian 6), estas unidas al dominio.
 
 Al tratar de entrar por la red a una de estas PCs con su nuevo nombre me
 sale:
 
 No se pudo montar el lugar
 Falló al montar la compartición Windows

¿Y el registro de sucesos de Windows te dice algo?

 Los pasos que seguí en un inicio, fueron editar los ficheros:
 
 # gedit /etc/hostname (cambié por el nuevo nombre_host)
 
 # gedit /etc/hosts
 
 127.0.0.1 localhost.localdomain   localhost
 192.168.1.30  nombre_host nombre_host

Esas dos cosas son las que dicen aquí:

Rename a computer
https://wiki.debian.org/HowTo/ChangeHostname

 # gedit /etc/samba/smb.conf
 
 [global]
 security = domain
 netbios name = nombre_host
 password server = 192.168.1.2
 workgroup = ACADEMIA
 idmap uid = 1000-1999
 idmap gid = 1000-1999/ ...
 
 Y finalmente, Reiniciar la PC
 
 Me sugieren qué hacer.

Primero, intenta acotar el problema y comprueba que desde otros clientes 
con linux puedes acceder sin problemas. Después, comprueba si puedes 
acceder desde Windows a través de la IP en lugar del nombre del equipo. Y 
por último, revisa la documentación de samba al respecto:

***
Change of hostname
http://www.samba.org/samba/docs/man/Samba-Guide/upgrades.html

Change of hostname

Samba uses two methods by which the primary NetBIOS machine name (also 
known as a computer name or the hostname) may be determined: If the 
smb.conf file contains a netbios name entry, its value will be used 
directly. In the absence of such an entry, the UNIX system hostname will 
be used.

Many sites have become victims of lost Samba functionality because the 
UNIX system hostname was changed for one reason or another. Such a change 
will cause a new machine SID to be generated. If this happens on a domain 
controller, it will also change the domain SID. These SIDs can be updated 
(restored) using the procedure outlined previously.
Note

Do NOT change the hostname or the netbios name. If this is changed, be 
sure to reset the machine SID to the original setting. Otherwise there may 
be serious interoperability and/or operational problems. 
***

Saludos,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2013.09.06.13.37...@gmail.com



Ayuda Cambiar nombre de host mi Debian

2013-09-05 Por tema academia
Saludos listeros. Por alguna razón tuve que cambiar el nombre de algunas
PCs de mi red local(Todas con Debian 6), estas unidas al dominio.

Al tratar de entrar por la red a una de estas PCs con su nuevo nombre me
sale:

No se pudo montar el lugar
Falló al montar la compartición Windows


Los pasos que seguí en un inicio, fueron editar los ficheros:

# gedit /etc/hostname (cambié por el nuevo nombre_host)

# gedit /etc/hosts

127.0.0.1   localhost.localdomain   localhost
192.168.1.30nombre_host nombre_host

# gedit /etc/samba/smb.conf

[global]
security = domain
netbios name = nombre_host
password server = 192.168.1.2
workgroup = ACADEMIA
idmap uid = 1000-1999
idmap gid = 1000-1999/ ...

Y finalmente, Reiniciar la PC

Me sugieren qué hacer.



--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/60627.10.0.1.2.1378432656.squir...@www.correo.pinarte.cult.cu