[Samba] Help! Looking for the smbmount-nomtab.patch and smbmount-mtab-flags.patch

2007-09-17 Thread hch
I have cross-compiled smbmount(smbmnt, smbclient) using samba-3.0.24.tar.gz,
then ported them to an ARM Arch machine whose /etc directory is read only.
The smbmount command always results in errors """Can't get /etc/mtab~ lock
filesmbmnt failed: 1"""

Someone says that If we rebuild samba with the smbmount-nomtab.patch and
smbmount-mtab-flags.patch, it would work fine using 'smbmount -n' - no mtab
problem anymore.

Does the samba-3.0.24.tar.gz have the patches, where can i find them??

thanks.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] cross-compile smbmount problem

2007-09-13 Thread hch
hi, all
  I just cross-compiled the "smbmount" using "samba-3.0.24" soure,

  1st: run configure
  ./configure --host=arm-linux --prefix=/tmp/samba --with-smbmount

  2nd: fix config.h
  CFG="include/config.h"
  echo "#define HAVE_GETTIMEOFDAY_TZ 1">> $CFG
  echo "#define HAVE_IFACE_IFCONF 1" >> $CFG

  3rd: run make && make install

  Then, I ported the "smbmount, smbmnt, smbumount, smbclient" to the arm
machine,
  I got following output when runnig "smbmount //192.168.1.125/samba
/diska/smb":

  """# smbmount //192.168.1.125/samba /diska/smb
  params.c:OpenConfFile() - Unable to open configuration file
"/tmp/samba/lib/smb.conf":
  No such file or directory
  Can't load /tmp/samba/lib/smb.conf - run testparm to debug it
  Password:
  Can't get /etc/mtab~ lock filesmbmnt failed: 1
  """

I wonder why the smbmount had to check the smb.conf? Anything i can do to
avoid opening the smb.conf when running smbmount?

Another question is when i accessing the "/diska/smb", it says "Input/output
error",
so i can't take any operation with the mounted smbfs. what else i need to
do?

thanks.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba