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

NTLM lookup within hook script

From: Gleason, Todd <tgleason_at_impac.com>
Date: Tue, 21 Oct 2008 19:36:28 -0700

I'm trying to write a pre-commit hook script along the lines of
svnperms. The script needs to do an NTLM lookup on the user committing
the transaction, find the groups for the user, and determine whether the
user has write access to all the svn paths in the transaction based on a
config file. Has anyone done or seen anything like this? It seems like
most of the NTLM information I can find is centered around
authenticating, when you have a userid and password, but here all I
think I have is a userid, and I want to do the lookup using the account
that the svn server is running under.

 

The svn server is version 1.5.2 with Apache, running on a Windows
server. I'm hoping to implement the script in Python though I don't
mind if I have to call into something else for the NTLM lookup.

 

Please note that due to our network topology, we can't use LDAP, and we
would prefer not to deal with a hand-coded users/groups permissions
file.

 

--Todd

 
Received on 2008-10-22 04:36:54 CEST

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

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