This post originated from an RSS feed registered with Ruby Buzz
by Daniel Berger.
Original Post: Learning Net::LDAP in a hurry
Feed Title: Testing 1,2,3...
Feed URL: http://djberg96.livejournal.com/data/rss
Feed Description: A blog on Ruby and other stuff.
I've been tasked with the moving an old Perl/CGI app from an old server to a new server. And when I say old, I mean OLD. This app is soooo old...
"How....old...is it?"
Thanks for asking. It's so old, it uses OraPerl and Net::LDAPapi! It was written in 1996 which, in computer years, falls into the category of "frickin ancient".
While OraPerl still builds alright (after wading through gobs of red tape to get an Oracle client installed *with* the dev header files), I absolutely cannot get Net::LDAPapi to build. It's a dead module, replaced by Net::LDAP around 1998.
The only solution I see, short of rewriting the app from scratch (no thanks), is to replace the Net::LDAPapi stuff with Net::LDAP. The bad news is that I don't really know LDAP or the API, so I'm learning both in a hurry. The good news is that there's not a lot of code to update, with only three short files affected.