From: Mike Lykov <combr@vesna.ru> To: community@altlinux.ru Subject: [Comm] squid + ntlm в домене 2000 Date: Thu, 4 Sep 2003 17:23:34 +0500 Message-ID: <200309041723.34621.combr@vesna.ru> (raw) Здравствуйте. Итак, задумал я настроить 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
reply other threads:[~2003-09-04 12:23 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200309041723.34621.combr@vesna.ru \ --to=combr@vesna.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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