You must first use NetUserGetInfo before you use NetUserSetInfo. Or you can
use NetUserSetProp for one or two properties without first calling
NetUserGetInfo.

Your command should be :

-----Original Message-----
From: Veeraraju_Mareddi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 09, 2001 10:02 AM
To: 'Bingham, Robert'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Bug in Lanman module?


I am also having problem in setting user attributes.It always bails out with
a error.Evrery thing is fine it seems

Win32::Lanman::NetUserSetInfo("\\\\hot-ws332","\\\\hot-ws332\\Administrator"
,{'password' => 'testpassword'})

Can anybody anser this..
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to