Authentication failed error while portal server console login

Hi All,

Today i download the Sun One Enterprise suite and installed in my laptop to evaluate the sun one portal system. I am facing some problems related to console login and it would be helpful if some one could throw some light on this ( though it being a big post :) ).

1. While installing it asked me for DNS name and i gave a DNS name though i would connect my laptop to other domain also. Here, since i have given a domain already, if i connect my laptop to some other domain and access the portal server console, it gave DNS error and i solved it by disabling my browser proxy. Now, i am able to see the console.

2. The actual issue is, even after giving correct user name/password, it throws

"Authentication failed. Try again, Go to Login" error.

Interesting part here is, after this error i am able to access the portal desktop by giving

http://<host>:81/portal/dt

I accessed the console just after installation. I have not done any configuration other than while installing.

I am getting following logs in the access.log file of Directory Server.

[05/Aug/2005:17:03:48 +051800] conn=40 op=-1 msgId=-1 - fd=1292 slot=1292 LDAP connection from 148.98.169.71 to 148.98.169.71

[05/Aug/2005:17:03:48 +051800] conn=40 op=0 msgId=394 - BIND dn="cn=amldapuser,ou=DSAME Users,dc=test,dc=com" method=128 version=2

[05/Aug/2005:17:03:48 +051800] conn=40 op=0 msgId=394 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=amldapuser,ou=dsame users,dc=test,dc=com"

[05/Aug/2005:17:03:48 +051800] conn=40 op=1 msgId=395 - SRCH base="dc=test,dc=com" scope=2 filter="(uid=admin)" attrs="dn uid"

[05/Aug/2005:17:03:48 +051800] conn=40 op=1 msgId=395 - RESULT err=0 tag=101 nentries=0 etime=0

My questions are:

1. Why i am getting this error. Any configuration I need to do?

2. The user name/password i have given in the console was the one i have entered while installing the product. Any other user name i have to create?

3. By any chance, is this error related to DNS/Domain problem i have explained already?

4. Also, i need a step-by-step tutorial on how to setup a new desktop/configure new users right after installing the product. Is it available anywhere. I am not able to find anything.

It would help my evaluation if somebody help me in solving this issue.

Thanks

[2416 byte] By [GreenJava] at [2007-11-25 19:53:49]
# 1

I did not really understand what the problem with the domain/hostname or so is you mentioned but lets set it aside and assume that it doesnt cause any further problems for now.

About your questions:

1) With which user do you try to login?

"amadmin" is default name for the administrative user.

Did you rename him or do you try to log in with another user?

"amadmin" is probably the only user which "works" just after installing.

When you go to portal/dt, are you logged in or are you on the anonymous desktop? If you did not make any changes you shold get either a login channel or a Userinfo channel.

This way you should be able to see if you are logged in.

Also important for you:

Logfiles for access manager and portal are by default placed in the folder /var/opt/SUNWam/. There is a debug and logs folder.

These loggings are most of the time more helpfull than the directory server logs.

To get a finer logging edit the file /etc/opt/SUNWam/AMConfig.properties

There is a line "...=error". Replace error with message and restart the webserver/appserver-domain.

hth Chris

CRabel at 2007-7-4 13:30:17 > top of Java-index,Web & Directory Servers,Portal Servers...