Discussion Locked

how to automate user acconts?

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Right now we have a custom web/php/perl app that runs on Apache and Red Hat. It lets teachers take their classes to the web page and create their own accounts. Once a teacher validates these (ie. no bogus accounts allowed), they are added by perl scripts into our NT domain as user accounts. I have two main problems:
1. this was all written and set up by our last admin and I have ZERO experience with any of the non-NT stuff.
2. the staff love it, but when we migrate to Active Directory, it will stop working.

What suggestions can you give me about possible commercial solutions, or even just re-writing the perl to work with Active Directory.

thanks!

3 replies

by erikdr

2) On ADS you can do similar stuff, but indeed through different calls. ADSI inside VBScript is probably best, but don't forget that ADS requires a lot more fields to have a useful value filled in!
1) PERL on NT or W2K can be learnt of course, but you could also try to migrate it to an environment that you _do_ master like VBScript. The actual system calls will probably be similar, it's just the language constructs which would need a more complex rewrite.

HTH,

- The Netherlands

by techserf

I'm the admin that wrote the original system. I'm not sure about the comment "you_do_master" VBScript, I'm sure there are a number of unix/cgi/perl people who would comment on that.
I chose PERL because I needed to learn one language that is crossplatform for network management, PERL is killer for all that and more.
Anyhow, PERL does support ADSI interface to Active Directory.
http://isg.ee.ethz.ch/tools/realmen/det/adsi.en.html gives a good description of how to do this. Or, hold on to your hats, when I have time I'll rewrite the system for InActive Directory and relase it GPL on sourceforge.

This discussion is closed to new replies.