ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@immo.ru>
To: ALT Linux Community <community@altlinux.ru>
Subject: Re: [Comm] squid  samba and ntlm_authentication
Date: Fri, 14 Jan 2005 08:03:46 +0300
Message-ID: <20050114050346.GK2302@immo.ru> (raw)
In-Reply-To: <200501131354.j0DDso8P023753@www1.pochta.ru>

[-- Attachment #1: Type: text/plain, Size: 1667 bytes --]

* Лозенков <lozenkov@> [050113 16:55]:
> Имеем альт мастер 2.4.
> Пробую реализовать аутентификацию пользователей в
> виндовс-домене.
> а)wb_auth -d выдает, что не может соединиться с
> winbindd и dying.
https://bugzilla.altlinux.org/show_bug.cgi?id=5767

> б)Пробовал также  ntlm_auth -d w2k\\\\test
> Но после ввода test+testuser testuser получаю сообщение
> о том, что BH helper detected protocol error.
> в) пробовал как написано в факе к сквиду  ntlm_auth
> --helper-protocol=squid-2.5-basic
> но выдается сообщение о том, что нужно ввести имя хотя
> бы одного доменного контроллера.
> В чем загвоздка?
1. Настроить самбу
2. Запустить winbindd
3. Проверить winbindd:

echo 'DOMAIN\USER PASSWORD' /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic

должно написать OK

4. Внести сквида в группу winbind (сквид должен быть патченый,
можете пересобрать последний сизифный, вроде Денис его вчера
выложил)
5. auth_param должны выглядеть следующим образом:

auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic

Для проверки членства в группах можно использовать

external_acl_type domain_group ttl=0 concurrency=5 %LOGIN /usr/lib/squid/wbinfo_group.sh

Можно использовать и wbinfo_group.pl, но см.
https://bugzilla.altlinux.org/show_bug.cgi?id=5707

P.S. 2 Pilot: Денис, новую сборку неплохо бы в updates выложить,
особенно учитывая security fixes.

-- 
Regards, Sir Raorn.
-------------------
Я не знаю такого производителя софта, который бы развивал уже выпущенный
продукт в ущерб нового.
		-- ldv in sisyphus@

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2005-01-14  5:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-13 13:54 Лозенков
2005-01-13 15:06 ` Sergey Lebedev
2005-01-14  5:03 ` Alexey I. Froloff [this message]

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=20050114050346.GK2302@immo.ru \
    --to=raorn@immo.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