You need to have smbmnt in /bin (may also work if it's in /sbin - but I
haven't tried that) Just create a link from /bin (or copy into /bin).

Regards Phill Dew

Net Connection Pty. Ltd.
Web: http://www.netconnection.com.au

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Mantes
Apostolos
Sent: Saturday, 20 April 2002 6:39 AM
To: [EMAIL PROTECTED]
Subject: Invalid reference to smbmnt

Greetings

I recently downloaded a RPM samba binary 
---samba-2.2.3a-20020206.i386.rpm---

I am able to mount dirs as root from windows PCs but when I use the same

command inside the root's crontab file, mounting fails

I did a "strings /usr/sbin/smbmount |grep smbmnt"

and got /usr/bin/smbmnt

using "ln -s /usr/sbin/smbmnt /usr/bin/smbmnt" seems to correct my
problem

However I am intrested in knowing the reason for which the script fails
when 
executed within the crontab  and does not fail when executed from a bash
shell

Keep up the good work

Mantes Apostolos


Reply via email to