ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-admin
perl-win32-admin
AD-USER module
by Joseph Tacuyan other posts by this author
Jun 15 2006 12:28AM messages near this date
view in the new Beta List Site
RE: w2k corrective action for service | Creating a Public Folder Using ADO
Howdy list,

Does anyone here been able to use this module, can lend a hand on how to start it I'm having
 trouble with the ADS_CONNECT_STRING and USER_REFERENCE_STRING,  any example will do, do hav
e to use this without specific binding to my AD? 


use Win32::AD::User

 $user = AdUser-> new( ADS_CONNECT_STRING, USER_REFERENCE_STRING );

 The new function returns an Win32::AD::User object. The function takes 2
 scalars; ADS_CONNECT_STRING and USER_REFERENCE_STRING. The
 ADS_CONNECT_STRING can be a valid LDAP or WinNT ADsPath string. More
 information about a valid ADsPath String is available via the Win32::OLE
 documentation. The USER_REFERENCE_STRING is the username of the account
 you would like to either create or modify.


Thanks n advance,

/joseph

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved