ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Anton Gorlov <Pnz.Stalker@mail.ru>
To: community@altlinux.ru
Subject: Re[2]: [Comm] TLS SSL
Date: Wed, 20 Apr 2005 13:45:39 +0400
Message-ID: <1278330642.20050420134539@mail.ru> (raw)
In-Reply-To: <42661D7B.20906@inbox.ru>

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

Вы писали 20 апреля 2005 г., 13:14:35:

> Ура! Заработало!
Хм...

> Значит делаем так:
> # squid_ldap_auth -b "dc=nirvana,dc=home" -H 'ldap://nirvana.home/' -f
> "uid=%s" -v 3 -Z
> где -v 3 - версия протокола для bind, -Z - указание на использование TLS.
> ================== stdin
> vasya file
> OK
> ===================
> в squid.conf пока можно записать /usr/bin/strace -o /tmp/strace.log
> /usr/lib/squid/squid_ldap_auth .....
> (и отсылать/смотреть самоу /tmp/strace.log)

Ща посмотрим..

> 1. замечание squid_ldap_auth запускается НЕ ПОД root, значит, если нет
> прав на чтение CAcert (кстати, squid_ldap_auth читает
> /etc/openldap/ldap.conf, в котором есть опция TLS_CACERT)
> то все обламывается (что скорее всего и случилось :)
Но у меня та в этом файле всё закоментировано (из коробки)..
Так что не похоже что у меня проблема в этом.

> лечится либо так:
> # cp /etc/openldap/ldap.conf /var/spool/squid/ldaprc
> # cp /etc/openldap/ssl/cacert.pem /var/spool/squid/cacert.pem
> # echo "TLS_CACERT /var/spool/squid/cacert.pem" > /var/spool/squid/ldaprc
> или просто добавлением squid в группу ldap и тогда
> # chown ldap.ldap -R /etc/openldap
> прилагаются файлы: ldap.conf, squid.conf.bz2 (смотрите секции с
> auth_param), slapd.conf вам не нужен.
> если сразу заработает - с Вас бутылка пива :), будете в Самаре - завезете ;)

Я по почте отправлю, только такое ощущение что и сейчас не взлетит..
и не понятно -почему же ldapsearch, запущенный от рута обламывается с
похожими симптомами?





-- 
С уважением,
 Anton                          mailto:Pnz.Stalker@mail.ru



  reply	other threads:[~2005-04-20  9:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-20  9:14 Boldin Pavel
2005-04-20  9:45 ` Anton Gorlov [this message]
2005-04-20 11:44   ` Boldin Pavel
2005-04-20 12:57     ` Re[2]: " Anton Gorlov
2005-04-20 13:42   ` Boldin Pavel
2005-04-20 13:48     ` Re[2]: " Anton Gorlov

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=1278330642.20050420134539@mail.ru \
    --to=pnz.stalker@mail.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