adduser script

2005-02-23 Thread OBecker
So I'm trying to make a happy little adduser script. If found a snippet on technet and I'm having one small issue. What is the right way to update the first name and last name fields as they appear in active directory users and computers snapin? What I have found so far: use Win32::NetAdmin; use

RE: adduser script

2005-02-23 Thread Webb, Andy
I'd chuck it and use Win32::OLE.   use Win32::OLE;   $adserver = "mydc.mydomain.com";$container = "cn=Users";$domainNamingContext = "dc=mydomain,dc=com";$admin = "cn=administrator,dc=DOMAIN,cn=admin";$pass = "password";   # Connect to the container$adsPath = "LDAP://$adServer/$container,$doma

Bitmap Display

2005-02-23 Thread henry
OK folks, here's my dilemma. I'm not a TK or Win32:GUI user and am not sure if they are the right tools for this. I'm trying to display a bitmap with a JPG/BMP/GIF file to tell people to wait while the script runs. I'd also like to include a little caption below the pic. I guess I'm looking to m