Re: [Samba] smbmount failed

2006-09-22 Thread WingHei Au

In fact I have fixed the problem now. I have compiled smbmnt, but I have
not placed the samba files in the install directory that specificed at the
compile time, or placed in the $PATH (I have placed it in /tmp for
testing...). So the smbmount cannot find smbmnt. It is fixed after I
modify the $PATH.

However, I have another question, smbmnt accesses a file /etc/mtab,
which is sometimes read-only in an embedded system. I have modified the
codes so that it now access a dummy file in /tmp. smbmnt seems to be
working now but is there any potential problem?

Thanks!

Hei

On 9/22/06, Adam Nielsen [EMAIL PROTECTED] wrote:


 execvp of smbmnt failed. Error was No such file or directory.smbmnt
 failed:
 1

Did you compile and install the helper program 'smbmnt'?  On my system
it appears in /usr/bin/smbmnt

Cheers,
Adam.


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


[Samba] smbmount failed

2006-09-21 Thread WingHei Au

Hi all,

I am trying to cross compile samba version 2.2.12 to an ARM platform (kernel
2.4.20)

using arm-tools chain 3.4.2.

I get the smbmount compiled, however, when I want to mount a directory that
is located

in a Windows XP PC, I get the following message:

WARNING: The strip dotoption is deprecated
unrecognized character set
handle_source_env: Failed to open file , Error was Success
WARNING: The alternate permissionsoption is deprecated
WARNING: The statusoption is deprecated
WARNING: The postscriptoption is deprecated
WARNING: The printer driveroption is deprecated
WARNING: The printer driver fileoption is deprecated
WARNING: The printer driver locationoption is deprecated
Unable to copy service - source not found:
execvp of smbmnt failed. Error was No such file or directory.smbmnt failed:
1

And I cannot mount the directory. I do not think that it is related the
permission

problem because when I use wrong username/password or try in some wrong
target paths,

it can report me the corresponding error message.

I have tried another tool - smbclient, which works perfectly! Seems that I
am just not

able to mount with smbmount.

Can anyone one elp me to solve this problem? Thanks a lot!

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