<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; [SOLVED | РЕШЕНО] Samba и кириллические хосты]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=24542&amp;type=atom" />
	<updated>2012-10-05T16:15:39Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=24542</id>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED | РЕШЕНО] Samba и кириллические хосты]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=301747#p301747" />
			<content type="html"><![CDATA[<p>В конфиге самбы:<br /></p><div class="codebox"><pre><code>dos charset = cp866
unix charset = utf-8
display charset = utf-8</code></pre></div><p>И еще в ядре где-то cp866, smb - не помню точно.<br />Хотя не знаю решит ли это проблему именно с именами хостов на кириллице.</p>]]></content>
			<author>
				<name><![CDATA[zenon]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6867</uri>
			</author>
			<updated>2012-10-05T16:15:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=301747#p301747</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED | РЕШЕНО] Samba и кириллические хосты]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=301744#p301744" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><div class="quotebox"><cite>Dr House пишет:</cite><blockquote><p>Переименовал виндовую машину</p></blockquote></div><p>это не «решено»... это «забито и брошено»</p></blockquote></div><p>Ну хорошо, тогда посоветуйте как решить? С кириллицей просто не пускает. Даже если использовать ibm866 или cp1251</p><p>Хотя уже не важно. На виндовую шару все равно не пускает, просит пароль. Главное что с винды заходит и на линевые шары тоже.</p>]]></content>
			<author>
				<name><![CDATA[Dr House]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20299</uri>
			</author>
			<updated>2012-10-05T16:03:18Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=301744#p301744</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED | РЕШЕНО] Samba и кириллические хосты]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=301556#p301556" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Dr House пишет:</cite><blockquote><p>Переименовал виндовую машину</p></blockquote></div><p>это не «решено»... это «забито и брошено»</p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2012-10-04T09:56:29Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=301556#p301556</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED | РЕШЕНО] Samba и кириллические хосты]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=301554#p301554" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>zenon пишет:</cite><blockquote><div class="quotebox"><cite>Dr House пишет:</cite><blockquote><p>Удалось решить благодаря этому конфигу самбы</p></blockquote></div><p>И что именно решило проблему?</p></blockquote></div><p>Переименовал виндовую машину и просто использовал конфиг самбы из спойлера выше.</p>]]></content>
			<author>
				<name><![CDATA[Dr House]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20299</uri>
			</author>
			<updated>2012-10-04T09:51:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=301554#p301554</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED | РЕШЕНО] Samba и кириллические хосты]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=301510#p301510" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Dr House пишет:</cite><blockquote><p>Удалось решить благодаря этому конфигу самбы</p></blockquote></div><p>И что именно решило проблему?</p>]]></content>
			<author>
				<name><![CDATA[zenon]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6867</uri>
			</author>
			<updated>2012-10-04T04:33:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=301510#p301510</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED | РЕШЕНО] Samba и кириллические хосты]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=301497#p301497" />
			<content type="html"><![CDATA[<p>Удалось решить благодаря этому конфигу самбы</p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"></p><p>workgroup = WORKGROUP<br />server string = Samba Server</p><p>[global]<br />&nbsp; &nbsp; &nbsp; &nbsp; server string = Samba Server<br />&nbsp; &nbsp; &nbsp; &nbsp; security = share<br />&nbsp; &nbsp; &nbsp; &nbsp; name resolve order = lmhosts wins bcast host<br />&nbsp; &nbsp; &nbsp; &nbsp; map to guest = Bad User<br />&nbsp; &nbsp; &nbsp; &nbsp; username map = /etc/samba/smbusers<br />&nbsp; &nbsp; &nbsp; &nbsp; client lanman auth = Yes<br />&nbsp; &nbsp; &nbsp; &nbsp; log file = /var/log/samba/log.%m<br />&nbsp; &nbsp; &nbsp; &nbsp; max log size = 50<br />&nbsp; &nbsp; &nbsp; &nbsp; dns proxy = No<br />&nbsp; &nbsp; &nbsp; &nbsp; wins support = Yes<br />&nbsp; &nbsp; &nbsp; &nbsp; usershare allow guests = Yes<br />&nbsp; &nbsp; &nbsp; &nbsp; usershare max shares = 100<br />&nbsp; &nbsp; &nbsp; &nbsp; usershare owner only = No<br />&nbsp; &nbsp; &nbsp; &nbsp; read only = No<br />&nbsp; &nbsp; &nbsp; &nbsp; guest only = Yes<br />&nbsp; &nbsp; &nbsp; &nbsp; guest ok = Yes</p><p>[printers]<br />&nbsp; &nbsp; &nbsp; &nbsp; comment = All Printers<br />&nbsp; &nbsp; &nbsp; &nbsp; path = /var/spool/samba<br />&nbsp; &nbsp; &nbsp; &nbsp; read only = Yes<br />&nbsp; &nbsp; &nbsp; &nbsp; guest ok = Yes<br />&nbsp; &nbsp; &nbsp; &nbsp; printable = Yes<br />&nbsp; &nbsp; &nbsp; &nbsp; browseable = Yes<br /></div></p></div></div>]]></content>
			<author>
				<name><![CDATA[Dr House]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20299</uri>
			</author>
			<updated>2012-10-03T22:04:54Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=301497#p301497</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED | РЕШЕНО] Samba и кириллические хосты]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=301431#p301431" />
			<content type="html"><![CDATA[<p>В Магее и убунте все нормально.</p>]]></content>
			<author>
				<name><![CDATA[Dr House]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20299</uri>
			</author>
			<updated>2012-10-03T11:02:11Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=301431#p301431</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED | РЕШЕНО] Samba и кириллические хосты]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=301362#p301362" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>alexander@goblin-book /tmp $ cat ~/sh/chardetect.sh
#!/bin/bash
CHARSETS=&quot;IBM437 IBM866 CP1251 CP1252 ISO8859-1 ISO8859-5 ASCII UTF8&quot;

while read STR; do
        for cp1 in $CHARSETS; do
                for cp2 in $CHARSETS; do
                        [ &quot;$cp1&quot; == &quot;$cp2&quot; ] &amp;&amp; continue;

                        STR2=&quot;$(echo &quot;$STR&quot; | iconv -t $cp1 -f $cp2 2&gt;/dev/null)&quot;
                        if [ $? -eq 0 ]; then
                                printf &quot;%9s - %9s : &quot; $cp1 $cp2 
                                echo -E &quot;$STR2&quot;
                        fi
                done
        done
done
alexander@goblin-book /tmp $ echo &#039;ПК&#039; | ~/sh/chardetect.sh | ~/sh/chardetect.sh | grep -i &#039;ÅÈ&#039;
     UTF8 -    IBM437 : IBM866 -      UTF8 : Åè</code></pre></div><p>попробуй посмотреть smbtree | iconv -t IBM437 | iconv -f IBM866</p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2012-10-02T22:03:34Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=301362#p301362</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED | РЕШЕНО] Samba и кириллические хосты]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=301344#p301344" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>а другие варианты? ibm866 и utf-8? и unix charset?<br />при их смене что-нить меняется?</p></blockquote></div><p>Только вид закорючки. Но ibm866 не пробовал.</p>]]></content>
			<author>
				<name><![CDATA[Dr House]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20299</uri>
			</author>
			<updated>2012-10-02T19:46:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=301344#p301344</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED | РЕШЕНО] Samba и кириллические хосты]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=301338#p301338" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Dr House пишет:</cite><blockquote><p>dos charset = cp1251 и display charset = CP1251 не помогают. Могу предоставить smb.conf</p></blockquote></div><p>а другие варианты? ibm866 и utf-8? и unix charset?<br />при их смене что-нить меняется?</p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2012-10-02T19:30:32Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=301338#p301338</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[SOLVED | РЕШЕНО] Samba и кириллические хосты]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=301313#p301313" />
			<content type="html"><![CDATA[<p>Всем привет.</p><p>И так, есть проблема.</p><p>Самба не пускает к хостам имя которых содержит кириллицу, например VASYA-ПК.<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br /> tux drhouse123 # smbtree<br />Enter root&#039;s password: <br />WORKGROUP<br />&nbsp; &nbsp; &nbsp; &nbsp; \\TUX&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Samba Server<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \\TUX\direct&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \\TUX\dn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \\TUX\drhouse123&nbsp; &nbsp; &nbsp; &nbsp; Home Directories<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \\TUX\HP_LaserJet_Professional_P1102&nbsp; &nbsp; HP_LaserJet_Professional_P1102<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \\TUX\IPC$&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IPC Service (Samba Server)<br />&nbsp; &nbsp; &nbsp; &nbsp; \\CRRASH-ÅÈ&nbsp; &nbsp; <br />cli_start_connection: failed to connect to CRRASH-ÅÈ&lt;20&gt; (0.0.0.0). Error NT_STATUS_BAD_NETWORK_NAME<br /></div></p></div></div><p>Как можно решить проблему? Просто переименовать тот компьютер или всё же иожно заставить самбу понимать кириллические хосты?</p><p>dos charset = cp1251 и display charset = CP1251 не помогают. Могу предоставить smb.conf</p>]]></content>
			<author>
				<name><![CDATA[Dr House]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20299</uri>
			</author>
			<updated>2012-10-02T15:59:13Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=301313#p301313</id>
		</entry>
</feed>
