Debian Codegraph @

README

raw
1 NTLM Authentication Scheme
2 ==========================
3
4 This module implements the NTLM authentication mechanism. It can be
5 used to perform NTLM style authentication for any desired protocol.
6
7 The module works well with the Mail::IMAPClient module in the
8 "authenticate" method, however I had to make a change to that method
9 for it to work. The following line (2511 in version 2.1.4):
10
11 ($code) = $o->[DATA] =~ /^\+ (.*)$/ ;
12
13 needed to be changed to:
14
15 ($code) = $o->[DATA] =~ /^\+(.*)$/ ;
16
17 as the initial NTLM challenge is empty.
18
19 This module also works well with LWP::Authen::Ntlm , allowing LWP::UserAgent
20 and/or WWW::Mechanise to automate/browse/fetch/etc remote Microsoft Windows
21 servers running NTLM authentication.
22 Example use is like this(note the fact that NTLM.pm is NOT explicitly used!):
23
24 use WWW::Mechanize;
25 $mech = WWW::Mechanize->new(keep_alive=>1);
26 $mech->no_proxy('my.server');
27 $mech->credentials('my.server:80', '', "my_domain\\my_user", my_pass);
28 $response = $mech->get( $url );
29
30
31 INSTALLATION
32
33 To install this application:
34
35 perl Makefile.PL
36 make
37 make test
38 make install
39
40 DEPENDENCIES
41
42 This module requires the MIME::Base64 module, and Digest::HMAC_MD5
43
44 COPYRIGHT AND LICENSE
45
46 This program is free software; you can redistribute it and/or modify
47 it under the terms of either:
48
49 a) the GNU General Public License as published by the Free
50 Software Foundation; either version 1, or (at your option) any
51 later version, or
52
53 b) the "Artistic License" which comes with this Kit.
54
55 This program is distributed in the hope that it will be useful,
56 but WITHOUT ANY WARRANTY; without even the implied warranty of
57 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either
58 the GNU General Public License or the Artistic License for more details.
59
60 You should have received a copy of the Artistic License with this
61 Kit, in the file named "COPYING-Artistic". If not, I'll be glad to provide one.
62
63 You should also have received a copy of the GNU General Public License version 1
64 along with this program in the file named "COPYING-GPL". If not, write to the
65 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
66 Boston, MA 02110-1301, USA or visit their web page on the internet at
67 http://www.gnu.org/copyleft/gpl.html.
68
69 For those of you that choose to use the GNU General Public License,
70 my interpretation of the GNU General Public License is that no Perl
71 script falls under the terms of the GPL unless you explicitly put
72 said script under the terms of the GPL yourself. Furthermore, any
73 object code linked with perl does not automatically fall under the
74 terms of the GPL, provided such object code only adds definitions
75 of subroutines and variables, and does not otherwise impair the
76 resulting interpreter from executing any standard Perl script. I
77 consider linking in C subroutines in this manner to be the moral
78 equivalent of defining subroutines in the Perl language itself. You
79 may sell such an object file as proprietary provided that you provide
80 or offer to provide the Perl source, as specified by the GNU General
81 Public License. (This is merely an alternate way of specifying input
82 to the program.) You may also sell a binary produced by the dumping of
83 a running Perl script that belongs to you, provided that you provide or
84 offer to provide the Perl source as specified by the GPL. (The
85 fact that a Perl interpreter and your code are in the same binary file
86 is, in this case, a form of mere aggregation.) This is my interpretation
87 of the GPL. If you still have concerns or difficulties understanding
88 my intent, feel free to contact me. Of course, the Artistic License
89 spells all this out for your protection, so you may prefer to use that.
90
91 License clarified by Nick Bebout per email from David Bussenschutt.
92 <[email protected]>
93
94 Parts of this code Copyright (C) 2007 David (Buzz) Bussenschutt.
95 <[email protected]>
96
97 Perl port of this code is Copyright (C) 2001 Mark Bush.
98 <[email protected]>
99
100 The code is originally based on fetchmail code which is Copyright (C) 1997 Eric
101 S. Raymond.
102
103 Fetchmail uses SMB/Netbios code from samba which is Copyright (C)
104 Andrew Tridgell 1992-1998 with modifications from Jeremy Allison.