in reply to Remote Win32 User Authentication
I think you encounders the LogonAsUser bug that incorrectly returns 1.
You should use this routine to check the LogonAsUser routine
(cf: Win32 Perl Programming, You should really buy this book).Win32::AdminMisc::LogonAsUser( $Domain, $User, $Password); $UserName=Win32::AdminMisc::GetLoginName(); print "Failed to logon" if ( lc $User ne lc $UserName);
At least, this is how I understood it from my NT courses.
---------------------------
Dr. Mark Ceulemans
Senior Consultant
IT Masters, Belgium
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Win32 User Authentication
by AcidHawk (Vicar) on Oct 29, 2002 at 05:30 UTC |