Кто-нибудь помнит, как работает в squid:
auth_param basic program /path/sbin/ncsa_auth /path/etc/squid/squid.passwd
Вот, нашёл в конфиге ncftp следующие сценарии:
# type 1: Connect to firewall host, but send "USER user@real.host.name"
#
# type 2: Connect to firewall, login with "USER fwuser" and
# "PASS fwpassword", and then "USER user@real.host.name"
#
# type 3: Connect to and login to firewall, and then use
# "SITE real.host.name", followed by the regular USER and PASS.
#
# type 4: Connect to and login to firewall, and then use
# "OPEN real.host.name", followed by the regular USER and PASS.
#
# type 5: Connect to firewall host, but send
# "USER user@fwuser@real.host.name" and
# "PASS pass@fwpass" to login.
#
# type 6: Connect to firewall host, but send
# "USER fwuser@real.host.name" and
# "PASS fwpass" followed by a regular
# "USER user" and
# "PASS pass" to complete the login.
#
# type 7: Connect to firewall host, but send
# "USER user@real.host.name fwuser" and
# "PASS pass" followed by
# "ACCT fwpass" to complete the login.
#
# type 8: Connect to firewall host, but send "USER user@real.host.name:port"
#
# type 9: Connect to firewall host, but send "USER user@real.host.name port"
#
# type 0: Do NOT use a firewall (most users will choose this).
Какой из них при "auth_param basic program /path/sbin/ncsa_auth" работает?