NT4 SSPI support

Will Miles wmiles at sgl.com
Thu Sep 11 15:19:08 EDT 2008


Hi,

I've been trying to get Subversion to run on some legacy NT4 machines here at the office.  Unfortunately, it fails out when calling ne_sock_init(), which I've tracked down to the SSPI subsystem.  Apparently Windows NT 4.0 doesn't support the "Negotiate" package, which causes the call to getMaxTokenSize in initDll() to return an error, which propagates all the way back up.

I've attached a patch to work around this by accepting that case without returning an error and setting a flag checked in ne_sspi_create_context to bail out early if the "Negotiate" mechanism is requested but not supported.  Unfortunately Subversion doesn't seem to use this code through any of the paths that I can exercise in my current environment, so I have no way to test this (other than the fact taht the initialize call now succeeds and things proceed normally after that point).  

Could someone better versed in SSPI comment on this patch?  If it looks OK, could it be included in the mainline release?

Thanks,

-Will Miles
Sander Geophysics Ltd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nt4_sspi.patch
Type: application/octet-stream
Size: 1301 bytes
Desc: not available
Url : http://lists.manyfish.co.uk/pipermail/neon/attachments/20080911/a2d4a5ad/attachment-0005.obj 


More information about the neon mailing list