I would assume that that means that the domain in question is not accepting logons from the machine u are running this from. If it works with a net use but not AdminMisc then the perl process doesn't have some permission to "change logons" as far as the domain is concerned. I think the LogonAsUser requires some impersonate privilege in the OS but I'm not totally sure. Dave Roth is probably the only one who truly knows how that thing works.
Matte ne. At 09:37 PM 9/13/05 +0900, [EMAIL PROTECTED] wrote: >Hello, > >Anyone have an experience to use Win32::AdminMisc::LogonAsUser >to logon to a new donaim? > >I have an experience on different user in the same local, >but not to new dmain. This is my first script. >I can logon by hand of cause. >The below script says (in Japanese): >-- >Win32 Logon Error: Client has no privilege. >LogonAsUser end, new user = Administrator >-- -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede malis" 00000100 _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
