[staf-users] Authenticator on local and remote

2009-08-25 Thread jander...@talentex.co.uk
I am writing an authenticator, starting from the sample one. I am at the stage where it seems to basically work on local. However, when I try to use it to authenticate on a remote machine, it fails with a peculiar message, but I suspect it is just me doing something wrong. This is the scenario

Re: [staf-users] Authenticator on local and remote

2009-09-07 Thread jander...@talentex.co.uk
Hi Sharon, Sorry for not getting back to you before - yes, I had left out the bit where I return the encrypted credentials from AUTHENTICATE. Thank you for helping. This leads me to another question - I have my people working in a large network. The will log on to a number of servers, all of w

[staf-users] Problems building on AIX

2009-10-12 Thread jander...@talentex.co.uk
Two problems: 1. I am trying to build STAF on AIX (oslevel -r: 5200-00, compiler is VisualAge 6.0.0.0), and I get the following message: /repo/staf/src/staf/connproviders/tcp/makefile.connprov_tcp:134: warning: overriding commands for target `/repo/staf/rel/aix64/staf/retail/lib' /repo/staf/sr

[staf-users] Compiling and linking STAF services on UNIX

2009-10-12 Thread jander...@talentex.co.uk
I have been developing a number of services on Linux, and now I need to port them to other UNIXes - most notably AIX (4, 5, 6), Solaris (8, 9, 10) and HP-UX (11.00, ...). As I have discovered, this is not extirely as simple as running make on said platforms and depending on gcc to work everywhe

[staf-users] process start shell [...] ?

2009-10-16 Thread jander...@talentex.co.uk
When I try to specify a shell other than the default, I get an error: # staf local process start shell /bin/ksh command ls parms -l /etc Error submitting request, RC: 47 Additional info --- Invalid shell command: /bin/ksh I have of course made sure that /bin/ksh exists and is execut

Re: [staf-users] Compiling and linking STAF services on UNIX

2009-10-16 Thread jander...@talentex.co.uk
.e xlC for AIX, aCC for HPUX). > > Thanks, > David > > David Bender > STAF/STAX Development > IBM Software Group, WPLC > > 11501 Burnet Rd. > Bldg. 903-5B002 > Austin, TX 78758-3400 > > Phone (T/L): 1-512-286-5315 (363-5315) > ITN: 23635315

[staf-users] Documenting a parser?

2009-10-19 Thread jander...@talentex.co.uk
Is there a standard way of documenting a STAF parser? I can see that I can extract the information easily enough, but before I do it my own way, I just though I should check, so I don't reinvent the wheel. What I want to make is something that can dump out a help text like, eg: INFARES

Re: [staf-users] Documenting a parser?

2009-10-20 Thread jander...@talentex.co.uk
onally specify 0 or more FILE and/or DIRECTORY > options: > > UNZIP ZIPFILE TODIRECTORY >[FILE ]... [DIRECTORY ]... >[RESTOREPERMISSION] [REPLACE] > > ------ > Sharon Lucas > IBM Austin, luc...

[staf-users] Duplicate symbols on AIX 5.2?

2010-04-15 Thread jander...@talentex.co.uk
Why is it, when I try to build on AIX 5.2 I get a long list of duplicatie symbols - and do they matter: /usr/vacpp/bin/xlC_r -c -o infauth.o -q64 -DSTAF_OS_NAME_AIX -DSTAF_GETHOSTBYNAME_R_3PARM -DSTAF_GETHOSTBYADDR_R_5PARM -O -DSTAF_SHARED_LIB_PREFIX=lib -DSTAF_SHARED_LIB_SUFFIX=.so -DSTAF_NAT

Re: [staf-users] Duplicate symbols on AIX 5.2?

2010-04-15 Thread jander...@talentex.co.uk
il: bda...@us.ibm.com > WPLC > > > > > > > > > >

[staf-users] Interface to STAFCommandParserImpl?

2010-06-15 Thread jander...@talentex.co.uk
I need to write a piece of code to print the contents of a parser - this is because I load my parser from an external source - and I can see that STAFCommandParserImpl is the struct that contains the data I want to list; but there is no interface. Is there any recommended method to get at these

[staf-users] A first shot at a self-documenting parser interface

2010-06-22 Thread jander...@talentex.co.uk
I have been messing about with the code in STAFCommandParser, and I thought it might be of use to others; also, it would be quite nice if somebody felt inspired to give the code a shove or two, now that I have begun. One may ask why I waste my time doing this, since most parsers presumably are

Re: [staf-users] A first shot at a self-documenting parser interface

2010-06-24 Thread jander...@talentex.co.uk
; RELEASE POOL ENTRY [FORCE] > CANCEL POOL > [FORCE [MACHINE ] [HANDLE | NAME Name>]] > [ENTRY ] [PRIORITY ] [FIRST | LAST] > VERSION > HELP > > -- > Sharon Lucas > IBM Austin, luc...

[staf-users] STAF incommunicado?

2010-07-13 Thread jander...@talentex.co.uk
I have a curious problem that I can't quite figure out; I have installed STAF 3.3.3 (as far as I remember) on several servers, in the following I try to reach the one on fox. If I try from another machine: # staf fox help help Error registering with STAF, RC: 21 But netstat on fox says: fox #

[staf-users] php?

2010-08-24 Thread jander...@talentex.co.uk
There doesn't seem to be a port of the STAF API to php - are there any plans? It would be very useful to be able to call into STAF from php, in my view. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Pr

[staf-users] Symbol not found?

2011-03-31 Thread jander...@talentex.co.uk
I have created a simple authenticator a long time ago and I am porting it to other platforms, but I suddenly have a problem on Solaris 10 (32 bit): root@fluffy # ./STAFProc Caught STAFException Name : STAFException Location : /opt/dev/autobuild/build/src/staf/stafif/STAFDynamicLibraryInlI

[staf-users] Problem with ssl

2011-04-26 Thread jander...@talentex.co.uk
System: AIX 4.3 SSL: openssl-1.0.0d, compiled from source STAF: STAF 3.3.2, built from source I can't communicate with other servers - here on Debian Linux; I get the following message on the remote server: STAFProc version 3.3.2 initialized 20110426-17:41:53;1086876560;0100;Error in server

Re: [staf-users] Problem with ssl

2011-04-26 Thread jander...@talentex.co.uk
firewall. Section > "3.1.4 Why can't my STAF machines communicate?" in the STAF FAQ at > http://staf.sourceforge.net/current/STAFFAQ.htm#STAF%20machines%20can%27t%20communicate%20due%20to%20DNS%20issues > > talks about how to resolve this issue. > > ---

Re: [staf-users] Problem with ssl

2011-04-28 Thread jander...@talentex.co.uk
"3.1.4 Why can't my STAF machines communicate?" in the STAF FAQ at > http://staf.sourceforge.net/current/STAFFAQ.htm#STAF%20machines%20can%27t%20communicate%20due%20to%20DNS%20issues > > talks about how to resolve this issue. > > -- > Sharon Lucas > IBM Austin,

[staf-users] make loops?

2011-06-30 Thread jander...@talentex.co.uk
I have a strange problem building on Linux Itanium; these are my environment settings: export PROJECTS="staf connprov*" export OS_NAME=linuxia64 export BUILD_TYPE=retail export STAF_USE_IPV6= export STAF_USE_SSL=1 export OPENSSL_ROOT=/usr/local/ssl export PATH=$PATH:/usr/local/bin export LD_LIBRAR

Re: [staf-users] make loops?

2011-06-30 Thread jander...@talentex.co.uk
--- > Sharon Lucas > IBM Austin, luc...@us.ibm.com > (512) 286-7313 or Tieline 363-7313 > > > > > From: "jander...@talentex.co.uk" > To: staf > Date: 06/30/2011 05:29 AM > Subject:[staf-us

[staf-users] DeviceService.d

2009-02-10 Thread jander...@talentex.co.uk
What is DeviceService.d about? When I try to build the device service sample, I get the following: makefile:35: /services/sdg_sample/DeviceService.d: No such file or directory make: *** No rule to make target `/services/sdg_sample/DeviceService.d'. Stop. Or is it something about a path I need

[staf-users] Parser problem (?)

2009-04-28 Thread jander...@talentex.co.uk
Using STAF 3.3.2 on Linux; I have created a parser in a service (infares), that is causing me some peculiar problems and I am a bit at a loss. This is what happens: First time I enter a command, eg: staf local infares list resclass xxx restype yyy ... - it works fine. Next time, if I change th

[staf-users] Return codes in Linux?

2009-05-05 Thread jander...@talentex.co.uk
I have a curious problem, but I am not sure if it is me or STAF, I defined three new return codes, 4001, 4002, 4003, but they are not returned correctly to the shell (ksh): # infares request resname tut Error submitting request, RC: 7 Additional info --- You must have at least 1, but

[staf-users] Two questions: STAFMapClassDefinition and line length

2009-05-12 Thread jander...@talentex.co.uk
I have a couple of questions - the first is about returning formatted lists: At the moment I return a list of objects to the user by calling STAFMapClassDefinition::create() and addKey(), which is very convenient. Is it possible to do it on the fly? I want to be able to receive a format string