]> git.ipfire.org Git - thirdparty/squid.git/blame - helpers/basic_auth/SSPI/basic_sspi_auth.8
Translation .POT updates and docs spelling fixes
[thirdparty/squid.git] / helpers / basic_auth / SSPI / basic_sspi_auth.8
CommitLineData
06fcded4 1.if !'po4a'hide' .TH basic_sspi_auth.exe 8
6d5cbee6
AJ
2.
3.SH NAME
06fcded4 4.if !'po4a'hide' .B basic_sspi_auth.exe
6d5cbee6
AJ
5.if !'po4a'hide' \-
6Basic authentication protocol
7.PP
8Version 2.0
9.
10.SH SYNOPSIS
06fcded4 11.if !'po4a'hide' .B basic_sspi_auth.exe
6d5cbee6
AJ
12.if !'po4a'hide' .B "[\-d] [\-A "
13Group Name
14.if !'po4a'hide' .B "] [\-D "
15Group Name
16.if !'po4a'hide' .B "] [\-O "
17Default Domain
18.if !'po4a'hide' .B "]"
19.
20.SH DESCRIPTION
06fcded4 21.B basic_sspi_auth.exe
6d5cbee6
AJ
22is a simple authentication module for the Squid proxy server running on Windows NT
23to authenticate users on an NT domain in native WIN32 mode.
24.
25.PP
26Usage is simple. It accepts a username and password on standard input
27and will return OK if the username/password is valid for the domain/machine,
28or ERR if there was some problem.
e1b65506 29It is possible to authenticate against NT trusted domains specifyng the username
6d5cbee6
AJ
30in the domain\\username Microsoft notation.
31.
32.SH OPTIONS
06fcded4 33.if !'po4a'hide' .TP 12
6d5cbee6
AJ
34.if !'po4a'hide' .B \-A
35A Windows Local Group name allowed to authenticate.
06fcded4
AJ
36.
37.if !'po4a'hide' .TP
38.if !'po4a'hide' .B \-d
39Write debug info to stderr.
40.
41.if !'po4a'hide' .TP
6d5cbee6
AJ
42.if !'po4a'hide' .B \-D
43A Windows Local Group name not allowed to authenticate.
06fcded4
AJ
44.
45.if !'po4a'hide' .TP
6d5cbee6
AJ
46.if !'po4a'hide' .B \-O
47The default Domain against to authenticate.
48.
e1b65506
AJ
49.SH CONFIGURATION
50.PP
6d5cbee6 51Users that are allowed to access the web proxy must have the Windows NT
e1b65506
AJ
52User Rights
53.I "\"logon from the network\""
54and must be included in the NT LOCAL User Groups specified in the Authenticator's command line.
6d5cbee6
AJ
55.PP
56This can be accomplished creating a local user group on the NT machine, grant the privilege,
57and adding users to it.
58.
59.PP
60You will need to set the following line in
61.B squid.conf
62to enable the authenticator:
63.if !'po4a'hide' .RS
06fcded4 64.if !'po4a'hide' .B auth_param basic program c:/squid/libexec/basic_sspi_auth.exe [options]
6d5cbee6
AJ
65.if !'po4a'hide' .RE
66.
67.PP
68You will need to set the following lines in
69.B squid.conf
06fcded4 70to enable authentication for your access list:
6d5cbee6 71.if !'po4a'hide' .RS
06fcded4
AJ
72.if !'po4a'hide' .B acl aclName proxy_auth REQUIRED
73.if !'po4a'hide' .br
74.if !'po4a'hide' .B http_access allow aclName
6d5cbee6
AJ
75.if !'po4a'hide' .RE
76.
77.PP
78You will need to specify the absolute path to
06fcded4 79.B basic_sspi_auth.exe
6d5cbee6
AJ
80in the
81.B "auth_param basic program"
82directive.
83.
84.SH TESTING
85.PP
86I strongly urge that
06fcded4 87.B basic_sspi_auth.exe
6d5cbee6
AJ
88is tested prior to being used in a
89production environment. It may behave differently on different platforms.
90To test it, run it from the command line. Enter username and password
91pairs separated by a space. Press ENTER to get an OK or ERR message.
92Make sure pressing
93.B CTRL-D
94 behaves the same as a carriage return.
95Make sure pressing
96.B CTRL-C
97 aborts the program.
98.PP
06fcded4
AJ
99Test that entering no details does not result in an
100.B OK
101or
102.B ERR
103message.
104.PP
105Test that entering an invalid username and password results in an
106.B ERR
107message.
108.PP
109Note that if NT guest user access is allowed on the PDC, an
110.B OK
111message may be returned instead of
112.B ERR
113.PP
e1b65506 114Test that entering a valid username and password results in an
06fcded4
AJ
115.B OK
116message.
117.PP
6d5cbee6
AJ
118Test that entering a guest username and password returns the correct
119response for the site's access policy.
120.
121.SH AUTHOR
122This program was written by
123.if !'po4a'hide' .I Guido Serassio <guido.serassio@acmeconsulting.it>
124.PP
125Based on prior work by
126.if !'po4a'hide' .I Antonino Iannella (2000)
127.if !'po4a'hide' .I Andrew Tridgell (1997)
128.if !'po4a'hide' .I Richard Sharpe (1996)
129.if !'po4a'hide' .I Bill Welliver (1999)
130.PP
131This manual was written by
132.if !'po4a'hide' .I Guido Serassio <guido.serassio@acmeconsulting.it>
133.if !'po4a'hide' .I Amos Jeffries <amosjeffries@squid-cache.org>
134.
135.SH COPYRIGHT
136This program and documentation is copyright to the authors named above.
137.PP
138Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+).
139.
140.SH QUESTIONS
141Questions on the usage of this program can be sent to the
142.I Squid Users mailing list
143.if !'po4a'hide' <squid-users@squid-cache.org>
144.
145.SH REPORTING BUGS
146Bug reports need to be made in English.
147See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report.
148.PP
149Report bugs or bug fixes using http://bugs.squid-cache.org/
150.PP
151Report serious security bugs to
152.I Squid Bugs <squid-bugs@squid-cache.org>
153.PP
154Report ideas for new improvements to the
155.I Squid Developers mailing list
156.if !'po4a'hide' <squid-dev@squid-cache.org>
157.
158.SH SEE ALSO
159.if !'po4a'hide' .BR squid "(8), "
160.if !'po4a'hide' .BR GPL "(7), "
161.br
162The Squid FAQ wiki
163.if !'po4a'hide' http://wiki.squid-cache.org/SquidFaq
164.br
165The Squid Configuration Manual
166.if !'po4a'hide' http://www.squid-cache.org/Doc/config/