I installed STAF on Ubuntu 8.10.  The installer added the necessary path
information and what not into the /etc/profile.  I edited the /etc/rc.local
file to boot STAF upon login.

I then edited STAF.cfg to include the following (replacing actual
user/pass):

"# Grant access to all machines and users
trust user *://* level 5

#set default user name and default shell
SET DEFAULTHAUTHUSERNAME username DEFAULTAUTHPASSWORD password
SET DEFAULTSHELL "su 5u -c %C""

When I run /usr/local/staf/bin/STAFProc I get the following error:

"Error on SET statement, SET DEFAULTAUTHUSERNAME username
DEFAULTAUTHPASSWORD password You may have no more then 0 arguemtn (s). You
specified 1 argument (s). The first excess argument is, DEFAULTAUTHUSERNAME
username.
Error reading config file."

If I remove the SET parameters then I no longer get the error and STAF will
start normally.  Obviously this isn't a fix as I need those parameters in
there.  I have another computer with Ubuntu 8.10 on it that has the exact
same parameters in the STAF.cfg file and it has no issues.  I've put SET in
around 20 computers with STAF and have never seen this be an issue.

Has anyone seen this issue before, or know some steps to try?
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to