Added caching of user password if it was entered via getpass. We were already
authorMichael Warfield <mhw@samba.org>
Sun, 14 Feb 1999 23:15:54 +0000 (23:15 +0000)
committerMichael Warfield <mhw@samba.org>
Sun, 14 Feb 1999 23:15:54 +0000 (23:15 +0000)
commite588ffdaa8c9840482a52b1bca44701c3813598c
tree4f59538e11cbb27bbf3c77be8d23d794f5bd88c2
parent3a0818ceb174f865dffea9c86693219a0c616a87
Added caching of user password if it was entered via getpass.  We were already
caching the password if it came from the command line or from the environment.
This completes the set and deals with the bloody nusance when reconnecting
a connection after we have gone daemon...  Grrr...

Added code to clean up the mount point following a catastrophic failure
during reconnect.  The smbmount daemon was exiting but leaving the mount
point in an unusable state.  If smbmount must exit following a reconnect
failure, we "unmount" the mount point and clean up mnttab.  Currently,
the unmount works, fixing some really ugly I/O errors and failure when
trying to remount.  The cleanup on mnttab still has problems.  This
is better than what it was and doesn't break anything that wasn't broken
before, so I'm committing this in even with the mnttab problem.  Will
commit the fix to that when I figure out what is busted there...

-mhw-
(This used to be commit ad8389804cec6c6bf04601a1d7bb3fb7aa8c2274)
source3/client/smbmount.c