(no subject)
Aug. 14th, 2009 10:22 pmWell. I may not have any writing to show for the last couple of days, but I DO have a perl script well over a thousand lines long that will take a complete ldif pulled from our current LDAP server (with over 4000 users), convert the entire thing over to a completely different LDAP topology from the top down that is entirely dissimilar, then write the whole thing into a mysql database from which a new ldif can be generated to import into the new LDAP server.
End positive results?
1) I don't have to paste over all my users to the new server by hand
2) I now have a mysql backend to my LDAP server, can do all my ldap management with the database, and just push the changes over to the ldap server's BDB backend whenever needed.
3) NO MORE RELYING ON SUCKFUL CRASHY CORRUPTY BDB
4) It's completely transparent to both the users and LDAP itself.
5) All the software out there that can authenticate to mysql but not LDAP? Hey, now I can use that too!
6) My employee who had three years to learn LDAP versus my two and a half weeks, who opined before he left on vacation that there was no way I could get this done before he gets back on Monday is WRONG.
End negative results?
7) LDAP dreams. I've had two now, and I'm reasonably certain that if I have three I can apply for disability.
8) No writing.
9) oooo ouch, the carpal tunnel. )-:
Surprising results?
10) unpacked an iMac because it's been more than a decade since I've played with one, and I haven't done much with it before now, but wow, it's *great* for having a lot of terminal sessions open at once.
Still testing to do (I've been using a much smaller version of my ldif so far), but it's looking pretty good! Especially if you consider I'd never really even looked at LDAP until a few weeks ago, and I haven't written anything in perl other than tinkering with my Insane Book Database for almost a decade.
ETA: tried the full ldif: 4148 entries at 191,066 lines, and there are a few oddities that aren't transferring correctly. A big part of that is that I'm not sure quite what to do with them anyway. I can fix this tomorrow, but right now my brain says she's done for the night.
End positive results?
1) I don't have to paste over all my users to the new server by hand
2) I now have a mysql backend to my LDAP server, can do all my ldap management with the database, and just push the changes over to the ldap server's BDB backend whenever needed.
3) NO MORE RELYING ON SUCKFUL CRASHY CORRUPTY BDB
4) It's completely transparent to both the users and LDAP itself.
5) All the software out there that can authenticate to mysql but not LDAP? Hey, now I can use that too!
6) My employee who had three years to learn LDAP versus my two and a half weeks, who opined before he left on vacation that there was no way I could get this done before he gets back on Monday is WRONG.
End negative results?
7) LDAP dreams. I've had two now, and I'm reasonably certain that if I have three I can apply for disability.
8) No writing.
9) oooo ouch, the carpal tunnel. )-:
Surprising results?
10) unpacked an iMac because it's been more than a decade since I've played with one, and I haven't done much with it before now, but wow, it's *great* for having a lot of terminal sessions open at once.
Still testing to do (I've been using a much smaller version of my ldif so far), but it's looking pretty good! Especially if you consider I'd never really even looked at LDAP until a few weeks ago, and I haven't written anything in perl other than tinkering with my Insane Book Database for almost a decade.
ETA: tried the full ldif: 4148 entries at 191,066 lines, and there are a few oddities that aren't transferring correctly. A big part of that is that I'm not sure quite what to do with them anyway. I can fix this tomorrow, but right now my brain says she's done for the night.