<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Комментарии: Proxy-сервер SQUID web-интерфейс для администрирования SAMS SAMS+REJIK с аунтентификацией по NTLM</title>
	<atom:link href="http://www.linuxjournal.su/proxy-server-squid-web-interfejs-dlya-administrirovaniya-sams-samsrejik-s-auntentifikaciej-po-ntlm/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxjournal.su/proxy-server-squid-web-interfejs-dlya-administrirovaniya-sams-samsrejik-s-auntentifikaciej-po-ntlm/</link>
	<description>заметки по работе с GNU Linux Ubuntu Debian</description>
	<lastBuildDate>Sun, 02 Jun 2013 17:32:28 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.17</generator>
	<item>
		<title>Автор: devilscry</title>
		<link>http://www.linuxjournal.su/proxy-server-squid-web-interfejs-dlya-administrirovaniya-sams-samsrejik-s-auntentifikaciej-po-ntlm/comment-page-1/#comment-325</link>
		<dc:creator><![CDATA[devilscry]]></dc:creator>
		<pubDate>Thu, 06 Sep 2012 14:07:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.linuxjournal.su/?p=1041#comment-325</guid>
		<description><![CDATA[добрый запнулся на $ nano /etc/krb5.conf
все настроил но при попытке запросить пользователя он пишет 
root@proxy:/# kinit bryksin@mmk.local
kinit: Cannot contact any KDC for realm &#039;mmk.local&#039; while getting initial credentials




[libdefaults]
default_realm = MMK.LOCAL

# The following krb5.conf variables are only for MIT Kerberos.
krb4_config = /etc/krb.conf
krb4_realms = /etc/krb.realms
kdc_timesync = 1
ccache_type = 4
forwardable = true
proxiable = true

[realms]
MMK.LOCAL = {
kdc = DC1.MMK.LOCAL
admin_server = DC1.MMK.LOCAL
}

[domain_realm]
.mmk.local = MMK.LOCAL
mmk.local = MMK.LOCAL

[login]
krb4_convert = true
krb4_get_tickets = false

[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5dc.log
admin_server = FILE:/var/log/ksadmind.log]]></description>
		<content:encoded><![CDATA[<p>добрый запнулся на $ nano /etc/krb5.conf<br />
все настроил но при попытке запросить пользователя он пишет<br />
root@proxy:/# kinit <a href="mailto:bryksin@mmk.local">bryksin@mmk.local</a><br />
kinit: Cannot contact any KDC for realm &#8216;mmk.local&#8217; while getting initial credentials</p>
<p>[libdefaults]<br />
default_realm = MMK.LOCAL</p>
<p># The following krb5.conf variables are only for MIT Kerberos.<br />
krb4_config = /etc/krb.conf<br />
krb4_realms = /etc/krb.realms<br />
kdc_timesync = 1<br />
ccache_type = 4<br />
forwardable = true<br />
proxiable = true</p>
<p>[realms]<br />
MMK.LOCAL = {<br />
kdc = DC1.MMK.LOCAL<br />
admin_server = DC1.MMK.LOCAL<br />
}</p>
<p>[domain_realm]<br />
.mmk.local = MMK.LOCAL<br />
mmk.local = MMK.LOCAL</p>
<p>[login]<br />
krb4_convert = true<br />
krb4_get_tickets = false</p>
<p>[logging]<br />
default = FILE:/var/log/krb5libs.log<br />
kdc = FILE:/var/log/krb5dc.log<br />
admin_server = FILE:/var/log/ksadmind.log</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: ceval</title>
		<link>http://www.linuxjournal.su/proxy-server-squid-web-interfejs-dlya-administrirovaniya-sams-samsrejik-s-auntentifikaciej-po-ntlm/comment-page-1/#comment-255</link>
		<dc:creator><![CDATA[ceval]]></dc:creator>
		<pubDate>Tue, 09 Nov 2010 17:58:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.linuxjournal.su/?p=1041#comment-255</guid>
		<description><![CDATA[Бывает при настройке выскакивает ошибка:
&lt;code&gt;$ wbinfo -p
Ping to winbindd failed
could not ping winbindd!&lt;/code&gt;
&lt;code&gt;$ wbinfo -t
checking the trust secret via RPC calls failed
Could not check secret&lt;/code&gt;
Идем и смотрим логи в чем проблема, и на ходим в /var/log/samba/samba.winbindd
такие строки:
&lt;blockquote&gt;.... lib/util_sock.c:create_pipe_sock(1949)
 invalid permissions on socket directory /var/run/samba/winbindd_privileged
open_winbind_socket: Success&lt;/blockquote&gt;
Вот что вычитал из источников в интеренет по этому поводу:
Права доступа на каталог /var/run/samba/winbindd_privileged
Они должны быть 750(rwx-r-x---).
Группой владельца должна быть группа squid.
НЕ НАДО добавлять никаких &quot;ЛИШНИХ&quot; прав.
в моем случаи группы squid нету вместо ее proxy:
&lt;code&gt;$ chown -R root:proxy /var/run/samba/winbindd_privileged
$ /etc/init.d/winbind stop &amp;&amp; /etc/init.d/samba restart &amp;&amp; /etc/init.d/winbind start&lt;/code&gt;
и все порядке:
&lt;code&gt;$ wbinfo -t
checking the trust secret via RPC calls succeeded&lt;/code&gt;
В том же логе:
&lt;blockquote&gt;.... winbindd/winbindd_cache.c:initialize_winbindd_cache(2374)
  initialize_winbindd_cache: clearing cache and re-creating with version number 1&lt;/blockquote&gt;
]]></description>
		<content:encoded><![CDATA[<p>Бывает при настройке выскакивает ошибка:<br />
<code>$ wbinfo -p<br />
Ping to winbindd failed<br />
could not ping winbindd!</code><br />
<code>$ wbinfo -t<br />
checking the trust secret via RPC calls failed<br />
Could not check secret</code><br />
Идем и смотрим логи в чем проблема, и на ходим в /var/log/samba/samba.winbindd<br />
такие строки:</p>
<blockquote><p>&#8230;. lib/util_sock.c:create_pipe_sock(1949)<br />
 invalid permissions on socket directory /var/run/samba/winbindd_privileged<br />
open_winbind_socket: Success</p></blockquote>
<p>Вот что вычитал из источников в интеренет по этому поводу:<br />
Права доступа на каталог /var/run/samba/winbindd_privileged<br />
Они должны быть 750(rwx-r-x&#8212;).<br />
Группой владельца должна быть группа squid.<br />
НЕ НАДО добавлять никаких &#171;ЛИШНИХ&#187; прав.<br />
в моем случаи группы squid нету вместо ее proxy:<br />
<code>$ chown -R root:proxy /var/run/samba/winbindd_privileged<br />
$ /etc/init.d/winbind stop &#038;&#038; /etc/init.d/samba restart &#038;&#038; /etc/init.d/winbind start</code><br />
и все порядке:<br />
<code>$ wbinfo -t<br />
checking the trust secret via RPC calls succeeded</code><br />
В том же логе:</p>
<blockquote><p>&#8230;. winbindd/winbindd_cache.c:initialize_winbindd_cache(2374)<br />
  initialize_winbindd_cache: clearing cache and re-creating with version number 1</p></blockquote>
]]></content:encoded>
	</item>
</channel>
</rss>
