* [Comm] squid samba and ntlm_authentication
@ 2005-01-13 13:54 Лозенков
2005-01-13 15:06 ` Sergey Lebedev
2005-01-14 5:03 ` Alexey I. Froloff
0 siblings, 2 replies; 3+ messages in thread
From: Лозенков @ 2005-01-13 13:54 UTC (permalink / raw)
To: community
Доброе время суток.
Имеем альт мастер 2.4.
Пробую реализовать аутентификацию пользователей в
виндовс-домене.
Вроде делал все по доке, описанной для SAMS (там этот
вопрос хорошо разжеван.)
Линуксовая машина (со сквидом) зарегистрировалась в
домене нормально (оказалось теперь есть команда net).
а)wbinfo -p, а также wbinfo -t работают как надо.
б)wbinfo -a test+testuser%testuser тоже отрабатывает
правильно.
Т.е. с точки зрения интеграции самбы и winbind вроде
все ок.
Берусь за сквид - облом.
а)wb_auth -d выдает, что не может соединиться с
winbindd и dying.
б)Пробовал также ntlm_auth -d w2k\\\\test
Но после ввода test+testuser testuser получаю сообщение
о том, что BH helper detected protocol error.
в) пробовал как написано в факе к сквиду ntlm_auth
--helper-protocol=squid-2.5-basic
но выдается сообщение о том, что нужно ввести имя хотя
бы одного доменного контроллера.
В чем загвоздка?
Спасибо.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] squid samba and ntlm_authentication
2005-01-13 13:54 [Comm] squid samba and ntlm_authentication Лозенков
@ 2005-01-13 15:06 ` Sergey Lebedev
2005-01-14 5:03 ` Alexey I. Froloff
1 sibling, 0 replies; 3+ messages in thread
From: Sergey Lebedev @ 2005-01-13 15:06 UTC (permalink / raw)
To: community
On 13 Jan, 04:54, Лозенков wrote:
> Доброе время суток.
> Имеем альт мастер 2.4.
> Пробую реализовать аутентификацию пользователей в
> виндовс-домене.
> Вроде делал все по доке, описанной для SAMS (там этот
> вопрос хорошо разжеван.)
> Линуксовая машина (со сквидом) зарегистрировалась в
> домене нормально (оказалось теперь есть команда net).
> а)wbinfo -p, а также wbinfo -t работают как надо.
> б)wbinfo -a test+testuser%testuser тоже отрабатывает
> правильно.
> Т.е. с точки зрения интеграции самбы и winbind вроде
> все ок.
> Берусь за сквид - облом.
> а)wb_auth -d выдает, что не может соединиться с
> winbindd и dying.
> б)Пробовал также ntlm_auth -d w2k\\\\test
> Но после ввода test+testuser testuser получаю сообщение
> о том, что BH helper detected protocol error.
> в) пробовал как написано в факе к сквиду ntlm_auth
> --helper-protocol=squid-2.5-basic
> но выдается сообщение о том, что нужно ввести имя хотя
> бы одного доменного контроллера.
> В чем загвоздка?
> Спасибо.
http://volgograd.lug.ru/wiki/GrableVodstvo/articles/SquidNtlm --
попробуйте по этой схеме, вроде работает.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] squid samba and ntlm_authentication
2005-01-13 13:54 [Comm] squid samba and ntlm_authentication Лозенков
2005-01-13 15:06 ` Sergey Lebedev
@ 2005-01-14 5:03 ` Alexey I. Froloff
1 sibling, 0 replies; 3+ messages in thread
From: Alexey I. Froloff @ 2005-01-14 5:03 UTC (permalink / raw)
To: ALT Linux Community
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-14 5:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-13 13:54 [Comm] squid samba and ntlm_authentication Лозенков
2005-01-13 15:06 ` Sergey Lebedev
2005-01-14 5:03 ` Alexey I. Froloff
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