ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] squid + ntlm в домене 2000
@ 2003-09-04 12:23 Mike Lykov
  0 siblings, 0 replies; only message in thread
From: Mike Lykov @ 2003-09-04 12:23 UTC (permalink / raw)
  To: community

Здравствуйте.

Итак, задумал я настроить NTLM авторизацию для узеров squid. сделал все по 
известной инструкции Д.Новикова "Авторизация Windows- пользователей в SQUID 
на основе их доменных аккаунтов" 
Оригинал: http://www.artmagic.ru/labs/sqlandwin.shtml 

самба 2.2.8a, squid 2.5.1-stable3

[root@fw sbin]# ./squid -v
Squid Cache: Version 2.5.STABLE3
configure options:  --prefix=/usr/local/squid --enable-icmp 
--enable-delay-pools --disable-wccp --enable-snmp --enable-htcp 
--enable-gnuregex --enable-auth=ntlm,basic 
--enable-basic-auth-helpers=winbind --enable-ntlm-auth-helpers=winbind

Basic работает:
[root@fw libexec]# ./wb_auth -d
/wb_auth[2853](wb_basic_auth.c:168): basic winbindd auth helper build Aug 20 
2003, 10:19:03 starting up...
VSN_ASU26 vsnasu26
/wb_auth[2853](wb_basic_auth.c:129): Got 'VSN_ASU26 vsnasu26' from squid 
(length: 18).
/wb_auth[2853](wb_basic_auth.c:55): winbindd result: 1
/wb_auth[2853](wb_basic_auth.c:58): sending 'OK' to squid
OK

Затем я закодировал логин с паролем (VSN_ASU26 vsnasu26) в base64 :

[root@fw ldap]# ./base64.pl
VlNOX0FTVTI2IHZzbmFzdTI2

и подсунул это дело wb_ntlmauth

[root@fw libexec]# ./wb_ntlmauth -d
wb_ntlmauth[7477](wb_ntlm_auth.c:439): ntlm winbindd auth helper build Aug 20 
2003, 10:19:04 starting up...
wb_ntlmauth[7477](wb_ntlm_auth.c:355): target domain is VESNA
VlNOX0FTVTI2IHZzbmFzdTI2
wb_ntlmauth[7477](wb_ntlm_auth.c:292): Got 'VlNOX0FTVTI2IHZzbmFzdTI2' from 
squid.
wb_ntlmauth[7477](wb_ntlm_auth.c:78): sending 'BH illegal request received' to 
squid
BH illegal request received
wb_ntlmauth[7477](wb_ntlm_auth.c:300): Illegal request received: 
'VlNOX0FTVTI2IHZzbmFzdTI2'

Не сработало. Если просто заходить с виндовой машины с ie  - то же самое, 
запрашивает пароль, сваливаясь на basic авторизацию (пароль принимается - 
инет дается)

В чем может быть дело?

Что за illegal request ?

-- 
Mike
registered linux user #315334
jabber id: combr@jabber.ru


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-04 12:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-04 12:23 [Comm] squid + ntlm в домене 2000 Mike Lykov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git