[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: TortoiseSVN + neon enabled MIT GSSAPI

From: Ludek Finstrle <ludek.finstrle_at_pzkagis.cz>
Date: 2007-11-16 11:40:42 CET

Thu, Nov 15, 2007 at 07:43:53PM +0100, Stefan Küng napsal(a):
> Alec Kloss wrote:
> >On 2007-11-15 17:32, Stefan Küng wrote:
...
> >>How about you write a little how-to on how to compile neon with GSSAPI?
> >>I then maybe will include that in TSVN so everyone can make use of it?

I can't reach the computer where I compiled TSVN right now.
I try to describe my way:
1) follow the build installation of TSVN
2) donwload kfw-3-2-1-sdk.zip (from MIT krb site)
3) create directory \SVN\common\Kerberos
4) extract (from kfw-3-2-1-sdk.zip) kfw-3-2-1-final\inc\krb5\*.* to
   \SVN\common\Kerberos\include\
5) extract (from kfw-3-2-1-sdk.zip) kfw-3-2-1-final\lib\i386\*.* to
   \SVN\common\Kerberos\lib\
6) Add lines:
#define HAVE_GSSAPI
#define HAVE_GSSAPI_GSSAPI_H
#define HAVE_GSSAPI_GSSAPI_GENERIC_H
before #define HAVE_SSPI in \SVN\TSVN\ext\neon\config.hw.in
(maybe it's enough to change neon.mak - I haven't tried it)
7) Add include path and some gssapi32.lib to the *.build where
   the compilation failed with missing kerberos (gssapi).
   It's (at least):
     \SVN\TSVN\ext\build\neon.build - add include path to
         \SVN\common\Kerberos\include\
     \SVN\TSVN\ext\build\subversion.build - add
         ..\..\..\common\kerberos\lib\gssapi32.lib to
         <link options=""> (after openssl .lib)
   I think there are some more build files to change but I don't remember them.
8) Modify \SVN\TSVN\src\TortoiseProc\TortoiseProc.vcproj
     add ../../../common/kerberos/lib/gssapi32.lib to the end of each
     AdditionalDependencies= (I made only 32-bit version of TSVN)

That's all.

If you're interested in I can create diff file (till Monday).
I've tested it only againist TSVN 1.4.5 source.

> >I'm going to try to find a machine to clean MIT Kerberos
> >off of to try the SSPI later today. IMHO Rapidshare isn't much

I'm looking forward for your message.
I don't understand if SSPI is working with MIT krb present or
you have only tested MIT kerberos auth.
If SSPI (or even whole TSVN) without MIT krb present fail could you try
if SSPI is working with MIT Krb installed but not used?

> It always depends on how big the MIT Kerberos dlls would be and what
> license they're under: we could ship those together with TSVN.

Here is the license:
http://web.mit.edu/kerberos/www/krb5-1.6/krb5-1.6.3/doc/krb5-install.html#Copyright

Thank you very much for replies.

Regards,

Luf

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Nov 16 11:40:56 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.