It's all about the answers!

Ask a question

RTC 5.0.2 IBM i build agent authentication failed


Jon Dockter (611) | asked May 27 '15, 10:53 a.m.
I'm working with an RTC 5.0.2 AIX server that supports SCM and builds.  My org has many apps that run on iSeries so we want to extend the build process to those apps.  I started down the road of installing the build toolkit 5.0.2 on our iSeries dev box, running V7R1, resource ID 5750CL2 with options *BASE and 3 which is the toolkit.  I got the build agent running on the iSeries dev box under my ID 'jdockter' and the default port 6666.  However my build agent build engine back on the AIX RTC server that connects to the iSeries build agent gives me an authentication error, ie AUTH Unable to set user account to *AuthUnknownUser ("jdockter") Authentication Failed.  I ran the telnet test, where xxxxxxx is my real password, and got the following error message...

200 HELLO - BuildForge Agent v8.0.0.1-1-0021

username jdockter
password xxxxxxxx
cmd ping
go
320 AUTH AuthFail[*AuthUnknownUser,"jdockter"]
                                              251 RESULT 1
                                                          260 EOR
 
The logging also confirmed the same message...

Wed May 27 08:26:23 CDT 2015 [  148919] daemon.c        : 131: [*/6666] accepting [9.65.3.5/11328] (sig-9-65-3-5.ibm.com)
Wed May 27 08:26:23 CDT 2015 [  148919] daemon.c        : 156: [9.65.3.5/11328]: attached to pid 148936
Wed May 27 08:26:23 CDT 2015 [  148936] daemon.c        : 149: === NEW AGENT ===
Wed May 27 08:26:23 CDT 2015 [  148936] platform.c        : 192: ICONV ok [ISO8859-1]
Wed May 27 08:26:23 CDT 2015 [  148936] platform.c        :2126: LOCALE ok(LANG) [en_US]
Wed May 27 08:26:26 CDT 2015 [  148936] io.c                  :1575: IO io_gets: invalid char 0x1B
Wed May 27 08:26:26 CDT 2015 [  148936] agent.c            : 761: cleanup
Wed May 27 08:26:26 CDT 2015 [  148919] platform.c        : 260: SIGCHLD(20) 148936 -> bfdaemon: status=0
Wed May 27 08:26:41 CDT 2015 [  148919] daemon.c        : 131: [*/6666] accepting [9.65.3.5/11329] (sig-9-65-3-5.ibm.com)
Wed May 27 08:26:41 CDT 2015 [  148919] daemon.c        : 156: [9.65.3.5/11329]: attached to pid 148940
Wed May 27 08:26:41 CDT 2015 [  148940] daemon.c        : 149: === NEW AGENT ===
Wed May 27 08:26:41 CDT 2015 [  148940] platform.c      : 192: ICONV ok [ISO8859-1]
Wed May 27 08:26:41 CDT 2015 [  148940] platform.c      :2126: LOCALE ok(LANG) [en_US]
Wed May 27 08:26:48 CDT 2015 [  148940] agent.c         : 677: tag: username
Wed May 27 08:26:53 CDT 2015 [  148940] agent.c         : 677: tag: password
Wed May 27 08:27:12 CDT 2015 [  148940] agent.c         : 677: tag: cmd
Wed May 27 08:27:13 CDT 2015 [  148940] agent.c         : 559: tag: go
Wed May 27 08:27:13 CDT 2015 [  148940] agent.c         : 471: agent_process_request
Wed May 27 08:27:13 CDT 2015 [  148940] agent.c         : 340: agent_process_command cmd=[ping]
Wed May 27 08:27:13 CDT 2015 [  148940] agent.c         : 181: agent_authenticate
Wed May 27 08:27:13 CDT 2015 [  148940] agent.c         : 219: AUTH normal
Wed May 27 08:27:13 CDT 2015 [  148940] misc.c          : 435: AUTH failed (creds specified for insecure mode)
Wed May 27 08:27:13 CDT 2015 [  148940] agent.c         : 377: AUTH failed
Wed May 27 08:27:13 CDT 2015 [  148940] agent.c         : 306: ClobberPasswords
Wed May 27 08:27:20 CDT 2015 [  148940] io.c            :1575: IO io_gets: invalid char 0x1B
Wed May 27 08:27:20 CDT 2015 [  148940] agent.c         : 761: cleanup
Wed May 27 08:27:20 CDT 2015 [  148919] platform.c      : 260: SIGCHLD(20) 148940 -> bfdaemon: status=0
Is there something I'm missing for my 'jdockter' id to give it authority to connect to the build agent on the iSeries?

One answer



permanent link
Jon Dockter (611) | answered May 27 '15, 1:38 p.m.
It seems that I have resolved the issue by updating the bfagent.conf to use the magic_login attribute with my ID and a encrypted password based on this tech note http://www-01.ibm.com/support/docview.wss?uid=swg21295611...for example

magic_login jdockter:e5939b63015fe7e64ce884ee04b7ae6e786c1aea58d58084

I'm not longer getting the error, but rather get this response...

Connection test started...
Message: Socket created successfully.
Authentication Pass.
Platform: os400 1 7
Version: 8.0.0.1-1-0021
PingResult: PingOk
ExitStatus: 0

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.