in reply to Re: NetAdmin::UserCreatein thread NetAdmin::UserCreate
That was the only error I could see wit hte perl, the rest is likely in the actual permissions you are trying to set?
Is there a way to get more information out of the error messages?
$target = Win32::OLE-> GetObject("WinNT://$server"); print "OLE Error: ".Win32::OLE->LastError)."\n"; $user = $target-> Create("user", wacka); print "OLE Error: ".Win32::OLE->LastError)."\n"; $set=$user->SetInfo; [download]