ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Вадим Илларионов" <master@nstel.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] samba (pdc) + ddns + dhcp + squid и mail?
Date: Wed, 25 Jun 2008 12:24:27 +0400
Message-ID: <g3svbt$vlv$1@ger.gmane.org> (raw)
In-Reply-To: <200806250929.53221.bv@gres.tomske.elektra.ru>

Vyacheslav Brunev wrote:

>> Подписываюсь. Единственно, squid+ntlm_auth, иначе ИЕ будет cпрашивать
>> пароль при каждом запуске.
>> А ntlm_auth, естественно, через самбу, которая по-прежнему +ldap.
>>
> Спасибо учту при настройке.
 
Да, а basic_auth удобно сделать через pam.
squid_ldap_auth у меня отчего-то не заработал.
Собственно, вот кусок моего конфига из FreeBSD:

,----[ squid.conf ]
| auth_param ntlm program /usr/local/bin/ntlm_auth
| --helper-protocol=squid-2.5-ntlmssp auth_param ntlm children 30
| 
| ## program to use for 'basic' authentication
| ## (ntlm_auth, squid_ldap_auth or pam_auth):
| #auth_param basic program /usr/local/bin/ntlm_auth
| # --helper-protocol=squid-2.5-basic
| #auth_param basic program /usr/local/libexec/squid/squid_ldap_auth -b
| # dc=nstel,dc=ru ldap://domain.office.nstel.ru:389
| auth_param basic program /usr/local/libexec/squid/pam_auth
| 
| auth_param basic children 5
| auth_param basic realm Squid proxy-caching web server
| auth_param basic credentialsttl 2 hours
| 
| acl   all             src 0.0.0.0/0.0.0.0
| acl   auth_users      proxy_auth REQUIRED
| 
| http_access allow auth_users
| http_access deny all
`----
 
Для линукса только пути поправьте, и будет работать.
_________________________________
С уважением,
Вадим Илларионов
системный администратор
ООО "Новые Системы Телеком"
UIN: 7899517
JID: master at usib dot irkps dot ru
Телефоны:
- рабочий    +7 495 6414045+5885
- мобильный  +7 916 3889337



      reply	other threads:[~2008-06-25  8:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-24  5:06 Vyacheslav Brunev
2008-06-24  7:30 ` [Sysadmins] [JT] " Max Ivanov
2008-06-24  7:41   ` Maks Re
2008-06-24 10:57     ` Вадим Илларионов
2008-06-24  7:47 ` [Sysadmins] " Maxim Ivanov
2008-06-24  8:58   ` Alexey Shabalin
2008-06-24  9:26     ` Maxim Ivanov
2008-06-24 10:45       ` Вадим Илларионов
2008-06-24 14:45         ` Вадим Илларионов
2008-06-25 10:19           ` Владимир
2008-06-25 13:50             ` Вадим Илларионов
2008-06-24 10:54     ` Вадим Илларионов
2008-06-25  2:29       ` Vyacheslav Brunev
2008-06-25  8:24         ` Вадим Илларионов [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='g3svbt$vlv$1@ger.gmane.org' \
    --to=master@nstel.ru \
    --cc=sysadmins@lists.altlinux.org \
    /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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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