in reply to Re: NetAdmin::UserCreate
in thread NetAdmin::UserCreate

Thanks for getting back to me. My orginal testing had them without the quotes. I just tried it again by removing the quotes, but the output is the same failure, 87.

Replies are listed 'Best First'.
Re^3: NetAdmin::UserCreate
by clscott (Friar) on Nov 08, 2004 at 12:25 UTC

    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
      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.