policy agent for IIS 5.0

Hi,

I have an access manager 2004Q2. I want to control access over an IIS5.0 server. During the installation of the policy agent everyhting seems to go fine, but after a reboot, it looks like nothing happened.

On the access manager machine, I could not find a new IIS directory in /etc/opt/SUNWam/agents (eventhough a directory for the apache agent appears here).

And on the IIS machine, I have the config files and stuff in C:\sun\identity_server but nothing was created at the IIS root. I think an amagent dir should have been created here, just like for apache, no?

I even listened to network traffic with ethereal from the AM machine when installing the agent, and I couldn't see anything relevant.

And finally last thing that proves that the agent is not doing its job, access to IIS is not restricted.

Hope someone can give advices where to look...

[899 byte] By [ben78a] at [2007-11-27 2:01:29]
# 1
HiiDid U get solutions for this issue. If u get pls let me know
sthalupurua at 2007-7-12 1:41:37 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
I did this ages ago, but to get it working, you need a couple of DLLs that you might not have in place (or might to remove them, not sure, but I posted this elsewhere). Name was similar to mscvrt.dll.I wish I remembered better!Ankush
ankushkapoora at 2007-7-12 1:41:37 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3
If it is really a dll issues, you need the following dlls:msvcp70.dll, msvcr70.dllThey are part of Microsoft Visual studios. You can also contact Sun Support to get these dlls.shivaram
shivarambhata at 2007-7-12 1:41:37 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4

Hi

I installed policy agent 2.0 for IIS5.0, After Installation I m redirecting the screen to Amserver/cosole when i tried to open my application.After authentication i m getting HTTP 500 error. I tried with Request.ServerVariables("LOGON_USER") variable to find the user from session,but its not showing any username.

If i did the same in IIS 6.0 I m getting next page i my application,(my user name too when i tried with Request.ServerVariables("LOGON_USER") )

pls help me its very urgent.

sthalupurua at 2007-7-12 1:41:37 > top of Java-index,Web & Directory Servers,Directory Servers...
# 5

Hi,

This is my amAgent.properties file in IIS5.0 agent configured to asp application

com.sun.am.policy.am.cookieName = iPlanetDirectoryPro

com.sun.am.policy.am.namingURL = http://test88.sunidm.com:80/amserver/namingservice

com.sun.am.policy.am.loginURL = http://test88.sunidm.com:80/amserver/UI/Login

com.sun.am.policy.am.library.loginURL =

com.sun.am.policy.am.logFile = D:/Sun/Identity_Server/Agents/2.0/debug/D__DDRIVE_HelpDesk/amAgent

com.sun.am.policy.am.serverLogFile = amAuthLog

com.sun.am.policy.am.logLevels = 4

com.sun.am.policy.agents.logAccessType = LOG_BOTH

com.sun.am.policy.am.username = test_agent

com.sun.am.policy.am.password = aHowuQuwohB404ivWY6HPQ==

com.sun.am.policy.am.sslCertDir = D:/Sun/Identity_Server/Agents/2.0/iis/cert

com.sun.am.policy.am.certDbPrefix =

com.sun.am.policy.am.trustServerCerts = true

com.sun.am.policy.am.notificationEnabled = true

com.sun.am.policy.agents.agenturiprefix = http://test05.sunidm.com:85/amagent

com.sun.am.policy.agents.locale = en_US

com.sun.am.policy.am.notificationURL = http://test05.sunidm.com:85/amagent/UpdateAgentCacheServlet?shortcircuit=false

com.sun.am.policy.am.urlComparison.caseIgnore = true

com.sun.am.policy.am.cacheEntryLifeTime=3

com.sun.am.policy.am.userIdParam=UserId

com.sun.am.policy.agents.accessDeniedURL =

com.sun.am.policy.agents.unauthenticatedUser=anonymous

com.sun.am.policy.agents.anonRemoteUserEnabled=True

com.sun.am.policy.agents.urlRedirectParam=goto

com.sun.am.policy.agents.instanceName = unused

com.sun.am.policy.agents.reverse_the_meaning_of_notenforcedList = false

com.sun.am.policy.agents.notenforced_client_IP_address_list =

com.sun.am.policy.agents.do_sso_only = true

com.sun.am.policy.am.headerAttributes=cn|common-name,ou|organizational-unit,o|o rganization,mail|email,employeenumber|employee-number,c|country

com.sun.am.policy.agents.is_postdatapreserve_enabled = false

com.sun.am.policy.agents.postcacheentrylifetime = 10

com.sun.am.policy.agents.cdsso-enabled=false

com.sun.am.policy.agents.cdsso-component.URL =

com.sun.am.policy.agents.version=2.0

com.sun.am.policy.agents.client_ip_validation_enable = false

com.sun.am.policy.am.ias_SLB_cookie_name = GX_jst

com.sun.am.policy.am.loadBalancer_enable = false

com.sun.am.policy.agents.fqdnDefault = test05.sunidm.com

com.sun.am.policy.agents.fqdnMap = test88.sunidm.com

This is error message in log file of agent amAuthlog

2007-05-08 16:57:57.726Error 2820:00C54F98 PolicyEngine: am_policy_evaluate: InternalException in Service::getPolicyResult with error message:No Action Decision found and code:19

2007-05-08 16:57:57.726 1282820:00C54F98 RemoteLog: User admin was allowed access to http://test05.sunidm.com:85/.

And iam not able to find the ames6.dll. can you pls give th e exact path where i can get that file and put it in the respective folder.

Pls help me urgent...

Thanks in Advance

Rgds

Sai Kumar T

Message was edited by:

sthalupuru

Message was edited by:

sthalupuru

sthalupurua at 2007-7-12 1:41:37 > top of Java-index,Web & Directory Servers,Directory Servers...
# 6

From the PA debug logs is the agent able to authenticate with the AM server? Are there any authentication errors in /var/opt/SUNWam/debug/amApplication?

since you have com.sun.am.policy.agents.do_sso_only = true I don't think there shouldn't be any policy decisions involved so the error you received is strange.

Aaron_Andersona at 2007-7-12 1:41:37 > top of Java-index,Web & Directory Servers,Directory Servers...
# 7

Hi,

I m getting this error in Access manager /accessmanager/logs/

2007-05-09 12:43:27""User admin was allowed access to http://test.sunidm.com:85/."amAuthLog"Not Available""Not Available""Not Available""Not Available""Not Available""Not Available"uid=test_agent,ou=agents,dc=sunidm,dc=com"Not Available"

Message was edited by:

sthalupuru

sthalupurua at 2007-7-12 1:41:37 > top of Java-index,Web & Directory Servers,Directory Servers...
# 8

That is just basically the remote log from the policy agent and it doesn't help much. It looks like the "test_agent" agent is working fine since it is in the logs.

Perhaps you could turn full debug on the AM server and look at the amComm log and examine all the traffic between the policy agent and the AM server and see if anything looks funny.

Aaron_Andersona at 2007-7-12 1:41:37 > top of Java-index,Web & Directory Servers,Directory Servers...