[Bug 16905] CommitMonitor: Application could not connect to repository

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 29 11:40:47 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=16905


Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net




--- Comment #1 from Anastasius Focht <focht at gmx.net>  2009-03-29 11:40:47 ---
Hello,

no the problem lies in libneon SSPI support used for SSL sessions.
Neon implements SSPI wrappers for both, Negotiate and Ntlm auth and it expects
*both* to be available on Windows (at least for initialization sequence).

See initDll() in: http://svn.webdav.org/repos/projects/neon/trunk/src/ne_sspi.c

Wine doesn't expose Negotiate, corresponding Wine snippet:

--- dlls/secur32/secur32.c ---
static void SECUR32_initializeProviders(void)
{
    HKEY key;
    long apiRet;

    TRACE("\n");
    InitializeCriticalSection(&cs);
    cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs");
    /* First load built-in providers */
    SECUR32_initSchannelSP();
    /* Do not load Negotiate yet. This breaks for some user on the wine-users
     * mailing list as of 2006-09-12. Without Negotiate, applications should
     * fall back to NTLM and that should work.*/
#if 0
    SECUR32_initNegotiateSP();
#endif
    SECUR32_initNTLMSP();
...
--- dlls/secur32/secur32.c ---

The comment dates back to 2006 and as of now the Negotiate provider is still a
stub.
Anyway this basically stops all libneon based open source/commercial apps from
working (init sequence).

For the time being replace #if 0 with #if 1 to get libneon based apps to work.
Even with Negotiate being a stub this will work because libneon always uses
Ntlm first when creating a context and falls back to Negotiate only in case of
failure.

I've seen your "bronze" rating in appdb.
Not being able to monitor repositories defeats the whole purpose of the app
hence it should deserve "garbage" instead of "bronze".

If you're looking for an advanced SVN monitor with nice features you might also
want to check "SVN Monitor" (.NET 2.0 based) -> http://www.svnmonitor.com/
Though that one uncovers other deficiencies (Wine lacking dciman support).

Regards


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list