problems changin the ip an netmask
Pupeno
pupeno at pupeno.com.ar
Mon Oct 30 19:19:30 GMT 2000
Hello.
I configured a samba server to work with the ip 10.0.0.200 and the netmask
255.255.255.0, due to changes on the network, now it should be 10.0.1.200 and
the netmask 255.255.0.0, I changed the smb.conf to reflect this
configuration, I changed the hosts file and the dns configuration (Am I
forgeting something).
Before the changes it worked without any problem, but now I have lots of
problem.
Smbd seems to start properly:
[2000/10/30 12:51:24, 1]
/usr/ports/net/samba/work/samba-2.0.7/source/smbd/server.c:main(641)
smbd version 2.0.7 started.
Copyright Andrew Tridgell 1992-1998
nmbd too (I won't paste the nmbd file because it's very long).
But when trying to use the service I get this problems:
# smbclient -L mercury
added interface ip=10.0.1.200 bcast=10.0.255.255 nmask=255.255.0.0
added interface ip=200.42.12.245 bcast=200.42.12.255 nmask=255.255.255.0
session request to MERCURY failed (code 0)
session request to *SMBSERVER failed (code 0)
#
and in the logs I can find:
[2000/10/30 13:04:48, 0]
/usr/ports/net/samba/work/samba-2.0.7/source/lib/util_sock.c:read_socket_data(477)
read_socket_data: recv failure for 4. Error = Connection reset by peer
[2000/10/30 13:05:08, 0]
/usr/ports/net/samba/work/samba-2.0.7/source/lib/util_sock.c:read_socket_data(477)
read_socket_data: recv failure for 4. Error = Connection reset by peer
When trying to log in from a windows client on the domain (samba is the
server of course) I get on the client a message telling me that the user or
password is invalid (while it is valid) and in the server I get:
[2000/10/30 12:31:47, 0]
/usr/ports/net/samba/work/samba-2.0.7/source/lib/util_sock.c:write_socket_data(540)
write_socket_data: write failure. Error = Broken pipe
[2000/10/30 12:31:47, 0]
/usr/ports/net/samba/work/samba-2.0.7/source/lib/util_sock.c:write_socket(566)
write_socket: Error writing 4 bytes to socket 6: ERRNO = Broken pipe
[2000/10/30 12:31:47, 0]
/usr/ports/net/samba/work/samba-2.0.7/source/lib/util_sock.c:send_smb(754)
Error writing 4 bytes to client. -1. Exiting
Do you have any idea of what can be missconfigured ? did I forget something
or what ?
Thank you very much.
--
Pupeno: pupeno at pupeno.com.ar
http://www.pupeno.com.ar
Ps: if you need more information about my system I'll be glad to make it
avalible for you.
More information about the samba
mailing list