Home: Perl Programming Help: Win32 Programming Help:
Win32::AuthenticateUser



fmc_alfredo
New User

Jan 23, 2009, 2:30 AM


Views: 5112
Win32::AuthenticateUser

Hi,
sorry for my bad english, I have a problem with user authentication on Win NT domain using Win32::AuthenticateUser per module.

If the password contain the special character £ the authentication fail: Ex. $password = '£123abc'

With a normal password Ex. $password = '123abc' the authentication work fine.

help me.

The script is:


Code
use Win32::AuthenticateUser; 

$user = 'TESTUSER';
$pwd = '£badpassword';
$dominio = 'NTDOMAIN';

$ff = AuthenticateUser($dominio, $user, $pwd);

print "$ff\n";