in reply to Re^4: Authen::Negotiate Wep-Programming
in thread Authorization Negotiate Wep-Programming
i was trying to do that, and its hard. The LWP:Authen::Negotiate is not available for windows. So looking at the source code, it is based on a modul called GSSAPI, which is not available for windows too. So which windows alternative is there for GSSAPI?
I found Authen::SASL-Perl-Ntlm, if i can use that, how would my use of it look like? since i got no username or pasword?
could that really work?use Authen::SASL qw(Perl); $sasl = Authen::SASL->new( mechanism => 'NTLM', callback => { # user => $username, # just to leave it empty?? # pass => $password, ?? }, ); $client = $sasl->client_new(...); #what to set here? $client->client_start; $client->client_step(''); $client->client_step($challenge);
|
|---|