Problem with smbmount on RedHat 6.0

Michael H. Warfield mhw at wittsend.com
Wed Nov 17 18:09:47 GMT 1999


On Thu, Nov 18, 1999 at 05:05:08AM +1100, Shanwei Cen wrote:
> Hi there,

> Recently I tried to mount a partition from NT 4.0 on a RedHat 6.0 box
> (Linux kernel version 2.2.5-15) by using smbmount. Everything is fine
> except that the date/time on the files and directories in the mounted
> partition is totally wrong. 

	This has been hashed over several times in the Samba, Linux-kernel,
and RedHat lists.  The RedHat stock 2.2.5 kernel was built incorrectly
with the WIN95 bug workaround enabled.  This causes the bytes of the
timestamp to be reversed on Windows NT shares.

	The solution, now, is to upgrade to the latest kernel (2.2.12),
which autodetects Windows 95 connections and switches the bug workaround
transparently, and the new smbmount from Samba 2.0.6.  The compile time
option to the kernel which was incorrectly configured in the RedHat 2.2.5
kernel has now been removed from the kernel.

> For example, following are the date/time shown on the RedHat box:
> 
> drwxr-xr-x   1 shanweic csrl          512 Jul  3  1997 ./
> drwxr-xr-x   1 shanweic csrl          512 Feb  8  2025 ../
> -rwxr-xr-x   1 shanweic csrl          614 Jan 10  1902 nic-install.txt*
> -rwxr-xr-x   1 shanweic csrl         1753 Aug 29  2029 smb-mount.txt*
> 
> While the correct date/time as shown by my NT box are:
> 
> 11/16/99  05:29p        <DIR>          .
> 11/16/99  05:29p        <DIR>          ..
> 11/12/99  01:25p                   614 nic-install.txt
> 11/16/99  07:11p                 1,753 smb-mount.txt
> 
> I wonder how I can fix this problem. Are there any parameters I missed?
> Does RedHat 6.1 fix the problem? Or do I need to get a patch from some
> whare?
> 
> Thanks,
> -- 
> Shanwei Cen
> Email: shanwei.cen at tek.com

-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw at WittsEnd.com
  (The Mad Wizard)      |  (770) 331-2437   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!



More information about the samba mailing list