HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] smbfax COMMAND FAILED resolution



Hi,

I also had the notorious command failed message and resolved it doing the following.

1. Ensure that user has shell privileges (eg make sure that the user sending the fax has /bin/bash in etc/passwd). Most Important !!

2. If your users have spaces in their full names (like most people do ;)), edit line 118 smbfax-html.pl to make it:

my @arguments = ('-f', "\"$identity\"", # note the additional quotes

3. Do the same for line 130 to make it:

push (@arguments, ('-y', \"$clocation\"))

4. re-compile smbfax-html

cc -o smbfax-html smbfax-html.c

BTW: Someone mentioned that this problem has to do with the perl script not being able to setuid. If you feel that this is the case, check the permissions of the dat files in the smbfax $TEMP dir..

Voila !

Regards,

Donovan

S n a p f r o z e n  S o l u t i o n s

http://www.snapfrozen.com.au






Disclaimer:

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed.

If you have received this email in error, please notify the
addressee by return email.


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions