Subversion Authentication using Apache 2.2 + OpenLDAP 2.2 on Windows Platform
Setting up Subversion Authentication to use with Apache 2.2 + OpenLDAP 2.2 in Windows is like… arrrggghhhh…..
I’ve tried setting up the same thing on Mac & Linux machine without any problems.
I think it should be very easy and if I follow the manual instructions correctly, but it isn’t…
So, its all about Apache module called mod_authnz_ldap.
I’m sure I did the right thing when setting up this module. But I always get 500 Internal Server Error when accessing subversion repository from browser.
And apache log just show me [Protocol Error]…???
And OpenLDAP log, show more interesting message, [Invalid size limit]
I’ve ask to uncle Google “why”, and he bring me to http://issues.apache.org/bugzilla/show_bug.cgi?id=37814.
It’s actually MS LDAP fault :|, they don’t meet the standard requirements.
To solve the problem I have to patch mod_auth_ldap. But no…, I don;t like to patch and recompile the Apache… (I’m not expert at this)
Again, I tried to find an alternative way to solve this problem by Google, and I found an interesting page.
I found another mod_auth_ldap at (http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html)
And then I tried to set it up… and BANG!!!!
It works as I expected…
It supports Apache 2.2 (beta, no problem… I just wanted to make it work… )
Easy to install, and give a clear configuration examples.
So try that. I haven’t found any issue here… :p
Good luck…
update: I’m not telling you about subversion ha? :p - I’ll write it later







