Soap problems for non-admin users :(

22 views
Skip to first unread message

Roger Moffatt

unread,
Dec 11, 2010, 7:21:00 PM12/11/10
to ifolder-ubun...@googlegroups.com
Making good progress now ...

I have built 3.8.0.3 from source and have Mono JIT compiler version 2.4.4 (Debian 2.4.4~svn151842-1ubuntu4) running on a distro updated Ubuntu Lucid virtual instance.

What works;
1) Admin web interface
2) ifolder web interface
3) Clients (mac / pc)

BUT I'm having real probs getting the soap interface to work for normal users. For the admin user, everything works fine, but when I try to access a service as a normal user (who can access the web interface and clients OK), I get the following in my Simias debug logs. Note that this log has 2 calls - one from the admin user that works, and then one from a regular user that fails.

2010-12-12 00:09:58,141 [-1238500496] DEBUG Simias.Security.Web.AuthenticationModule - In verify[rincipalfromrequest: soapmethod is GetDefaultDomainID
2010-12-12 00:09:58,142 [-1238500496] DEBUG Simias.DomainProvider - domainID 44d8ede6-f534-476c-bb71-f82a694859b7
2010-12-12 00:09:58,142 [-1238500496] DEBUG Simias.Server.Authentication - Authenticate called
2010-12-12 00:09:58,144 [-1238500496] INFO  Simias.Server.Authentication - Authenticated User iS : 44387022-8033-40f5-b226-e1d0fc8c5ac9:admin Success
2010-12-12 00:09:58,156 [-1238500496] DEBUG Simias.Server.Authentication - id.Auth : localhost ip is :https://ifolder.mindsizzlers.com/simias10
2010-12-12 00:09:58,156 [-1238500496] DEBUG Simias.Server.Authentication - id.Auth : this persons homeadd ip is :https://ifolder.mindsizzlers.com/simias10
2010-12-12 00:09:58,158 [-1238500496] DEBUG Simias.Storage.Collection - Member Count 1 Owner Count 0
2010-12-12 00:09:58,158 [-1238500496] DEBUG Simias.Storage.Collection - Current Owner ID fc9b1c1a-f161-4809-89bb-2c8759bd8ba8 Name admin
2010-12-12 00:09:58,158 [-1238500496] DEBUG Simias.Storage.Collection - Node Owner ID fc9b1c1a-f161-4809-89bb-2c8759bd8ba8 Name admin Owner true
2010-12-12 00:09:58,158 [-1238500496] DEBUG Simias.Storage.Collection - Member Count 1 Owner Count 1
2010-12-12 00:09:58,164 [-1321575568] DEBUG Simias.Server.Catalog - Member fc9b1c1a-f161-4809-89bb-2c8759bd8ba8 modified in collection 44d8ede6-f534-476c-bb71-f82a694859b7
2010-12-12 00:09:58,218 [-1238500496] DEBUG Simias.Security.Web.AuthenticationModule - In verify[rincipalfromrequest: soapmethod is GetiFolders
2010-12-12 00:09:58,218 [-1238500496] DEBUG Simias.DomainProvider - domainID 44d8ede6-f534-476c-bb71-f82a694859b7
2010-12-12 00:09:58,218 [-1238500496] DEBUG Simias.Server.Authentication - Authenticate called
2010-12-12 00:09:58,219 [-1238500496] ERROR Simias.Server.Authentication - Input string was not in a correct format.
2010-12-12 00:09:58,219 [-1238500496] ERROR Simias.Server.Authentication -   at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000]
  at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000]
  at System.String.Format (System.String format, System.Object[] args) [0x00000]
  at Simias.SimiasLog.Debug (System.String format, System.Object[] args) [0x00000]
  at Simias.Server.Authentication.Authenticate (Simias.Storage.Domain Domain, System.Web.HttpContext HttpCtx) [0x00000]

If I now try a user that doesn't exist, 

2010-12-12 00:13:58,187 [-1238500496] DEBUG Simias.Server.Authentication - Authenticate called
2010-12-12 00:13:58,187 [-1238500496] DEBUG Simias.Server.Authentication - nouser is not member of simias

Which is correct.

I should add that if, using a browser, I visit https://<fqdn>/simias10 to test the authentication, I get EXACTLY the same issue and same simias logs, so this points to the authorisation side of things rather than anything soap related. To repeat, I can login at this endpoint as the administrator just fine, but ANY other user fails.

I'm running out of ideas as what I should be looking at ... any clues?

Roger

PS. The exact packages used for building were ...


ARGH PPS ... penny dropping ... I have just noticed those are CLIENT simias files and not the SERVER ones ... I wonder if that is the issue ... looks like I might have to rebuild it all again!!




csights

unread,
Dec 11, 2010, 10:45:47 PM12/11/10
to iFolder-Ubuntu-Debian-Android-dev
Probably you are doing more advanced stuff than most people reading
this mailing list!

The official (AFAIK) mailing list for the ifolder developers is linked
below. They might be more able to mind meld with you than most of
us...

http://sourceforge.net/mailarchive/forum.php?forum_name=ifolder-devel

If you happen to create a Ubuntu package for the plugins let us
know! :)
Reply all
Reply to author
Forward
0 new messages