[Samba] hangin when listing named pipes

Kaj Mikkelsen kmi at vitesse.com
Tue Sep 3 07:48:59 GMT 2002


Hi

Even when you are not opening the pipe, but just listing it in cygwin, or trying to see the properties in explorer, you will have this problem:
Does anybody know how to disable named pipes in samba?
Or how you can kill the connection from the client side?
And no, setting    "nt pipe support" to no, doesn't fix the problem.
/Kaj


Symptom: 
Samba daemon hanging when trying to open a named pipe.

Environment:
Samba version 2.2.5
RedHat 7.2
Kernel 2.4.18 compiled with support for largefiles.
Client is Win2000 sp 2

How to reproduce:

Unix side
Go to your home directory (If it is exported by samba)
make a named pipe: mkfifo .tst

Window side.
Open your homedirectory in explorer.
Click on .tst


Diagnostics on the samba server:
ps -ef | grep smbd | grep <yourname>
strace -p <PID of your smbd process>

It should be hanging in an open statement
open(".tst", O_RDONLY|O_LARGEFILE <unfinished ...>


Recover:
rm .tst from unix in your hoemdirectory

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list