Cannot copy files from Samba 2.0.6 to NT 4.0 (SP6)

Mac dmccann at nibsc.ac.uk
Tue Sep 5 14:36:51 GMT 2000


Hi there,

>[2000/08/31 14:25:07, 0] lib/util_sock.c:write_socket(191)
> write_socket: Error writing 4 bytes to socket 5: ERRNO = Broken pipe
>[2000/08/31 14:25:07, 0] lib/util_sock.c:send_smb(606)
>  Error writing 4 bytes to client. -1. Exiting
>[2000/08/31 14:25:20, 0] lib/util_sock.c:write_data(415)
>  write_data: write failure. Error = Broken pipe
>
>Is it possible (by cranking up the debug level) to find out
>'which' client is actually having the problems?

You could try adding:-

	log file = /usr/local/samba/var/log.%m


to the global section of your smbd.conf, then as each client connects it
Samba will write the errors for that client to its own log file.

Couple that with:-

        include = /usr/local/samba/etc/%m.smb.conf

and you can have different global settings for each client.  In the individual
'%m.smb.conf' files I normally only have one line:-

	debug level = 5

Don't worry.  You don't have to have a %m.smb.conf file for every
client, Samba will silently(ish) skip over the 'include =' line if
there's no file matching '%m.smb.conf'


Hope this helps,

                               Mac
          Assistant Systems Adminstrator @nibsc.ac.uk
                        dmccann at nibsc.ac.uk
   Work: +44 1707 654753 x285      Everything else: +44 7956 237670 (anytime)




More information about the samba mailing list