in reply to Re^2: NetAdmin::UserCreate
in 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?

--
Clayton

Replies are listed 'Best First'.
Re^4: NetAdmin::UserCreate
by Anonymous Monk on Nov 08, 2004 at 18:29 UTC
    I decided to use Win32::OLE instead. Win32::OLE worked perfectly, Ex:
    $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;

    Thanks for your feedback.