lkml.org 
[lkml]   [1999]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: smbfs still timing out
On 29 Mar, brent verner spewed forth:
:: around line 620 in client/clientutil.c change
::
:: pstrcpy( smb_login_passwd );
:: to
:: pstrcpy( password, pass );
::
:: smb_login_passwd does not appear anywhere else,
:: so i assume this to be a very safe little hack.
::
:: attaching gdb shows that password and got_pass
:: are both good (when password is entered at Password:
:: prompt) in the forked smbmount. everything
:: looks good for it to reconnect properly.
::
:: brent waiting-for-NT-to-close-the-socket-so-i-can-see-
:: if-this-hack-worked verner
::
:: [BTW, the reason i was able to reconnect w/o problems
:: (the 20+hours) is that there was a NULL password.]
::
::

I'll try that and see what happens.

BTW, something else occurs to me. What happens when the NT box is
rebooted (as they always are! :/)? I get the same -3 error on the
samba_retry as if it timed out. Any ideas on reconnection? Ideally,
samba would keep retrying the connection with the UID/PWD of the user
who started smbmount, until either it reconnects, or is killed.

Is this what's supposed to happen? If so, it doesn't seem to work so
well.
Also, on a kernel note ('bout time we mentioned it, since we're on a
kernel mailing list! ;) ), would it be a bad thing to undef the
SMB_PARANIOA flag? or maybe change it to the SMB_DEBUG.. flag?



--
Matthew Vanecek
Course of Study: http://www.unt.edu/bcis
Visit my Website at http://people.unt.edu/~mev0003
For answers type: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
*****************************************************************
For 93 million miles, there is nothing between the sun and my shadow
except me. I'm always getting in the way of something...



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.080 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site