<?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>Linux Admin Steps Into Management &#187; desktop</title>
	<atom:link href="http://yonitg.com/category/desktop/feed/" rel="self" type="application/rss+xml" />
	<link>http://yonitg.com</link>
	<description></description>
	<lastBuildDate>Fri, 03 Feb 2012 15:08:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>solaris 10 and vnc</title>
		<link>http://yonitg.com/solaris-10-vnc/</link>
		<comments>http://yonitg.com/solaris-10-vnc/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 21:35:20 +0000</pubDate>
		<dc:creator>yonitg</dc:creator>
				<category><![CDATA[desktop]]></category>
		<category><![CDATA[IT management]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux - Windows integration]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[sys admin]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://yonitg.com/?p=338</guid>
		<description><![CDATA[VNC viewer is a free remote control software package. With VNC, you can see the desktop of a remote machine and control it with your local mouse and keyboard, just like you would do it sitting in the front of that computer. Now Solaris 10 comes with vncserver built in.]]></description>
			<content:encoded><![CDATA[<p><a title="Building Your Virtual Real Estate Empire Just Became Really Easy" href="http://59e14svdki3req4clarfv5em1w.hop.clickbank.net/?tid=SOL10VNC" target="_blank">Boost Your Adsense And Affiliate Commissions By Building 10s, 100s or 1,000s of Websites,<br />
Each With The Click of a Button!</a></p>
<p>VNC is a server client method of connecting to a remote server,<br />
the great thing about vnc is that you can see the remote server desktop, and work on it with a mouse just like its your local desktop.<br />
another good thing about vnc is that its free for use for many distros.</p>
<p>There are main 2 major software companies that supply free vnc server and vnc cllient,<br />
the first is <a title="realvnc free download " href="http://www.realvnc.com/products/download.html" target="_blank">realvnc</a> and the second is <a title="tightvnc free vnc" href="http://www.tightvnc.com/download.php" target="_blank">tightvnc </a>, from the tighvnc site:</p>
<p>TightVNC is a free remote control software package. With TightVNC, you can <span style="color: #007000;"><strong>see the     desktop of a remote machine and control it</strong></span> with your local mouse and keyboard, just like you     would do it sitting in the front of that computer. TightVNC is:</p>
<ul>
<li><span style="color: #007000;"><strong>free</strong></span> for both personal and commercial usage, with full source code available (<a title="gnu license" href="http://www.gnu.org/copyleft/gpl.html" target="_blank">GPL</a>-licensed);</li>
<li>useful in remote administration, remote customer support, education, and for many other       purposes;</li>
<li>cross-platform, available for Windows and Unix, compatible with other VNC software.</li>
</ul>
<p>So these are 2 options for you to download a good free vnc viewer.</p>
<h2>Solaris VNCserver configuration</h2>
<p>and I say only viewer because now the Solaris 10 build 5 comes with the vncserver alredy inside.<br />
all you need to do is to configure it.</p>
<p>This page on the SUN site will give you the detailed explanation on how to do things and what <a title="Install a patch before using Xvnc" href="http://docs.sun.com/app/docs/doc/819-0872/remotead-20?l=en&amp;a=view&amp;q=vnc+solaris+10" target="_blank">security patch you need to install fisrt </a>,but the instructions can be summed up in 4 lines:</p>
<blockquote><p>mkdir -p /etc/dt/config</p>
<p>cp /usr/dt/config/Xservers    /etc/dt/config/Xservers</p>
<p>edit this file “/etc/dt/config/Xservers” and add these lines at the end:</p>
<p>:1  Local local_uid@none root /usr/X11/bin/Xvnc :1 -nobanner -AlwaysShared -SecurityTypes None -geometry 1024x768x24 -depth 24<br />
:2  Local local_uid@none root /usr/X11/bin/Xvnc :2 -nobanner -AlwaysShared -SecurityTypes None -geometry 1024x768x24 -depth 24<br />
:3  Local local_uid@none root /usr/X11/bin/Xvnc :3 -nobanner -AlwaysShared -SecurityTypes None -geometry 1024x768x24 -depth 24<br />
And reboot the server.</p></blockquote>
<p>The lines with the :1 :2 etc at the beginning, are the virtual displays you wish to server to have available for connections, you can add more by changing the numbers to :4 :5 etc.</p>
<p>when connecting to the server with the vnc viewer you need to express to which virtual display you want to connect by adding it to end of the server&#8217;s name or ip:</p>
<blockquote><p>10.10.10.1:3</p></blockquote>
<p>If you want to connect to virtual display number 3.</p>
<p>A security note – this configuration will allow passwordless access to the vnc screen – if someone logs in and leaves it open – the next user can just enter without a login.</p>
<p>A safer configuration is to require a password by using the <kbd><strong>-SecurityTypes VncAuth</strong></kbd> parameter. The Xvnc(1) man page describes password requirements.</p>
<h2><strong>VNC and Security</strong></h2>
<p>The vnc as a general is clear text, for a more secure connection there is a method of tunneling the vnc through a ssh session.<br />
2 nice tutorials for vnc through ssh can be found <a title="VNC over SSH2 - A TightVNC Tutorial" href="http://www.vanemery.com/Linux/VNC/vnc-over-ssh.html" target="_blank">here</a> and <a title="Tunnelling VNC over SSH with PuTTY" href="http://martybugs.net/smoothwall/puttyvnc.cgi" target="_blank">here</a>.<br />
the second tutorial is using putty for the ssh connection &#8211; putty is another great freeware,<br />
its a <a title="PuTTY Download Page" href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">free ssh client for windows</a> to connect to ssh servers.</p>
<p>If the server you wish to connect to through vnc is located withing your lan,<br />
and you are relaxed about security for the users on it &#8211; if its a training server etc ,<br />
you can just setup the vncserver without any safeguards,<br />
but if you are connecting through an unsecured medium (AKA the internet)<br />
you better add the ssh layer to it.</p>
<p><a title="Building Your Virtual Real Estate Empire Just Became Really Easy" href="http://59e14svdki3req4clarfv5em1w.hop.clickbank.net/?tid=SOL10VNC" target="_blank">Boost Your Adsense And Affiliate Commissions By Building 10s, 100s or 1,000s of Websites,<br />
Each With The Click of a Button!</a></p>
<p><a href="http://www.amazon.com/Solaris-10-System-Administration-Essentials/dp/013700009X%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D013700009X"><img src="http://ecx.images-amazon.com/images/I/41E-zuGuMFL._SL160_.jpg" alt="" /></a> <a href="http://www.amazon.com/Solaris-Security-Essentials-Microsystems-Engineers/dp/0137012330%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0137012330"><img src="http://ecx.images-amazon.com/images/I/41DnAUzC0jL._SL160_.jpg" alt="" /></a> <a href="http://www.amazon.com/Solaris-Solutions-System-Administrators-Time-Saving/dp/047143115X%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D047143115X"><img src="http://ecx.images-amazon.com/images/I/51VF610-5JL._SL160_.jpg" alt="" /></a></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/desktop' rel='tag' target='_self'>desktop</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux' rel='tag' target='_self'>Linux</a>, <a class='technorati-link' href='http://technorati.com/tag/network' rel='tag' target='_self'>network</a>, <a class='technorati-link' href='http://technorati.com/tag/Solaris' rel='tag' target='_self'>Solaris</a>, <a class='technorati-link' href='http://technorati.com/tag/windows' rel='tag' target='_self'>windows</a></p>

<!-- end wp-tags-to-technorati -->
<img src="http://yonitg.com/blog/?ak_action=api_record_view&id=338&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://yonitg.com/solaris-10-vnc/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>I Like Good Linux Lists On The Morning</title>
		<link>http://yonitg.com/i-like-good-linux-lists-on-the-morning/</link>
		<comments>http://yonitg.com/i-like-good-linux-lists-on-the-morning/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 22:21:51 +0000</pubDate>
		<dc:creator>yonitg</dc:creator>
				<category><![CDATA[desktop]]></category>
		<category><![CDATA[IT management]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[sys admin]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://yonitg.com/?p=319</guid>
		<description><![CDATA[Lists are the magic word for SEO and link bait, and they catch the eye. Well I sometimes bite too so here is the latest Linux links list I have fallen for: 15 Power tools for Linux that you cant afford to miss, I havent checked all the links in the page yet, but I [...]]]></description>
			<content:encoded><![CDATA[<p>Lists are the magic word for SEO and <a title="Matt Cutts SEO Advice: linkbait and linkbaiting" href="http://www.mattcutts.com/blog/seo-advice-linkbait-and-linkbaiting/" target="_blank">link bait</a>, and they catch the eye.</p>
<p>Well I sometimes bite too so here is the latest Linux links list I have fallen for:<br />
15 Power tools for Linux that you cant afford to miss,<br />
I havent checked all the links in the page yet, but I will.</p>
<p>And you should probably check out the whole blog,<br />
It looks very promising and fun to read.<br />
from their description:<br />
<a title="Linux Desktop Blog" href="http://penguininside.blogspot.com/" target="_blank">Penguin Inside</a> is a blog about Linux and Software Guides, How-TOs, Reviews.<br />
The blog is dedicated to Linux Desktops.</p>
<p>Another Good list is from Smashing Magazine:<br />
<a title="not realy related to linux servers but I liked it anyhow" href="http://www.smashingmagazine.com/2009/06/07/50-beautiful-flash-websites/" target="_blank">50 Beautiful Flash Websites</a> , and thats a beutiful list of 50 stunning flash websites,<br />
A couple that i liked the most are:</p>
<p><a title="econtent" href="http://www.econtent.hu/flash_version/index.html" target="_blank">e-Content Solutions</a></p>
<p><img class="alignnone size-full wp-image-328" title="econtent" src="http://yonitg.com/blog/wp-content/uploads/2009/11/econtent_s.jpg" alt="econtent" width="400" height="264" /></p>
<p>and <a title="v5design" href="http://www.v5design.com/" target="_blank">v5 Design</a></p>
<p><img class="alignnone size-full wp-image-329" title="v5design_s" src="http://yonitg.com/blog/wp-content/uploads/2009/11/v5design_s.jpg" alt="v5design_s" width="400" height="264" /></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Command+line' rel='tag' target='_self'>Command line</a>, <a class='technorati-link' href='http://technorati.com/tag/desktop' rel='tag' target='_self'>desktop</a>, <a class='technorati-link' href='http://technorati.com/tag/Hardware' rel='tag' target='_self'>Hardware</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux' rel='tag' target='_self'>Linux</a></p>

<!-- end wp-tags-to-technorati -->
<img src="http://yonitg.com/blog/?ak_action=api_record_view&id=319&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://yonitg.com/i-like-good-linux-lists-on-the-morning/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apache Active Directory Authentication</title>
		<link>http://yonitg.com/apache-active-directory-authentication/</link>
		<comments>http://yonitg.com/apache-active-directory-authentication/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 22:32:54 +0000</pubDate>
		<dc:creator>yonitg</dc:creator>
				<category><![CDATA[desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux - Windows integration]]></category>
		<category><![CDATA[web admin]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://yonitg.com/?p=310</guid>
		<description><![CDATA[Apache server is a strong web server that can serve great open source application like Mediawiki which is a great solution for information sharing, but what if you want to use Mediawiki to share information only for the local office active directory domain members? Or even only to members of a specific group in the [...]]]></description>
			<content:encoded><![CDATA[<p>Apache server is a strong web server that can serve great open source application like <a href="http://www.mediawiki.org/wiki/MediaWiki" target="_blank">Mediawiki</a> which is a great solution for information sharing,<br />
but what if you want to use Mediawiki to share information only for the local office active directory domain members?<br />
Or even only to members of a specific group in the active directory?</p>
<p>In Apache you have a specific module called <a href="http://httpd.apache.org/docs/2.0/mod/mod_ldap.html" target="_blank">mod_ldap</a> which allows you to use the Active Directory as an authentication server for your users,<br />
so you can create a secure wiki branch for each department users.</p>
<p>To setup the apache server to use Active Directory as access manager you will need to make sure the mod_ldap was compiled with the apache server and that these lines are in the httpd.conf file:</p>
<blockquote><p>LoadModule authnz_ldap_module modules/mod_authnz_ldap.so<br />
LoadModule ldap_module modules/mod_ldap.so</p></blockquote>
<p>If you have a Windows server installed with the <a href="http://yonitg.com/apache-mysql-php-perl-windows/" target="_blank">xampp install of apache and mysql</a>, you will have the module pre-compiled into the apache server,<br />
however testing that it’s loaded can be done with:</p>
<blockquote><p>C:\xampp\apache\bin\httpd.exe -t -D DUMP_MODULES<br />
the output should have these lines:<br />
authnz_ldap_module (shared)<br />
ldap_module (shared)</p></blockquote>
<p>Once you have the mod_ldap modules loaded you can add to the apache configuration file the user authentication support:</p>
<h3>Any Authenticated user from the Domain:</h3>
<blockquote style="width: 141.14%; height: 221px;"><p>&lt;Location /Finance_Wiki&gt;<br />
Require valid-user<br />
AuthType Basic<br />
AuthName &#8220;Finance Wiki Access&#8221;<br />
AuthBasicProvider &#8220;ldap&#8221;<br />
AuthLDAPBindDN &#8220;CN=proxy_user,OU=sub_group,OU=main_group,DC=some,DC=domain,DC=com&#8221;<br />
AuthLDAPBindPassword &#8220;proxy_user_pass&#8221;<br />
AuthLDAPURL &#8220;ldap://pdc.some.domain.com:389/OU=main_group,DC=some,DC=domain,DC=com?sAMAccountName?sub?(objectClass=*)&#8221;<br />
&lt;/Location&gt;</p></blockquote>
<p>The AuthLDAPBindDN and AuthLDAPBindPassword settings are for setting a user that will allow the apache server to browse the Active Directory structure,<br />
the user created for this should have the minimum rights possible in the domain.</p>
<p>This specific apache configuration will allow any user from the domain to share the /Finance_Wiki folder, but if you want to allow access for a specific group you need to add this configuration line:</p>
<blockquote><p>require ldap-group CN=groupname,OU=group.container,OU=main_group,DC=some,DC=domain,DC=com</p></blockquote>
<p>This is the part that will require the active directory authentication for a specific group.</p>
<p>This way you can prepare a wiki branch for each group in your company to securely share internal files.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/apache' rel='tag' target='_self'>apache</a>, <a class='technorati-link' href='http://technorati.com/tag/Command+line' rel='tag' target='_self'>Command line</a>, <a class='technorati-link' href='http://technorati.com/tag/desktop' rel='tag' target='_self'>desktop</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux' rel='tag' target='_self'>Linux</a>, <a class='technorati-link' href='http://technorati.com/tag/windows' rel='tag' target='_self'>windows</a>, <a class='technorati-link' href='http://technorati.com/tag/xampp' rel='tag' target='_self'>xampp</a></p>

<!-- end wp-tags-to-technorati -->
<img src="http://yonitg.com/blog/?ak_action=api_record_view&id=310&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://yonitg.com/apache-active-directory-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solution for Windows 7 samba connection problem</title>
		<link>http://yonitg.com/solution-for-windows-7-samba-connection-problem/</link>
		<comments>http://yonitg.com/solution-for-windows-7-samba-connection-problem/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 22:40:37 +0000</pubDate>
		<dc:creator>yonitg</dc:creator>
				<category><![CDATA[desktop]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[sys admin]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://yonitg.com/?p=276</guid>
		<description><![CDATA[A fresh install of windows 7 might have a problem with samba shares, if you setup samba logging you will see errors like this: [2009/08/26 09:15:53, 3] smbd/connection.c:yield_connection(76) yield_connection: tdb_delete for name  failed with error Record does not exist. [2009/08/26 09:15:53, 3] smbd/server.c:exit_server(614) although the user was able to connect from a different PC with [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-272" title="samba_linux" src="http://yonitg.com/blog/wp-content/uploads/2009/08/samba_linux.gif" alt="samba_linux" width="251" height="122" /></p>
<p>A fresh install of windows 7 might have a problem with samba shares,</p>
<p>if you <a title="Debugging Samba Server" href="http://yonitg.com/howto-debug-samba-server/">setup samba logging</a> you will see errors like this:</p>
<blockquote><p>[2009/08/26 09:15:53, 3] smbd/connection.c:yield_connection(76)<br />
yield_connection: tdb_delete for name  failed with error Record does not exist.<br />
[2009/08/26 09:15:53, 3] smbd/server.c:exit_server(614)</p></blockquote>
<p>although the user was able to connect from a different PC with a different operating system.</p>
<p>I found this <a title="Windws 7 samba connection problem" href="http://www.builderau.com.au/blogs/viewblogpost.htm?p=339270746" target="_blank">great solution for the samba connection problem</a>,</p>
<p>and to break it to a few simple steps:</p>
<ol>
<li>from the run command or from a cmd window run secpol.msc</li>
<li>go to &#8220;Local Policies&#8221; -&gt; &#8220;Security Options&#8221; -&gt; &#8220;Network Security: LAN Manager authentication level&#8221;</li>
<li>change to &#8220;LM and NTLM – use NTLMV2 session security if negotiated&#8221;</li>
<li>Press the OK button</li>
</ol>
<p>This solution worked just fine on a fresh windows 7 install.</p>
<p><a title="Easy to repair, clean and Optimize your system!" href="http://f140foxpvl1m0o8in24luxrd-c.hop.clickbank.net/?tid=WIN7SAM" target="_self">Need Help Cleaning up your registry?</a></p>
<p><a href="http://www.amazon.com/Samba-3-Example-Practical-Successful-Deployment/dp/013188221X%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D013188221X"><img src="http://ecx.images-amazon.com/images/I/31KnG3l2jmL._SL160_.jpg" alt="" /></a> <a href="http://www.amazon.com/Using-Samba-Print-Server-Linux/dp/0596007698%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0596007698"><img src="http://ecx.images-amazon.com/images/I/41iM11pArfL._SL160_.jpg" alt="" /></a> <a href="http://www.amazon.com/Accidental-Administrator-Step-Step-Configuration/dp/1453689923%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D1453689923"><img src="http://ecx.images-amazon.com/images/I/51nCexcuyxL._SL160_.jpg" alt="" /></a></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/desktop' rel='tag' target='_self'>desktop</a>, <a class='technorati-link' href='http://technorati.com/tag/samba' rel='tag' target='_self'>samba</a>, <a class='technorati-link' href='http://technorati.com/tag/windows' rel='tag' target='_self'>windows</a></p>

<!-- end wp-tags-to-technorati -->
<img src="http://yonitg.com/blog/?ak_action=api_record_view&id=276&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://yonitg.com/solution-for-windows-7-samba-connection-problem/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>How to Debug Samba Server and solve user connection problems</title>
		<link>http://yonitg.com/howto-debug-samba-server/</link>
		<comments>http://yonitg.com/howto-debug-samba-server/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 22:13:12 +0000</pubDate>
		<dc:creator>yonitg</dc:creator>
				<category><![CDATA[desktop]]></category>
		<category><![CDATA[IT management]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux - Windows integration]]></category>
		<category><![CDATA[sys admin]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false">http://yonitg.com/?p=269</guid>
		<description><![CDATA[Samba is the server used to share files from a Linux server to the rest of the windows clients in an office, it is  an easy to use server with simple defaults that will make the integration easy into any domain, you can find on the samba main site some configurations samples and newer smb.conf [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-272" title="samba_linux" src="http://yonitg.com/blog/wp-content/uploads/2009/08/samba_linux.gif" alt="samba_linux" width="251" height="122" /></p>
<p>Samba is the server used to share files from a Linux server to the rest of the windows clients in an office,<br />
it is  an easy to use server with simple defaults that will make the integration easy into any domain,<br />
you can find on the samba main site some <a title="Samba smb.conf samples" href="http://us3.samba.org/samba/docs/man/Samba-Guide/" target="_blank">configurations samples</a> and <a title="newer smb.conf examples" href="http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2554224" target="_blank">newer smb.conf samples</a> to help ease the server into the domain.</p>
<p>But the harder part after setting the server is debugging problems with it,<br />
like a user permission problem &#8211; can the user authenticate to the Microsoft domain server?<br />
maybe he has a password problem? maybe he doesn&#8217;t have permission to access the share?</p>
<p><span style="text-decoration: underline;"><strong>Setting up samba logging:</strong></span></p>
<p>For starters you will find all the config files are at /etc/smb<br />
the main config file is smb.conf,<br />
other important files are smbusers and smbpasswd,<br />
smbusers is a mapping file, to mask windows user as a linux user for access.</p>
<p>Now first thing to do when debugging is to setup the logging well,<br />
so these are good log settings in the /etc/samba/smb.conf for debugging of the samba service:</p>
<blockquote><p><span style="color: #000000;">log file = /var/log/samba/%m.log<br />
syslog = 0<br />
log level = 3 passdb:0 auth:0 winbind:0 vfs:0<br />
vfs objects = full_audit</span></p></blockquote>
<ul>
<li>log file = /var/log/samba/%m.log                             the %m is substituted for the machine name.</li>
</ul>
<ul>
<li>syslog = 0                                                                             0 means only LOG_ERR will be sent to the syslog,<br />
If you want more info to be sent there change it to 3</li>
</ul>
<ul>
<li>log level = 3 passdb:0 auth:0 winbind:0 vfs:0        gives better control over which options to log</li>
</ul>
<ul>
<li>vfs objects = full_audit                                                  this allows for full details on which files are accessed by whom.</li>
</ul>
<p>With this configuration all the machines log files will be found under /var/log/samba/*.log<br />
for a sample, if you been trying to connect to the samba server from a machine named &#8220;boo1&#8243;<br />
you should see in the log folder: /var/log/samba/boo1.log</p>
<p>You can search inside the folder by using “ls –latr” to find the newest files,<br />
which will mean the windows clients that have been trying to connect to te samba server.</p>
<p>And “tail -100 machine_name.log” to view the errors you got if you couldn’t access the share.</p>
<p><span style="text-decoration: underline;"><strong>Real life Debug sample:</strong></span></p>
<p>from the file temp1.log:</p>
<blockquote><p><span style="color: #000000;">nmbd/service.c:make_connection_snum(314)<br />
user &#8216;temp1&#8242; (from session setup) not permitted to access this share (share2)</span></p></blockquote>
<p>This error means to that your user is known as temp1,<br />
and temp1 doesn’t have permission to access the share “share2”<br />
in which case you need to open the smb.conf and setup the permissions<br />
for the user on this share to allow him access.</p>
<p>Inside smbusers you can map windows users to a specific unix user with this syntax:<br />
unix_user = MY_DOMAIN\windows_user1 MY_DOMAIN\windows_user2 MY_DOMAIN\windows_user3</p>
<p>And then allow access to shares in the config by using the unix name:<br />
valid users = unix_user</p>
<p>Checking access to the server and listing shares on it from commend line:</p>
<blockquote><p><span style="color: #000000;">smbclient -L //server -U windows_user</span></p></blockquote>
<p>You will be prompt for password, and if the settings are good, you will receive the shares listing from the server.</p>
<p>Connecting to a share on the server:<br />
smbclient  //server/share -U windows_user</p>
<p>after answering the password you get a command line much like ftp:</p>
<p>smbclient //server/share -U builder<br />
Password:<br />
Domain=[MY_DOMAIN] OS=[Unix] Server=[Samba 3.0.33-3.7.el5_3.1]<br />
smb: \&gt;</p>
<p><span style="text-decoration: underline;"><strong>mounting windows share on linux from fstab</strong>:</span></p>
<p>This will allow for automatic mount in case of server reboot:</p>
<blockquote><p><span style="color: #000000;">\\server\share /unix_location  smbfs  credentials=/etc<span style="text-decoration: underline;"><strong>/</strong></span>samba.sharepasswd,uid=unix_user,gid=unix_group,ip=192.168.0.1,lfs 0 0</span></p></blockquote>
<p>Contents of /etc/samba/.sharepasswd should be windows user and password to connect to the share:</p>
<blockquote><p><span style="color: #000000;">username=windows_user</span></p>
<p><span style="color: #000000;">password=windows_pass</span><span style="text-decoration: underline;"><strong> </strong></span></p></blockquote>
<p><span style="text-decoration: underline;"><strong>Getting info from a windows domain controller for samba debugging:</strong></span></p>
<p>To list all the windows domain users from linux command line:</p>
<blockquote><p><span style="color: #000000;">net rpc username -S icq-mdc1</span></p></blockquote>
<p>replace &#8220;username&#8221; with a valid windows user name, to list all the users in the server,<br />
you will need to know the user password as well.</p>
<p><span style="color: #000000;">This command can list the user groups from the domain controller:</span></p>
<blockquote><p><span style="color: #000000;">net rpc user INFO username -S domain-server-name</span></p></blockquote>
<p>replace &#8220;username&#8221; with a valid windows user name.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Command+line' rel='tag' target='_self'>Command line</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux' rel='tag' target='_self'>Linux</a>, <a class='technorati-link' href='http://technorati.com/tag/samba' rel='tag' target='_self'>samba</a></p>

<!-- end wp-tags-to-technorati -->
<img src="http://yonitg.com/blog/?ak_action=api_record_view&id=269&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://yonitg.com/howto-debug-samba-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top 5 Budweiser Wassup Commercial</title>
		<link>http://yonitg.com/budweiser-wassup-commercial-top-5/</link>
		<comments>http://yonitg.com/budweiser-wassup-commercial-top-5/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 20:16:51 +0000</pubDate>
		<dc:creator>yonitg</dc:creator>
				<category><![CDATA[desktop]]></category>
		<category><![CDATA[funny]]></category>

		<guid isPermaLink="false">http://yonitg.com/?p=262</guid>
		<description><![CDATA[Some things leave an impression on people for many years, even if they were meant to be short lived. The Budweiser commercials are just damn good. Every couple of years I watch them again and enjoy them like it&#8217;s the first time. But you have to watch them in a good sequence &#8211; so here [...]]]></description>
			<content:encoded><![CDATA[<p>Some things leave an impression on people for many years,<br />
even if they were meant to be short lived.</p>
<p>The Budweiser commercials are just damn good.<br />
Every couple of years I watch them again and enjoy them like it&#8217;s the first time.</p>
<p>But you have to watch them in a good sequence &#8211; so here is my pick of the Budweiser Commercials:</p>
<p><strong>The Original Budweiser Commercial</strong><strong>:</strong></p>
<p><a href="http://www.youtube.com/watch?v=JJmqCKtJnxM" target="_blank"></a>
<p><a href="http://www.youtube.com/watch?v=JJmqCKtJnxM">http://www.youtube.com/watch?v=JJmqCKtJnxM</a></p>
<p><strong>The pizza version:</strong></p>
<p><a href="http://www.youtube.com/watch?v=PX8pLjtl_tk&amp;feature=related"></a>
<p><a href="http://www.youtube.com/watch?v=PX8pLjtl_tk">http://www.youtube.com/watch?v=PX8pLjtl_tk</a></p>
<p><strong>The girl invastion:</strong></p>
<p><a href="http://www.youtube.com/watch?v=frT1jk8OWxc">http://www.youtube.com/watch?v=frT1jk8OWxc</a></p>
<p><strong>The wassabi version:</strong></p>
<p><a href="http://www.youtube.com/watch?v=WdR6L7KEe2w">http://www.youtube.com/watch?v=WdR6L7KEe2w</a></p>
<p><strong>8 years later<br />
</strong>The Budweiser Wassup Commercial has evolved to reflect the changes:</p>
<p><a href="http://www.youtube.com/watch?v=PVr5S1JWn6E">http://www.youtube.com/watch?v=PVr5S1JWn6E</a></p>
<p><iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=yonitgcom-20&#038;o=1&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=10FE9736YVPPT7A0FBG2&#038;asins=B0010VPNVO" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=yonitgcom-20&#038;o=1&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=10FE9736YVPPT7A0FBG2&#038;asins=B001C40FO4" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=yonitgcom-20&#038;o=1&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=10FE9736YVPPT7A0FBG2&#038;asins=B000LGIRNA" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=yonitgcom-20&#038;o=1&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=10FE9736YVPPT7A0FBG2&#038;asins=B000BT48OO" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/funny' rel='tag' target='_self'>funny</a></p>

<!-- end wp-tags-to-technorati -->
<img src="http://yonitg.com/blog/?ak_action=api_record_view&id=262&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://yonitg.com/budweiser-wassup-commercial-top-5/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Free Photo Editor &#8211; Top 4</title>
		<link>http://yonitg.com/free-photo-editor-top-4/</link>
		<comments>http://yonitg.com/free-photo-editor-top-4/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 21:21:29 +0000</pubDate>
		<dc:creator>yonitg</dc:creator>
				<category><![CDATA[desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[sys admin]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://yonitg.com/?p=233</guid>
		<description><![CDATA[There are many great photo and graphic software for a nice amount of dollars out there, but finding the few good applications that are also free is harder. Here are a few good ones &#8211; both the online version and those you install on your desktop: Online Photo Editor The first one I like is [...]]]></description>
			<content:encoded><![CDATA[<p>There are many great photo and graphic software for a nice amount of dollars out there, but finding the few good applications that are also free is harder.</p>
<p>Here are a few good ones &#8211; both the online version and those you install on your desktop:</p>
<p><strong>Online Photo Editor</strong></p>
<p>The first one I like is from <a title="aviary.com photo editor" href="http://aviary.com">aviary.com</a> :</p>
<p><img class="alignnone size-full wp-image-234" title="Phoenix online image editor" src="http://yonitg.com/blog/wp-content/uploads/2009/06/aviary2.gif" alt="aviary2" width="407" height="312" /></p>
<p>They have a flash interface for editing the image, which allows the app to work well in Linux as well as on windows, and its a decent enough image editor, but the most impressive application on their site is not the image editor but the color editor tool Toucan:</p>
<p><img class="alignnone size-full wp-image-236" title="toucan online color editor" src="http://yonitg.com/blog/wp-content/uploads/2009/06/toucan2.png" alt="toucan2" width="440" height="327" /></p>
<p>What is so good about this tool? well, part of my job is to make graphs,<br />
some of them are dynamic, some of them are RRD based or excel based, or just a static graph to show some stats to the management, but they should be nice to look at, and here is my problem as i have no sense for color picking, i usually get some ugly graphs.</p>
<p><img class="alignleft size-full wp-image-237" title="Toucan color picking wheel" src="http://yonitg.com/blog/wp-content/uploads/2009/06/wheel2.png" alt="Toucan color picking wheel" width="253" height="235" />but this is where this tools steps in &#8211; it allows you to pick a group of colors that go well together.</p>
<p>you choose how many colors you need and it will help you group them from these options:</p>
<ul>
<li>equidistant</li>
<li>Circular</li>
<li>Alternate</li>
</ul>
<p>etc&#8230;</p>
<p>and you can save your color groups for later use:</p>
<p><img class="size-full wp-image-238 alignnone" title="Toucan clipboard" src="http://yonitg.com/blog/wp-content/uploads/2009/06/clipboard.png" alt="Toucan clipboard" width="287" height="67" /></p>
<p>So this tool helps in creating good looking graphs&#8230;</p>
<p><a title="Online colors picking tool" href="http://www.colorjack.com/sphere/" target="_blank"><strong>Colorjack</strong></a></p>
<p>now this is another nice color picking tool, it loads faster then Toucan,<br />
and does the same work.</p>
<p><strong>Another Online image editor</strong></p>
<p><a title="Pixlr free online image editor" href="http://www.pixlr.com/editor/">Pixlr</a></p>
<p><img class="alignnone size-full wp-image-240" title="pixlr online photo editor" src="http://yonitg.com/blog/wp-content/uploads/2009/06/pixlr2.png" alt="pixlr online photo editor" width="440" height="305" /></p>
<p>Pixlr gives an easy feel of photoshop application, while it is also a flash application which loads into your browser &#8211; no install needed.</p>
<p>The best part about this app is the tools it lets you use on the image you load into it:</p>
<ul>
<li>Red eye reduction tool</li>
<li>Bloat</li>
<li>Pinch</li>
<li>Dodge</li>
<li>Smudge (my favorite as you can see in the image above)</li>
<li>gradient</li>
<li>crop</li>
</ul>
<p>And many more, if you need to quickly edit an image, without buying a software to do that, pixlr can be a very handy tool.</p>
<p><strong>Offline Free Image Editors</strong></p>
<p><a title="paint.net download" href="http://www.getpaint.net/index.html"><strong>paint.net </strong></a></p>
<p><img class="alignnone size-full wp-image-242" title="cat_pumpkin2" src="http://yonitg.com/blog/wp-content/uploads/2009/06/cat_pumpkin2.png" alt="cat_pumpkin2" width="440" height="336" /></p>
<p>This is a great easy to use image editor, its quickly installed and its very simple interface is smooth to work with, the great plus about this app is it will allow you to easily drop a print screen image on it and start editing and cropping it as needs be.</p>
<p>The only drawback for paint.net is that its using the .net framework, which is not Linux native (ha!),<br />
which brings us to the finalist:</p>
<p><strong>Free Linux Photo editor</strong></p>
<p><a title="Linux Image Editor" href="http://www.gimp.org/">Gimp !!!</a></p>
<p><img class="alignnone size-full wp-image-243" title="gimp2" src="http://yonitg.com/blog/wp-content/uploads/2009/06/gimp2.png" alt="gimp2" width="440" height="325" /></p>
<p>Gimp is the all time champion when it comes to Linux free image editors,<br />
It is a very strong software with many options and features, and filters and brushes,<br />
and people keep creating more free filters and brushes all the time.</p>
<p><img class="alignnone size-full wp-image-244" title="gimp brush tool" src="http://yonitg.com/blog/wp-content/uploads/2009/06/gimp_brush1.png" alt="gimp brush tool" width="284" height="446" /></p>
<p>It comes with a lot of default brushes, but you can easily download some beautiful brushes some other happy user created.</p>
<p><strong>Creative Commons</strong></p>
<p>Now &#8211; combine all or any of these tools together with free images downloaded which you can search for at the <a title="Creative Commons images" href="http://search.creativecommons.org/">CC search</a> web page and you are ready to create some fine images which you can use anywhere.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/desktop' rel='tag' target='_self'>desktop</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux' rel='tag' target='_self'>Linux</a>, <a class='technorati-link' href='http://technorati.com/tag/windows' rel='tag' target='_self'>windows</a></p>

<!-- end wp-tags-to-technorati -->
<img src="http://yonitg.com/blog/?ak_action=api_record_view&id=233&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://yonitg.com/free-photo-editor-top-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nagios love &#8211; vote on SourceForge.net Community Choice Awards</title>
		<link>http://yonitg.com/nagios-love-vote-on-sourceforge/</link>
		<comments>http://yonitg.com/nagios-love-vote-on-sourceforge/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 11:56:03 +0000</pubDate>
		<dc:creator>yonitg</dc:creator>
				<category><![CDATA[desktop]]></category>
		<category><![CDATA[IT management]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[sys admin]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://yonitg.com/?p=199</guid>
		<description><![CDATA[SourceForge.net Community Choice Awards have opened up for voting, now is your time to go and vote for your favorite Open Source applications, Show the love for those Linux apps your have been using for free for so long I&#8217;m voting for nagios in the &#8220;Best Tool or Utility for SysAdmins&#8221; Category, and here is [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-200" title="nagios" src="http://yonitg.com/blog/wp-content/uploads/2009/06/nagios.jpg" alt="nagios" width="130" height="31" /></p>
<p>SourceForge.net Community Choice Awards have opened up for voting,<br />
now is your time to go and vote for your favorite Open Source applications,<br />
Show the love for those Linux apps your have been using for free for so long <img src='http://yonitg.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;m voting for nagios in the &#8220;Best Tool or Utility for SysAdmins&#8221; Category,<br />
and here is the direct link to vote for nagios.</p>
<p>But don&#8217;t stop there &#8211; other apps I&#8217;ve been lovingly using for the last years and I&#8217;m gonna give some voting love for are:</p>
<ul>
<li>xampp  -  <a title="xampp" href="http://yonitg.com/apache-mysql-php-perl-windows/">apache mysql php and perl on windows/linux</a></li>
<li>TortoiseSVN  -  SVN client for windows</li>
<li>Notepad++  -  The best simple text editor</li>
<li>Audacity  -  Sound editor</li>
<li>phpMyAdmin  -  Management system for MySQL Database</li>
<li>OpenOffice.org  -  MS office replacement</li>
<li>KeePass  &#8211;  Password manager</li>
</ul>
<p>There where some hard choices to do there, since in the same categories I had more then one app that I&#8217;m totally depending on for day to day work.</p>
<p>phpMyAdmin changed the way I&#8217;m working with Mysql databases,<br />
Notepad++ is my favorite editor on my windows box,<br />
and with Audacity i make all my ring tones <img src='http://yonitg.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>what are your favorite Opensource apps?</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/desktop' rel='tag' target='_self'>desktop</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux' rel='tag' target='_self'>Linux</a>, <a class='technorati-link' href='http://technorati.com/tag/windows' rel='tag' target='_self'>windows</a>, <a class='technorati-link' href='http://technorati.com/tag/xampp' rel='tag' target='_self'>xampp</a></p>

<!-- end wp-tags-to-technorati -->
<img src="http://yonitg.com/blog/?ak_action=api_record_view&id=199&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://yonitg.com/nagios-love-vote-on-sourceforge/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

