Re: Squid 2.5 auth_param ncsa - Fehler

2004-01-09 Diskussionsfäden Dirk Prsdorf
Denny Schierz [EMAIL PROTECTED] wrote:
 On Thu, 2004-01-08 at 22:48, Dirk Prösdorf wrote:
 Denny Schierz [EMAIL PROTECTED] wrote:
  auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwords
 
 | auth_param basic /usr/lib/squid/ncsa_auth /etc/squid/passwords

 Das war es scheinbar nicht.

Doch!
Aber auch in Deinen anderen Einträgen waren Fehler. ;-)

Noch mal zur Vollständigkeit Dein eintrag:

 auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwords
 auth_param basic children 5
 auth_param digest realm Squid proxy-caching web server
 auth_param basic credentialsttl 2 hours

Richtig wäre:

| auth_param basic /usr/lib/squid/ncsa_auth etc/squid/passwords
| auth_param basic children 5
| auth_param basic realm Squid proxy-caching web server
| auth_param basic credentialsttl 2 hours

'basic' und 'digest' sind unterschiedliche Schemas.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Squid 2.5 auth_param ncsa - Fehler

2004-01-09 Diskussionsfäden Denny Schierz
Zitat von Dirk Prösdorf [EMAIL PROTECTED]:

 Doch!

nein :-D

 Aber auch in Deinen anderen Einträgen waren Fehler. ;-)

stimmt, den hatte ich nicht mbemerkt, ich war auf etwas anderes fixiert ;-)

 Richtig wäre:

 | auth_param basic /usr/lib/squid/ncsa_auth etc/squid/passwords
 | auth_param basic children 5
 | auth_param basic realm Squid proxy-caching web server
 | auth_param basic credentialsttl 2 hours

Das stimmt auch nicht:
unrecognised basic auth scheme parameter '/usr/lib/squid/ncsa_auth'

sondern folgendes:

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwords
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours

server:~# squid -N -f /etc/squid.conf
2004/01/09 10:54:41| Squid is already running!  Process ID 23307

:-) Jetzt nach dem 5 Anlauf, gehts dann doch. Vielen Dank !! :-)

cu denny

-
This mail sent through IMP: http://horde.org/imp/


--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Squid 2.5 auth_param ncsa - Fehler

2004-01-08 Diskussionsfäden Denny Schierz
hi,

die Passwort Authentifizierung will nicht, nach dem umstellen von 2.4
auf 2.5 haut es einfach nicht mehr hin. Er bricht mit folgender Meldung
ab:

server:~# squid -N -f /etc/squid.conf
2004/01/08 20:48:45| aclParseAclLine: IGNORING: Proxy Auth ACL 'acl foo
proxy_auth REQUIRED # password' because no authentication schemes are
fully configured.
2004/01/08 20:48:45| aclParseAclLine: IGNORING invalid ACL: acl foo
proxy_auth REQUIRED # password
2004/01/08 20:48:45| squid.conf line 1798: http_access allow foo
2004/01/08 20:48:45| aclParseAccessLine: ACL name 'foo' not found.
2004/01/08 20:48:45| squid.conf line 1798: http_access allow foo
2004/01/08 20:48:45| aclParseAccessLine: Access line contains no ACL's,
skipping
2004/01/08 20:48:45| Squid is already running!  Process ID 23307


Wie man am foo sieht, habe ich mich an die FAQ gehalten und es
übernommmen, da ich auf einen Tippfehler tippte.

server:~# squid -v
Squid Cache: Version 2.5.STABLE4
configure options:  --prefix=/usr --exec_prefix=/usr --bindir=/usr/sbin
--sbindir=/usr/sbin --libexecdir=/usr/lib/squid --sysconfdir=/etc
--localstatedir=/var/spool/squid --datadir=/usr/share/squid
--enable-async-io --with-pthreads --enable-storeio=ufs,aufs,diskd,null
--enable-linux-netfilter --enable-arp-acl
--enable-removal-policies=lru,heap --enable-snmp --enable-delay-pools
--enable-htcp --enable-poll --enable-cache-digests --enable-underscores
--enable-referer-log --enable-useragent-log
--enable-auth=basic,digest,ntlm i386-debian-linux
server:~#


squid.conf:

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwords
auth_param basic children 5
auth_param digest realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours

acl foo proxy_auth REQUIRED # password

http_access allow foo

was seht ihr, was ich nicht seh?


-- 
cu denny

Gnupg key can be found under pgp.mit.edu, key ID 0x73137598


signature.asc
Description: This is a digitally signed message part


Re: Squid 2.5 auth_param ncsa - Fehler

2004-01-08 Diskussionsfäden Dirk Prsdorf
Denny Schierz [EMAIL PROTECTED] wrote:
 auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwords

| auth_param basic /usr/lib/squid/ncsa_auth /etc/squid/passwords


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Squid 2.5 auth_param ncsa - Fehler

2004-01-08 Diskussionsfäden Denny Schierz
On Thu, 2004-01-08 at 22:48, Dirk Prösdorf wrote:
 Denny Schierz [EMAIL PROTECTED] wrote:
  auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwords
 
 | auth_param basic /usr/lib/squid/ncsa_auth /etc/squid/passwords


auth_param basic /usr/lib/squid/ncsa_auth /etc/squid/passwords


server:~# squid -N -f /etc/squid.conf
2004/01/08 23:13:02| unrecognised basic auth scheme parameter
'/usr/lib/squid/ncsa_auth'
2004/01/08 23:13:02| aclParseAclLine: IGNORING: Proxy Auth ACL 'acl foo
proxy_auth REQUIRED # password' because no authentication schemes are
fully configured.
2004/01/08 23:13:02| aclParseAclLine: IGNORING invalid ACL: acl foo
proxy_auth REQUIRED # password
2004/01/08 23:13:02| squid.conf line 1798: http_access allow foo
2004/01/08 23:13:02| aclParseAccessLine: ACL name 'foo' not found.
2004/01/08 23:13:02| squid.conf line 1798: http_access allow foo
2004/01/08 23:13:02| aclParseAccessLine: Access line contains no ACL's,
skipping
2004/01/08 23:13:02| Squid is already running!  Process ID 23307


Das war es scheinbar nicht.

-- 
cu denny

Gnupg key can be found under pgp.mit.edu, key ID 0x73137598


signature.asc
Description: This is a digitally signed message part