Good news! All your old NT4 perl code will (should?) work just the way it
does now. Just make sure your code is pointing to the AD domain controller
that has the PDC emulator role.

However, to take advantage of all the new wonders of AD, you will need to
learn LDAP. You can use ADSI, or you can use Net::LDAP - the choice is
yours.

Advantages of ADSI:
1. Microsoft code, so perhaps less risk.
2. Faster, since all the "heavy lifting" is compiled code.
3. Integrated NT authentication.

Disadvantages:
1. IMHO, resulting code is slightly more obtuse (but a VB programmer would
probably think the converse).
2.  Only runs on windows platforms.

I have done a fair amount of AD programming using Net::LDAP, and so far,
I've not run into any issues (other than the Net::LDAP docs are short on
detail and examples). It is slow, but this is to be expected since the Net::
modules are all pure Perl - no C code. On the other hand, it is fast enough
for me. I have a program that syncs phone numbers and address from an Oracle
table to about 5000 AD user objects - it runs in about 3 minutes on a 450MHz
machine.

-----Original Message-----
From: drenning, bruce [mailto:bdrenni@;catholicrelief.org]
Sent: Tuesday, October 22, 2002 9:37 AM
To: '[EMAIL PROTECTED]'
Subject: to ADSI or not to ADSI, advice please


I've got a stable NT domain that I've been running for years. All account
admin for my domain, Exchange server, linux, etc is pretty much automated w/
cmd scripts, perl using AdminMisc (thanks Dave), & various cmd line
utilities. I'm happy & get/set any attribute I need.

However, the servers are very old & performance is starting to suffer (our
PDC is 133 MHz). When I get new servers, I plan to upgrade to win2k & AD.

My question is, will I need to learn about ADSI to perform user adds & set
various attributes (such as: Primary Group, User Must Change pw at next
logon, Grant dialin perms) or can I shuffle by with what I've got under NT?
Also, I guess, if I can shuffle by, should I? Are there definite benefits to
using ADSI? Can I do this easily enough in perl or must I look at vbscript?
TIA

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to