It's all about the answers!

Ask a question

WARNING: Login failed - no domain specified


Jirong Hu (1.5k9295258) | asked Sep 25 '14, 1:14 p.m.
I am getting this error whiling using the following Perl code:

my $conn = new BuildForge::Services::Connection('servername', 3966);
#$conn->authUser('root', 'password');
#$conn->authUser('bldforge', 'password');
$conn->authUser('bldforge02', 'password');

It works with user root and bldforge, but got this error for user bldforge02. I can use bldforge02 to login from BF web GUI and the security guys find no difference between bldforge and bldforge02. What can be wrong?


 Sep 25, 2014 11:26:05 AM com.buildforge.services. server.api.AuthContext loginLdap

WARNING: Login failed - no domain specified

Sep 25, 2014 11:26:05 AM com.buildforge.services. server.api.APIServerConnection process

WARNING: !!!

com.buildforge.services. common.api.APIException: API: Authentication Error.

                at com.buildforge.services. server.api.AuthContext. loginLdap(AuthContext.java: 879)

                at com.buildforge.services. server.api.AuthContext. loginBase(AuthContext.java: 787)

                at com.buildforge.services. server.api.AuthContext.login( AuthContext.java:687)

                at com.buildforge.services. server.api.commands. AuthCommands.doLoginUser( AuthCommands.java:160)

                at com.buildforge.services. server.api.commands. AuthCommands.doLogin( AuthCommands.java:331)

                at com.buildforge.services. server.api.commands. AuthCommands.invoke( AuthCommands.java:88)

                at com.buildforge.services. server.api. APICommandProcessor.process( APICommandProcessor.java:261)

                at com.buildforge.services. server.api. APIServerConnection. handleRequest( APIServerConnection.java:206)

                at com.buildforge.services. server.api. APIServerConnection.process( APIServerConnection.java:153)

                at com.buildforge.services. server.dispatch.handler. BufferedConnection.run( BufferedConnection.java:243)

                at java.util.concurrent. ThreadPoolExecutor$Worker. runTask(ThreadPoolExecutor. java:665)

                at java.util.concurrent. ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:690)

                at java.lang.Thread.run(Thread. java:810)

One answer



permanent link
Spencer Murata (2.3k115971) | answered Sep 25 '14, 2:01 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
 The error is when trying to log into a LDAP user without specifying the domain.  So root and bldforge are probably local BF users, but bldforge02 is a LDAP user and should be logged in using DOMAIN\bldforge02 where DOMAIN is the domain as logically named in BF.

~Spencer

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.