RE: [ActiveDir] Setting "Password Never Expires" for a user from a .vbs

2001-12-05 Thread Joe Sargent
I ran into this problem and built it into my scripting, but I have not used it for some time.   Set adsdomainobj = GetObject("LDAP://ou=test,DC=domainname,DC=com) Set adsuserobject = adsdomainobj.Create("user", "cn=JoeUser"& ) adsuserobject.accountexpirationdate  = datetoexpire   adsuserob

RE: [ActiveDir] Setting "Password Never Expires" for a user from a .vbs

2001-12-05 Thread Joe Sargent
Opps I misread what you wanted.  I was reading account expires not password.  Sorry.  My response was no help.   -JS -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew SaundersSent: Wednesday, December 05, 2001 6:10 AMTo: [EMAIL PROT

RE: [ActiveDir] Setting "Password Never Expires" for a user from a .vbs

2001-12-05 Thread Potter, Russell M
If you wish to set “Password never expires”, use the UserAccountControl attribute. Check Q285395.   Russell Potter Directory Specialist Directory Technologies, Infrastructure Technology, H&I Tel: +61 8 9491 5196 +61 419 638 738 http://www.dir.telstra.com Infrastructure Services