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