Accessing PDS from Linux

K

Kevin

I have a custom application written in Java that accesses the PDS WebServices
to add tasks and assignments to projects. Works fine from my WinXP PC, but
when deployed on a Linux server, where I intend to run it as a scheduled job,
it gets 401 error during authentication when going to the first redirect.

I'm told this is due to some Windows authentication that is being done that
Linux does not support. Is there any way I can access PDS from a Linux box?
 
S

Stephan Steiner

How do you perform the authentication on the project server?

PDSTest.NET (which shouldn't be too hard to understand for you since Java
and C# are rather similar) outlines two ways of authentication, using a
different url as well as parameters. You have to make sure you're using the
login/password authentication. I presume your Windows machine is part of the
same domain as the project server and you're using domain authentication by
default. This works in that scenario, but even when you're on windows, if
the server is in another domain (our development machine is), standard
authentication will not work and hence you never get to make a PDS call -
you get stuck at the authentication level.

Which URL do you call for authentication? /LgnIntAu.asp without any
parameters, or /LgnPsAu.asp and if the latter, do you make sure you append
the un (username) and pwd (password) parameter? A working example of a l/p
password would look like this:

http://myprojectserver/projectServer/LgnPsAu.asp?un=administrator&pwd=myadminpassword

where administrator/myadminpassword must be a valid login/pass to access the
project server from your webbrowser.

Hope this helps
Stephan
 
K

Kevin

Thanks for the reply, but I'm already using the LgnPsAu.asp URL in the form
you specified with username and password. My understanding is that there is
still some sort of Windows authentication or "handshake" that happens and is
not supported by Linux.

Any other thoughts/ideas?
 
S

Sandro Dadaczynski

is anonymous login allowed on the projectserver ??? if no set anonymous
login on security tab in iis .

sandro
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top