bao wrote:> Sometimes, we are reported that the network is busy, and the drives are
> not mapped.
> I have recently put in a more detailed log level (7 or so), and got this
> log when this error happens.
>
> There are two error messages, happened on the same logon.
>
> 1.
>
> [2002/01/16 10:26:15, 5] smbd/connection.c:claim_connection(138)
> trying claim /var/lock/samba STATUS. 100000
> [2002/01/16 10:26:15, 5] smbd/reply.c:reply_special(150)
> init msg_type=0x81 msg_flags=0x0
> [2002/01/16 10:26:15, 0] lib/util_sock.c:write_socket_data(545)
> write_socket_data: write failure. Error = Connection reset by peer
> [2002/01/16 10:26:15, 0] lib/util_sock.c:write_socket(570)
> write_socket: Error writing 4 bytes to socket 6: ERRNO = Connection
> reset by peer
> [2002/01/16 10:26:15, 0] lib/util_sock.c:send_smb(759)
> Error writing 4 bytes to client. -1. Exiting
> [2002/01/16 10:35:36, 5] smbd/connection.c:claim_connection(138)
> trying claim /var/lock/samba STATUS. 100000
> [2002/01/16 10:35:36, 5] smbd/reply.c:reply_special(150)
> init msg_type=0x81 msg_flags=0x0
> ...............................
This is a client timeout: the network is
quite slow, and the client threw up it's
hands and dropped the connection.
If you're not using wins, turning it on
will help cut down on windows name system
blathering and use a more reliable mechanism,
thus helping to avoid timeouts.
If you're already running wins, you need
to ask what's making it busy: I used to be able
to bring my PCs down by running a backup in
the daytime (four full-blast tcp streams!)
Look for something unexpected...
>
> 2. This message is in the middle of the log.
>
> [2002/01/16 10:35:36, 3] smbd/password.c:authorise_login(764)
> ACCEPTED: validated uid ok as non-guest
> [2002/01/16 10:35:36, 5] lib/username.c:user_in_netgroup_list(254)
> Unable to get default yp domain
> [2002/01/16 10:35:36, 3] smbd/service.c:make_connection(441)
> Connect path is /anonftp/pub
> [2002/01/16 10:35:36, 3] smbd/password.c:setup_groups(197)
That sounds like a yp failure: are you using yp/nis?
If not, samba's dome something odd...
--dave
--
David Collier-Brown, | Always do right. This will gratify
Performance & Engineering | some people and astonish the rest.
Americas Customer Engineering, | -- Mark Twain
(905) 415-2849 | davecb@canada.sun.com