Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: NetAdmin::UserCreate

by clscott (Friar)
on Nov 08, 2004 at 12:25 UTC ( [id://406034]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://406034]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-16 17:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found