SSO Help

An Online Community for Identity & Access Management Professionals

Hello All,

I have a Apache 2.x server that uses Siteminder  for authentication. The
authentication works fine for almost all web resources, except for WebDAV
access.

I have couple of directories that I need to make WebDAV accessible. If
these directories are protected by siteminder, my WebDAV client fails to
connect. I think this is happening because siteminder uses cookies to
manage authorization/authentication, and the WebDAV client does not
understand cookies.

I have changed the siteminder agent type tp add "OPTION, HEAD, PROPFIND, COPY.." webagent actions but that did not help.

Has anyone been able to enable WebDAV for Siteminder controlled resources?
Any ideas? Here is the log from my webdav client:


3/Jan/2012:15:20:23 -0800 [23127] -> PROPFIND /abc/xyz HTTP/1.1
23/Jan/2012:15:20:23 -0800 [23127] <- 404 text/html 4ms
23/Jan/2012:15:20:23 -0800 [23128] -> PROPFIND /abc/xyz HTTP/1.1
23/Jan/2012:15:20:23 -0800 [23128] <- 207 text/xml; charset=UTF-8 5ms
23/Jan/2012:15:20:28 -0800 [23129] -> PROPFIND /abc/xyz HTTP/1.1
23/Jan/2012:15:20:28 -0800 [23129] <- 207 text/xml; charset=UTF-8 4ms
23/Jan/2012:15:20:30 -0800 [23130] -> PROPFIND /abc/xyz HTTP/1.1
23/Jan/2012:15:20:30 -0800 [23130] <- 207 text/xml; charset=UTF-8 4ms
23/Jan/2012:15:30:51 -0800 [23131] -> PROPFIND /abc/xyz HTTP/1.1
23/Jan/2012:15:30:51 -0800 [23131] <- 207 text/xml; charset=UTF-8 2ms

Thanks,

Benny

Views: 103

Reply to This

Replies to This Discussion

In the past, WebDAV was officially supported only on SPS (SecureProxyServer) but not regular WebAgents.  However, some people were able to get past this by adding the following methods/verbs to the "Web Agent" agent type:

GET, POST, PUT, HEAD, DELETE, CONNECT, OPTIONS, TRACE, PATCH, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, and UNLOCK

You should then be able to define rules based on those WebDAV methods.



Hi David,

 

Thanks for your response!

I tried adding the above actions for siteminder agent and defined rules for the webdav HTTP methods but it fails displaying a popup window "The folder that you entered does not appear to be valid. Please choose another one" when I try add the webdav resource in Xp netwrok places using "Add netwrok location".

I enter a http url in the non-browser client in a similar way that I enter in a browser, ir works in a web browser fine but not with non-browser client.

Here are the logs when accessed thru non-browser client:

 [23/Jan/2012:15:15:09 -0800] "OPTIONS /abc/xyz HTTP/1.1" 302 538 4821
x.x.x.x - - [23/Jan/2012:15:15:12 -0800] "OPTIONS / HTTP/1.1" 302 529 4835
x.x.x.x - - [23/Jan/2012:15:15:12 -0800] "OPTIONS /abc/xyz HTTP/1.1" 302 538 940
x.x.x.x - - [23/Jan/2012:15:15:12 -0800] "OPTIONS / HTTP/1.1" 302 529 692
x.x.x.x - - [23/Jan/2012:15:15:12 -0800] "OPTIONS /abc/xyz HTTP/1.1" 302 538 740

Here are the logs when accessed thru browser:
x.x.x.x - - [24/Jan/2012:09:36:42 -0800] "GET /abc/xyz HTTP/1.1" 302 534 6495
x.x.x.x - - [24/Jan/2012:09:37:37 -0800] "GET /abc/xyz HTTP/1.1" 302 63 65179
x.x.x.x - - [24/Jan/2012:09:37:37 -0800] "GET /abc/xyz/ HTTP/1.1" 200 589 9408

 

Thanks

Hello David:

 

I was able get around with the access issues with webdav connection. I used HTTP basic auth scheme and then the connection was successful. However, I'm facing the following issues after authenticating with siteminder creds,

1) Any attempt to double click on a file or folder on the right pane of the Explorer does nothing.

2) As another test I started the Windows Paint program and tried to open one of the TIF files that is in the var/dam folder. The files don’t show up in the open dialog.  It feels like an access or permissions issue.

We have an Apache webserver in front of the tomcat appserver both are on the same physical server accessed thru different ports. When we access the app thru Apache(Siteminder ON) we are facing this issue as opposed to when you access the app directly with a different port(without siteminder authnetication, app auth comes into picture here)..

Any ideas on this?

 

Thanks, Benny

  I am not sure how to fix this issue in Apache but I had a similar issue with Web DAV  on IIS7.5.

    When SiteMinder is ON the app was having issues browsing images.  But when SiteMinder is OFF it  worked fine.

 We had to make the following changes in WebDAV config on IIS.

  1) In IIS Manager "Connections" pane, expand "Sites" and select "Default Web Site".
2) Choose "WebDAV Authoring Rules".
3) Select "WebDAV Settings" in the Actions pane.
- Set "Allow anonymous property queries" to True (mainly this one, Below two were already set properly )
- Set "Allow custom properties" to True    
- Set "Allow property queries with infinite depth" to False

  Once this is done. we restarted IIS and it worked fine.  

Thanks, Ram

 

RSS

© 2012   Created by CoreBlox

Badges  |  Report an Issue  |  Terms of Service