I've built ifolder 3.8.0.3 from source using;

http://sourceforge.net/projects/ifolder/files/iFolder%20Server/3.8.0.3/11.1/ifolder3-enterprise.tar.gz/
http://sourceforge.net/projects/ifolder/files/iFolder%20Server%20Plugins/3.8.0.3/11.1/novell-ifolder-enterprise-plugins.tar.gz

I've setup the server (no LDAP) and can interact with it using the /admin
interface, the web access at /ifolder and indeed with clients on Mac and PC.

BUT

I'm writing a simple perl soap client and have a strange issue. I can
authenticate as the administrator OK and perform various functions. However
if I try to login as a normal user I always get a 401 unauthorized at the
client and in my Simias logs, I can see InvalidCredentials : <username>

I can't for the life of me figure out where the problem is. I'm guessing
that somewhere in the access control, only the administrator has access to
the /simias10 endpoint but I can't find where this restriction actually is.

The credentials are correct and work both in the official ifolder client and
for accessing the web ifolder. The SSL cert is self-signed.

Here is my soap trace with redacted details;

SOAP::Transport::HTTP::Client::send_receive: POST
https://my-user-name:[email protected]:443/simias10/iFolderWeb.asmxHTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
Content-Length: 443
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://novell.com/ifolder/webservice/GetiFolders";

<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xmlns:soapenc="
http://schemas.xmlsoap.org/soap/encoding/"; xmlns:xsd="
http://www.w3.org/2001/XMLSchema"; soap:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"; xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/";><soap:Body><GetiFolders xmlns="
http://novell.com/ifolder/webservice/"; xsi:nil="true"
/></soap:Body></soap:Envelope>
SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x9f42ed4)
SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 401 Unauthorized
Cache-Control: no-cache
Connection: close
Date: Mon, 13 Dec 2010 13:18:17 GMT
Pragma: no-cache
Server: Apache/2.2.14 (Ubuntu)
WWW-Authenticate: Basic realm="iFolder"
Content-Length: 0
Content-Type: text/html; charset=utf-8
Expires: -1
Client-Date: Mon, 13 Dec 2010 13:18:17 GMT
Client-Peer: 50.16.217.207:443
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /CN=my-folder-server.com
Client-SSL-Cert-Subject: /CN=my-folder-server.com
Client-SSL-Cipher: DHE-RSA-AES256-SHA
Client-SSL-Warning: Peer certificate not verified
Set-Cookie: ASP.NET_SessionId=59F85DED6FF090B700A5796A; path=/simias10
Simias-Error: InvalidCredentials
X-AspNet-Version: 2.0.50727

Can anyone shed some light on what I'm doing wrong?

Roger
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
ifolder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ifolder-devel

Reply via email to