Hi,
I'm trying to authenticate through a page, on an NT server. The main difference, seems to be the support of user:pass@domain.com (which works fine on UNIX style servers). I've tried using built in features of the Win32 Perl;
Win32::AuthenticateUser::AuthenticateUser("domain.com", "pdfdwn", "the-password") || die $Win32::GetLastError;
However, this doesn't seem to actually log in :/
The main reason I need to do this, is so that I can log in via a script, as the "pdfdwn" user, which is then used to do more PDF processing (changing from .doc ==> .pdf).
TIA for any ideas. I'm really stumped as to what else I can try :|
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
I'm trying to authenticate through a page, on an NT server. The main difference, seems to be the support of user:pass@domain.com (which works fine on UNIX style servers). I've tried using built in features of the Win32 Perl;
Code:
use Win32::AuthenticateUser; Win32::AuthenticateUser::AuthenticateUser("domain.com", "pdfdwn", "the-password") || die $Win32::GetLastError;
However, this doesn't seem to actually log in :/
The main reason I need to do this, is so that I can log in via a script, as the "pdfdwn" user, which is then used to do more PDF processing (changing from .doc ==> .pdf).
TIA for any ideas. I'm really stumped as to what else I can try :|
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

