On Wed, 2 Aug 2000, Bojana Bjeljac wrote: (questions on use and bug reports are more appropriate in samba@samba.org, not on samba-technical. If you subscribed to samba-technical you may want to subscribe to samba@samba.org instead/also)> I have Samba 2.0.7 ( configured with "--with-smbwrapper" and "-smbmount" > options ), running on RedHat 6.0 and I mount Win2000 shares with > "smbmount \\server\share /mount -U userid%passwd".Do you have the samba rpm installed too? If yes, then remove the rpm (or the smbmount & smbmnt files from the rpm) to avoid running the wrong binaries.> It works fine for some time, and then the shares get lost giving > Input/Output errors in > mounted directory. > > It seems like smbmount runs as a daemon after the command was being > executed and times out causing I/O errors.No, it's not really that it times out. smbmount is supposed to run as a daemon. The server may terminate the connection (if it is rebooted or just because it felt like it), smbfs will then tell smbmount to connect again. For this to work smbmount must stay alive, if it doesn't you will start seeing I/O errors when the connection needs to be re-established. I assume that when it stops working smbmount has stopped running? If you type 'dmesg' there should be some messages matching '*smb_*' You can try this patch vs smbmount in 2.0.7. It may fix this "time out" problem, but if it doesn't it allows you to safely run with debug enabled. http://www.hojdpunkten.ac.se/054/samba/smbmount-2.0.7-fixes.patch Debug output from when it runs as a daemon will be put where you normally log samba things (/usr/local/samba/var/log.smbmount). If you don't run smbmount as root you may need to check your permissions. /Urban
Hello, I am getting lots of errors from smbmount, Debian unstable, Samba 2.0.7, on Linux 2.2.15. These com from various shares mounted on the Linux server, OS/2 Warp and NT. Where do I get some information about these messages ? If they are only debug, how do I disable them ? Thanks in advance, Alvaro Reguly ================smb_lookup: find //chkdsk.log failed, error=-13 smb_lookup: find //chkdsk.old failed, error=-13 smb_lookup: find //chkdsk.log failed, error=-13 smb_lookup: find //chkdsk.old failed, error=-13 smb_proc_readdir_long: name=VENDI.NTX, entries=237, rcls=1, err=18 smb_get_length: recv error = 5 smb_request: result -5, setting invalid smb_retry: sucessful, new pid=449, generation=2 smb_file_write: reserva/pergunta.ok validation failed, error=4294967294 smb_get_length: recv error = 5 smb_request: result -5, setting invalid smb_open: dbf/reserva.dbf access denied, access=0, wish=1 smb_open: dbf/reserva.dbf access denied, access=0, wish=1 smb_open: dbf/cancela.dbf access denied, access=0, wish=1