<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ejs &#187; Samba</title>
	<atom:link href="http://ejs.seniejitrakai.net/tag/samba/feed/" rel="self" type="application/rss+xml" />
	<link>http://ejs.seniejitrakai.net</link>
	<description>a snaphot of time</description>
	<lastBuildDate>Mon, 09 Jan 2012 22:10:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Make Samba and CUPS in Debian friends again</title>
		<link>http://ejs.seniejitrakai.net/2008/04/15/lets-make-samb-and-cups-friends-again/</link>
		<comments>http://ejs.seniejitrakai.net/2008/04/15/lets-make-samb-and-cups-friends-again/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 18:28:20 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[CUPS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Samba]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/2008/04/15/lets-make-samb-and-cups-friends-again/</guid>
		<description><![CDATA[I&#8217;ve seen a lot of these entries in logfiles recently: [] printing/print_cups.c:cups_job_submit(656) Unable to print file to - client-error-bad-request And the printing is stopped, of course. The solution is simple: LANG=en_US.UTF-8 /etc/init.d/samba restart In short: /var/log/cups/error_log shows a lot of E [] Unsupported character set "iso-8859-1"! CUPS requires UTF-8. In the case of default login [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen a lot of these entries in logfiles recently:</p>
<p><code>[<date and time>] printing/print_cups.c:cups_job_submit(656)<br />
  Unable to print file to
<printer name> - client-error-bad-request<br />
</code></p>
<p>And the printing is stopped, of course.</p>
<p>The <a href="http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/08e29c72aff5ea44/83350881376f6bc1?lnk=raot">solution</a> is simple:</p>
<p><code> LANG=en_US.UTF-8 /etc/init.d/samba restart</code></p>
<p>In short:<br />
<em>/var/log/cups/error_log</em> shows a lot of </p>
<p><code>E [<date>] Unsupported character set "iso-8859-1"!</code></p>
<p>CUPS requires UTF-8.<br />
In the case of default login in Debian, the console IS in UTF-8, but is not if you have customized it and use `su` for administrative tasks.</p>
<p>C&#8217;ia.</p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2008/04/15/lets-make-samb-and-cups-friends-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Troubles in remote server management</title>
		<link>http://ejs.seniejitrakai.net/2007/11/19/troubles-in-remote-server-management/</link>
		<comments>http://ejs.seniejitrakai.net/2007/11/19/troubles-in-remote-server-management/#comments</comments>
		<pubDate>Mon, 19 Nov 2007 16:00:48 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[My job]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Samba]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=48</guid>
		<description><![CDATA[Had a severe issue with Samba server recently: it refused to serve after some undefined amount of time. It could work for a days perfectly or could be completely unreachable in several minutes after restart. Logs were useless, even in the highest possible debug level. The problem was found accidentally. I have some information in [...]]]></description>
			<content:encoded><![CDATA[<p>Had a severe issue with Samba server recently: it refused to serve after some undefined amount of time. It could work for a days perfectly or could be completely unreachable in several minutes after restart. Logs were useless, even in the highest possible debug level.</p>
<p><span id="more-48"></span></p>
<p>The problem was found accidentally. I have some information in national language and I usually edit /etc/samba/smb.conf from X environment or msWindows, using Unicode-aware editors. But at some time share comments in config file were edited using pico in ISO-8859-1 terminal. Pico is perfect editor for me (i hate complexity of vi or emacs) , but in this case the combination of wront terminal and ANSI-type editor was lethal. The UTF-8 strings were mangled and the configuraton was wrong (althow `testparm` showed it&#8217;s OK).<br />
So, don&#8217;t do this at work <img src='http://ejs.seniejitrakai.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2007/11/19/troubles-in-remote-server-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

