<?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>SUSE Family Archives - Vavai&#039;s Personal Notes</title>
	<atom:link href="https://www.vavai.net/tag/opensuse/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.vavai.net/tag/opensuse/</link>
	<description>Life is our precious gift</description>
	<lastBuildDate>Wed, 12 Feb 2014 11:29:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>WHM/CPanel : How to Move MySQL Data Folder</title>
		<link>https://www.vavai.net/whmcpanel-how-to-move-mysql-data-folder/</link>
					<comments>https://www.vavai.net/whmcpanel-how-to-move-mysql-data-folder/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Wed, 12 Feb 2014 11:29:45 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CPanel]]></category>
		<category><![CDATA[Moving]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[SLES]]></category>
		<category><![CDATA[SUSE Family]]></category>
		<category><![CDATA[WHM]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1712</guid>

					<description><![CDATA[<p>Last week, I checked WHM (Web Hosting Management) server which used by this blog,  Excellent website and  Vavai.com due to an error messages regarding failed WHM update. After a few checking, it seems that root partition only left a bit free space and one of the largest folder  is var/lib/mysql which contain a MySQL server databases. Before the partition...</p>
<p>The post <a href="https://www.vavai.net/whmcpanel-how-to-move-mysql-data-folder/">WHM/CPanel : How to Move MySQL Data Folder</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="http://54.254.121.108/wp-content/uploads/2014/02/mysql-logo.jpg"><img decoding="async" class="alignleft  wp-image-1718" style="margin: 5px;" alt="mysql-logo" src="http://54.254.121.108/wp-content/uploads/2014/02/mysql-logo.jpg" width="239" height="175" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/mysql-logo.jpg 399w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/mysql-logo-300x219.jpg 300w" sizes="(max-width: 239px) 100vw, 239px" /></a>Last week, I checked WHM (Web Hosting Management) server which used by <a href="http://v2.vavai.net">this blog</a>,  <a href="http://www.excellent.co.id">Excellent </a>website and  <a href="http://www.vavai.com">Vavai.com</a> due to an error messages regarding failed WHM update. After a few checking, it seems that root partition only left a bit free space and one of the largest folder  is <b>var/lib/mysql </b>which contain a MySQL server databases. Before the partition getting lower and lower and would caused another problem, I decided to move the folder to another bigger partition.<br />
The following are the processes which I have done to prevent further problem. Please note that while doing this setting, there will be a minimal down time (1-2 minutes). In this case, I prepare different partition on /dev/sdc1 which have approximately 100 GB free space and mounted to /srv/whm) :<span id="more-1712"></span></p>
<ol>
<li>Go to WHM, choose Service Manager menu and uncheck on <strong>Monitoring MySQL </strong>option  then click save. It&#8217;s an important step to prevent MySQL services to being automatically restart by WHM service monitor</li>
<li>SSH or Putty to WHM console and run the following command :
<pre>mkdir -p /srv/backup/
chmod 777 -R /srv/backup
mysqldump --all-databases | gzip &gt; /srv/backup/alldatabases.sql.gz
rsync -av /var/lib/mysql /srv/whm/
chown -R mysql:mysql /srv/whm/mysql
/etc/init.d/mysql stop
rsync -av --delete-after /var/lib/mysql /srv/whm/
mv /var/lib/mysql /srv/backup
ln -s /srv/whm/mysql /var/lib/mysql
/etc/init.d/mysql start</pre>
</li>
<li><span style="line-height: 1.5em;">Back again to WHM, choose Service Manager and check on monitoring MySQL then save</span></li>
</ol>
<p>On the above step, I choose to take a safe precaution, so I back up the data using rsync command before moving the data.  It would take longer steps but safer than the simple steps but  has risk of data loss. If you feel confident, you can ignore the rsync command and  just go through the instruction : Shutting down MySQL service, move the data into another folder, then make the symlink, and finally re-activate the MySQL services.<br />
Actually, those instructions are should be applicable for non WHM MySQL server, for example, to move the mysql data on openSUSE / SLES server.</p>
<p>The post <a href="https://www.vavai.net/whmcpanel-how-to-move-mysql-data-folder/">WHM/CPanel : How to Move MySQL Data Folder</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/whmcpanel-how-to-move-mysql-data-folder/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>VMware vSphere Tips : VMware Tools Installation on SUSE Linux Enterprise Server 11 (SLES 11) VM</title>
		<link>https://www.vavai.net/vmware-vsphere-tips-vmware-tools-installation-on-suse-linux-enterprise-server-11-sles-11-vm/</link>
					<comments>https://www.vavai.net/vmware-vsphere-tips-vmware-tools-installation-on-suse-linux-enterprise-server-11-sles-11-vm/#comments</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Tue, 11 Feb 2014 02:48:50 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SLES]]></category>
		<category><![CDATA[SUSE Family]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[VMware Tools]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1596</guid>

					<description><![CDATA[<p>One of the most important step, but often forgotten by the user while configuring Virtual Machine on VMware vSphere are VMware tools installation and configuration. In addition to improving VM’s performance (increase the quality on VGA, network card, etc), VMware tools also useful to provide the ability on host server to restart and shut down the VM...</p>
<p>The post <a href="https://www.vavai.net/vmware-vsphere-tips-vmware-tools-installation-on-suse-linux-enterprise-server-11-sles-11-vm/">VMware vSphere Tips : VMware Tools Installation on SUSE Linux Enterprise Server 11 (SLES 11) VM</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="http://54.254.121.108/wp-content/uploads/2014/02/vavai-vmware.jpg"><img fetchpriority="high" decoding="async" class="alignleft size-full wp-image-1607" style="margin: 5px;" alt="vavai-vmware" src="http://54.254.121.108/wp-content/uploads/2014/02/vavai-vmware.jpg" width="232" height="228" /></a>One of the most important step, but often forgotten by the user while configuring Virtual Machine on VMware vSphere are VMware tools installation and configuration. In addition to improving VM’s performance (increase the quality on VGA, network card, etc), VMware tools also useful to provide the ability on host server to restart and shut down the VM normally.<br />
VMware Tools installation on Windows based VM generally quiet easy. Choose the <b>Install/Upgrade VMware Tools </b>menu, the auto installer will automatically run, click a few steps to install and then restart the VM guest to assure the change. On Linux based VM, the setting is different, the processes itself need a more steps to make it run properly. Those differences make some vSphere SysAdmin worries and choose to deploy VM without installing VMware tools rather than crashing the VM <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /><span id="more-1596"></span><br />
There are several ways in doing the VMware tools installation on linux, ranging from standard method which some people said it quiet difficult, until the easy one. The following are the standard VMware Tools installation steps on SUSE Linux Enterprise Server.</p>
<ol>
<li>Create a snapshot as a preventative measure to prevent unwanted things</li>
<li>Check the system version, to make sure which SLES system is being used : <b>cat/etc/SuSE-release<br />
<a href="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-1.jpg"><img decoding="async" class="alignnone size-full wp-image-1599" alt="vavai-install-vmware-tools-pada-sles-11-1" src="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-1.jpg" width="487" height="97" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-1.jpg 487w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-1-300x60.jpg 300w" sizes="(max-width: 487px) 100vw, 487px" /></a><br />
</b></li>
</ol>
<ol start="3">
<li>Make sure OS type of VM guest. If it appears wrong, the mounted binary VMware Tools cannot be installed. (For example, it&#8217;s a  Linux VM, but set on guest mode = Windows or otherwise. Another case is SLES was installed but the OS type is set to Debian)<br />
<a href="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-5.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1600" alt="vavai-install-vmware-tools-pada-sles-11-5" src="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-5.jpg" width="686" height="356" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-5.jpg 686w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-5-300x156.jpg 300w" sizes="auto, (max-width: 686px) 100vw, 686px" /></a></li>
</ol>
<ol start="4">
<li>Mount the VMware tools, choose the menu on VM :  <strong>Guest | Install/Upgrade VMware Tools</strong>. If you use vSphere Web Client, choose VM and then click  <strong>Summary tab | Install VMware Tools</strong>. If there is an error message while trying to mount the CD ROM-such as the CD ROM on guest is not available-add the CD ROM (Set the VM to off before set the CD ROM)<br />
<a href="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-4.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1601" alt="vavai-install-vmware-tools-pada-sles-11-4" src="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-4.jpg" width="673" height="423" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-4.jpg 673w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-4-300x189.jpg 300w" sizes="auto, (max-width: 673px) 100vw, 673px" /></a><a href="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-3.jpg"><img loading="lazy" decoding="async" class="alignnone  wp-image-1602" alt="vavai-install-vmware-tools-pada-sles-11-3" src="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-3.jpg" width="625" height="376" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-3.jpg 893w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-3-300x180.jpg 300w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-3-768x462.jpg 768w" sizes="auto, (max-width: 625px) 100vw, 625px" /></a></li>
<li>Make sure compilation package (kernel-source make gcc) is available. If it does not, install it using the following command : <strong>zypper in kernel-source make gcc</strong>.</li>
</ol>
<ol start="6">
<li>Make sure the working kernel and kernel-source have the same version. Check it out by using following command : <b>uname –r </b>and<b><b> zypper if kernel-source</b></b><a href="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-2.jpg"><img loading="lazy" decoding="async" class="alignnone  wp-image-1603" alt="vavai-install-vmware-tools-pada-sles-11-2" src="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-2.jpg" width="558" height="528" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-2.jpg 697w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-2-300x284.jpg 300w" sizes="auto, (max-width: 558px) 100vw, 558px" /></a></li>
</ol>
<ol start="7">
<li>Mount and Install VMware Tools (adjust the binary name in the mount result folder) with the following instruction :<br />
[code language=&#8221;bash&#8221;]</p>
<pre>mount /dev/sr0 /mnt
cp /mnt/* /opt
cd /opt
tar -zxvf VMwareTools-9.0.0-782409.tar.gz</pre>
<p>[/code]<br />
<a href="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-7.jpg"><img loading="lazy" decoding="async" class="alignnone  wp-image-1604" alt="vavai-install-vmware-tools-pada-sles-11-7" src="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-7.jpg" width="571" height="147" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-7.jpg 816w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-7-300x77.jpg 300w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-7-768x198.jpg 768w" sizes="auto, (max-width: 571px) 100vw, 571px" /></a></li>
</ol>
<ol start="8">
<li>Go to extracted folder (vmware-tools-distrib) and install VMware Tools with the following command : <strong>./vmware-install.pl</strong> and follow the instruction</li>
<li>After finish the installation step, we can check the status on VM summary, whether the VMware Tools already installed or not<br />
<a href="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-9.jpg"><img loading="lazy" decoding="async" class="alignnone  wp-image-1605" alt="vavai-install-vmware-tools-pada-sles-11-9" src="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-9.jpg" width="575" height="332" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-9.jpg 958w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-9-300x173.jpg 300w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-9-768x444.jpg 768w" sizes="auto, (max-width: 575px) 100vw, 575px" /><br />
</a><a href="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-10.jpg"><img loading="lazy" decoding="async" class="alignnone  wp-image-1606" alt="vavai-install-vmware-tools-pada-sles-11-10" src="http://54.254.121.108/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-10.jpg" width="662" height="288" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-10.jpg 736w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-install-vmware-tools-pada-sles-11-10-300x130.jpg 300w" sizes="auto, (max-width: 662px) 100vw, 662px" /></a></li>
</ol>
<p>For some SysAdmin, especially Windows based SysAdmin,  the above tutorial seems to be quite complicated  because I try to show all the steps as detail as I could explain to you. Besides this standard way, there is also another simpler and easier way by using VMware Operating System Specific Packages (OSPs,. I will discuss it later). Although looks like a complicated step, this standard procedure has an advantage compared to OSPs, such as:</p>
<ol>
<li>Shows that we are really Linux SysAdmin whose able to play with CLI (this part is intermezzo, you can ignore it <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /> )</li>
<li>This method is applicable on Linux openSUSE or others Linux Distro. The VMware installation in all Linux Distro or System are similar with the tutorial above, the difference is only in the installation essentials package (kernel-source, make, gcc. ex : on Ubuntu, compilation package can be install by using following command : <strong>apt-get install build-essentials</strong>)</li>
<li>Applicable if VMware Operating System Specific Packages (OSPs) is not available for guest OS</li>
<li>Applicable if OS type are a brand new Linux system, non-mainstream <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /> system, or a remastered system</li>
<li>Applicable if the installation using VMware Operating System Specific Packages (OSPs) failed</li>
</ol>
<p>The post <a href="https://www.vavai.net/vmware-vsphere-tips-vmware-tools-installation-on-suse-linux-enterprise-server-11-sles-11-vm/">VMware vSphere Tips : VMware Tools Installation on SUSE Linux Enterprise Server 11 (SLES 11) VM</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/vmware-vsphere-tips-vmware-tools-installation-on-suse-linux-enterprise-server-11-sles-11-vm/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Torrent Download via CLI/Console</title>
		<link>https://www.vavai.net/torrent-download-via-cliconsole/</link>
					<comments>https://www.vavai.net/torrent-download-via-cliconsole/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Sun, 09 Feb 2014 09:41:08 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Aria2]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[SLES]]></category>
		<category><![CDATA[SUSE Family]]></category>
		<category><![CDATA[Torrent]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1551</guid>

					<description><![CDATA[<p>When downloading large files such as Linux ISO files or backup files, I usually use the default browser download application or use wget. Unfortunately, in some case, I prefer to do download using torrent because it may faster than using wget. On Windows system, I usually use Bitorrent or uTorrent and on Linux-GUI based, Transmission is...</p>
<p>The post <a href="https://www.vavai.net/torrent-download-via-cliconsole/">Torrent Download via CLI/Console</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="http://54.254.121.108/wp-content/uploads/2014/02/logo-download.png"><img loading="lazy" decoding="async" class="alignleft  wp-image-1552" style="margin: 5px;" alt="logo-download" src="http://54.254.121.108/wp-content/uploads/2014/02/logo-download.png" width="179" height="179" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/logo-download.png 256w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/logo-download-150x150.png 150w" sizes="auto, (max-width: 179px) 100vw, 179px" /></a>When downloading large files such as Linux ISO files or backup files, I usually use the default browser download application or use wget. Unfortunately, in some case, I prefer to do download using torrent because it may faster than using wget. On Windows system, I usually use Bitorrent or uTorrent and on Linux-GUI based, Transmission is my default choice.<br />
Well, how if using openSUSE minimal or other Linux-based Console/non GUI? For this, I usually use aria2.<span id="more-1551"></span></p>
<blockquote>
<h3>Aria 2 : Parallelizing Multi-Protocol Utility for Downloading Files</h3>
<p>aria2 is a utility for downloading files. It has completely new design concept from its predecessor, Aria, and is written from scratch. aria2 has a segmented downloading engine in its core. It can download one file from multiple URLs or multiple connections from one URL. This results in very high speed downloading, much faster than ordinary browsers. This engine in was implemented in a single-thread model. The architecture is clean and easy to extend. aria2 currently supports HTTP, FTP, and BitTorrent.</p></blockquote>
<p>Actually, Aria2  is a GUI-based applications and also provide tools for CLI. One of the advantages using aria2  is it&#8217;s support for torrent file and FTP besides HTTP download by default.<br />
How to install aria2?</p>
<ol>
<li>If using GUI based desktop, go to  <a href="http://software.opensuse.org/package/aria2">http://software.opensuse.org/package/aria2</a> and install using One-Click-Install feature (can only be done via openSUSE or SLES). Do not forget to adjust the type and version of openSUSE/SLES to match the version of the running system</li>
<li>If using openSUSE 13.1 CLI, execute the following command :<br />
[code language=&#8221;bash&#8221;]<br />
zypper ar http://download.opensuse.org/repositories/openSUSE:/13.1/standard/ aria2<br />
zypper ref<br />
zypper in aria2<br />
[/code]</li>
<li>or for SLES 11 :<br />
[code language=&#8221;bash&#8221;]<br />
zypper ar http://download.opensuse.org/repositories/home:/holgerob/SLE_11 aria2<br />
zypper ref<br />
zypper in aria2<br />
[/code]</li>
<li>Once installed, aria2 can be run through the console with the command: <strong>aria2c name-of-file</strong>, ex :<br />
[code language=&#8221;bash&#8221;]<br />
aria2c http://kambing.ui.ac.id/iso/opensuse/13.1/iso/openSUSE-13.1-DVD-x86_64.iso<br />
[/code][code language=&#8221;bash&#8221;]<br />
aria2c http://kambing.ui.ac.id/iso/opensuse/13.1/iso/openSUSE-13.1-DVD-x86_64.iso.torrent<br />
[/code]</li>
</ol>
<p>Aria2 will automatically check the size of the file and start the download process. Here is an example of the process log:<br />
<em>$ aria2c http://kambing.ui.ac.id/iso/opensuse/13.1/iso/openSUSE-13.1-DVD-i586.iso.torrent</em><br />
<em>2014-02-05 12:15:28.103709 WARN – You may encounter the certificate verification error with HTTPS server. See –ca-certificate and –check-certificate option.</em><br />
<em>2014-02-05 12:15:28.426243 NOTICE – Download complete: /srv/www/htdocs/iso/openSUSE-13.1-DVD-i586.iso.torrent</em><br />
<em>2014-02-05 12:15:28.467413 NOTICE – IPv4 DHT: listening to port 6994</em><br />
<em>*** Download Progress Summary as of Wed Feb 5 12:16:28 2014 ***</em><br />
<em>================================================================================</em><br />
<em>[#2 SIZE:0B/4,236.0MiB(0%) CN:0 SEED:0 SPD:0Bs]</em><br />
<em>FILE: /srv/www/htdocs/iso/openSUSE-13.1-DVD-i586.iso/openSUSE-13.1-DVD-i586.iso</em><br />
<em>——————————————————————————–</em><br />
<em>[#2 SIZE:0B/4,236.0MiB(0%) CN:0 SEED:0 SPD:0Bs] [FileAlloc:#2 4,206.7MiB/4,236.0</em><br />
<em>2014-02-05 12:17:27.274574 NOTICE &#8211; IPv4 BitTorrent: listening to port 6905</em><br />
<em>2014-02-05 12:17:27.274708 NOTICE &#8211; IPv6 BitTorrent: listening to port 6905</em><br />
<em>*** Download Progress Summary as of Wed Feb 5 12:17:30 2014 ***</em><br />
<em>================================================================================</em><br />
<em>[#2 SIZE:0B/4,236.0MiB(0%) CN:44 SEED:0 SPD:0Bs]</em><br />
<em>FILE: /srv/www/htdocs/iso/openSUSE-13.1-DVD-i586.iso/openSUSE-13.1-DVD-i586.iso</em><br />
<em>——————————————————————————–</em><br />
<em>*** Download Progress Summary as of Wed Feb 5 12:18:30 2014 ***</em><br />
<em>================================================================================</em><br />
<em>[#2 SIZE:18.5MiB/4,236.0MiB(0%) CN:44 SEED:30 SPD:399.4KiBs ETA:3h12s]</em><br />
<em>FILE: /srv/www/htdocs/iso/openSUSE-13.1-DVD-i586.iso/openSUSE-13.1-DVD-i586.iso</em></p>
<p>The post <a href="https://www.vavai.net/torrent-download-via-cliconsole/">Torrent Download via CLI/Console</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/torrent-download-via-cliconsole/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES</title>
		<link>https://www.vavai.net/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/</link>
					<comments>https://www.vavai.net/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/#comments</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Wed, 31 Mar 2010 02:33:08 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[OpenLDAP]]></category>
		<category><![CDATA[PDC]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[SLES]]></category>
		<category><![CDATA[SUSE Family]]></category>
		<category><![CDATA[Zimbra]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1172</guid>

					<description><![CDATA[<p>Note : This is part one of 2 article. I decided to split the tutorial to make it easier to read (and to write 🙂 ) This tutorial describes how you can configure Zimbra Mail Server &#38; Collaboration Suite and Samba to act as a primary domain controller (PDC) that uses Zimbra LDAP (Lightweight Directory...</p>
<p>The post <a href="https://www.vavai.net/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/">User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><em>Note : This is part one of 2 article. I decided to split the tutorial to make it easier to read (and to write <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> )</em><br />
<a class="highslide" onclick="return vz.expand(this)" href="http://54.254.121.108/wp-content/uploads/2010/03/zimbra-opensuse1.jpeg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1195" title="zimbra-opensuse" src="http://54.254.121.108/wp-content/uploads/2010/03/zimbra-opensuse1.jpeg" alt="" width="200" height="200" /></a><br />
This tutorial describes how you can configure Zimbra Mail Server &amp; Collaboration Suite and Samba to act as a primary domain controller (PDC) that  uses Zimbra LDAP (Lightweight Directory Access Protocol) as a central password  database for authenticating users on Linux and Windows desktops. The  integration process will make it easier for administrators to manage Zimbra Mail Server and Samba PDC / Active Directory account because it  use same LDAP database. If  applied in corporate environments or institutions who have been using  Windows Server, this guide can be used to set up Linux servers to  replace the Windows Active Directory Server and Microsoft Exchange  Server.<br />
The setup described in this document is not the only possible way  to make Samba and Zimbra use the same user database for authentication.  You may also use <a href="http://v2.vavai.net/2010/03/30/zimbra-mail-server-with-external-authentication-using-samba-pdcopenldap/">Zimbra External Authentication with Samba PDC</a>. External authentication are a little bit easy to be setting up, but we must manage the mailbox profile in Zimbra and it doesn&#8217;t seamlessly integrate Zimbra into Samba PDC+OpenLDAP. It is highly recommended to get familiar with Zimbra, Samba, LDAP and  PAM, before you start the installation.<br />
This tutorial are based on Zimbra wiki article : <a title="http://wiki.zimbra.com/index.php?title=UNIX_and_Windows_Accounts_in_Zimbra_LDAP_and_Zimbra_Admin_UI_6.0" rel="nofollow" href="http://wiki.zimbra.com/index.php?title=UNIX_and_Windows_Accounts_in_Zimbra_LDAP_and_Zimbra_Admin_UI_6.0">UNIX and Windows Accounts in Zimbra LDAP and Zimbra  Admin UI 6.0</a> but has been tune up to works successfully on openSUSE/SLES environment. The original wiki using Ubuntu/RedHat environment which doesn&#8217;t automatically fit with openSUSE/SLES configuration.<br />
I&#8217;m using Zimbra Mail Server 6.0.5 64 bit with the following configuration :<br />
<strong> Domain &amp; Hostname</strong></p>
<pre>Domain   : vavai.co.id
Hostname : zcspdc.vavai.co.id</pre>
<p><strong> IP Address<br />
</strong></p>
<pre>IP Address    : 192.168.10.1
Name Server 1 : 192.168.10.1
Name Server 2 : 8.8.8.8  (Google public DNS Server)
Name Server 3 : 208.67.222.222 (OpenDNS public DNS Server)
Router        : 192.168.10.254 (ADSL Modem)</pre>
<p><strong>File /etc/hosts</strong></p>
<pre>127.0.0.1       localhost
192.168.10.1    zcspdc.vavai.co.id zcspdc</pre>
<h4>ZIMBRA INSTALLATION</h4>
<p>Please use following article to install Zimbra on SLES 11 : <a href="http://v2.vavai.net/2010/02/10/installing-zimbra-6-0-5-64-bit-on-sles-11-64-bit/">Installing Zimbra 6.0.5 64 bit on  SUSE Linux Enterprise Server (SLES) 11  64 bit</a> or use this tutorial : <a title="http://v2.vavai.net/2009/12/22/installing-zimbra-6-0-4-on-opensuse-11-1-64-bit-part-1/" rel="nofollow" href="http://v2.vavai.net/2009/12/22/installing-zimbra-6-0-4-on-opensuse-11-1-64-bit-part-1/">Installing Zimbra 6.0.4 on openSUSE 11.1 64 bit</a> for Zimbra+openSUSE version.</p>
<h4>ZIMBRA LDAP CONFIGURATION</h4>
<p>The following script will automatically configure Zimbra LDAP as below :</p>
<ul>
<li>Add Samba Schema into Zimbra LDAP</li>
<li>Add proper index into Zimbra LDAP Schema</li>
<li>Add 2 user (zmposix and zmposixroot) as Zimbra LDAP Administrative Account with  default  password : rahasia</li>
<li>Adjust Zimbra LDAP ACL to allow administrative task regarding Samba-Zimbra integration</li>
<li>Add Admin Extension Zimbra Posfix Account and Zimbra  Samba Extension</li>
</ul>
<p>Thanks to Peracchi and Lithorus on the following thread on <a href="http://www.zimbra.com/forums/administrators/33168-help-make-zimbra-samba-tutorial-ubuntu-8-04-3-server-zimbra-6-0-1-a-3.html">Zimbra Forum</a> for idea and a great script.<br />
To run the automated script, run the following commandon console/terminal :<br />
[code language=&#8217;cpp&#8217;]<br />
su<br />
cd /srv<br />
wget -c http://vavai.com/wp-content/uploads/zcs-samba.tar.gz<br />
tar -zxvf zcs-samba.tar.gz<br />
su &#8211; zimbra<br />
cd /srv/zcs-samba<br />
./zcs-samba.sh<br />
[/code]<br />
NOTE : The script will automatically use &#8216;rahasia&#8217; (Indonesian word means &#8216;secret&#8217; <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f61b.png" alt="😛" class="wp-smiley" style="height: 1em; max-height: 1em;" /> ) as default password for zmposixroot and zmposix password. Please modify script to use your own password by change the following code on /srv/zcs-samba/zcs-samba.shÂ  :<br />
[code language=&#8217;cpp&#8217;]<br />
# set password for the posix ldap accounts<br />
ZMPOSIX_LDAP_PASSWORD=`/opt/zimbra/openldap/sbin/slappasswd -s rahasia`<br />
ZMPOSIXROOT_LDAP_PASSWORD=`/opt/zimbra/openldap/sbin/slappasswd -s rahasia`<br />
echo &#8220;Domain : $DOMAIN&#8221;<br />
echo &#8220;Hostname : $HOSTNAME&#8221;<br />
echo &#8220;Zimbra LDAP Password : $ZIMBRA_LDAP_PASSWORD&#8221;<br />
echo &#8220;LDAP Prefix : $LDAP_PREFIX&#8221;<br />
echo &#8220;ZMPOSIX_LDAP_PASSWORD : rahasia&#8221;<br />
[/code]<br />
Change &#8216;rahasia&#8217; on the above line with your own password.</p>
<h4>SAMBA INSTALLATION</h4>
<ul>
<li>Open YAST | Network Service | Samba Server. YAST will automatically added Samba package if you never install it.</li>
<li>On the first  wizard, fill in the  workgroup/domain name. I&#8217;m using vavai.co.id as my domain name as shown on top of the tutorial. Click Next.</li>
<li>On  Samba Server Type, Choose Primary Domain  Controller (PDC) and then click Next</li>
<li>On  start-up, choose <strong>Service Start During Boot</strong> so  Samba will automatically be activated during boot. Don&#8217;t forget to open your Firewall port</li>
<li>Move to  LDAP Setting tab.</li>
<li>Click on <strong>Use LDAP Password Back-End </strong>option</li>
<li>Change  LDAP Server URL from default entry ldap://127.0.0.1 to be  ldap://192.168.10.1 (remember my  IP address configuration above). Use same address toÂ  IdMap Back-End</li>
<li>Change  Search Base DN to Zimbra LDAP DN, mine are  dc=vavai,dc=co,dc=id</li>
<li>Fill in Administrator DN and the password:  uid=zmposixroot,cn=appaccts,cn=zimbra). Click Test Connection to test the connection between Zimbra and Samba machine.</li>
<li>Click Advanced Setting | Expert LDAP Setting</li>
<li> Change user suffix to be ou=people</li>
<li>Change group suffix to be ou=groups</li>
<li>Change Machine suffix to be ou=machines</li>
<li>Click OK to close Expert LDAP Setting windows</li>
<li>Click  OK to close  Samba Server wizard. Fill in  password for Samba root /Administrator password.  To prevent any confused setting, I&#8217;m using same password between zmposixroot, zmposix and Samba root password <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f61b.png" alt="😛" class="wp-smiley" style="height: 1em; max-height: 1em;" /></li>
</ul>
<h4>SAMBA CONFIGURATION</h4>
<ul>
<li>Open /etc/samba/smb.conf with your preferred text editor (vi, gedit,  kate or kwrite)</li>
<li>Give it a # (comment mark) on the following line (if you do not use dhcp on your Samba configuration) :</li>
</ul>
<p>[code language=&#8217;cpp&#8217;]<br />
include = /etc/samba/dhcp.conf<br />
[/code]</p>
<ul>
<li>Save the configuration</li>
</ul>
<h4>LDAP CLIENT CONFIGURATION</h4>
<ul>
<li>Click YAST | Network Services | LDAP Client</li>
<li> Click  <strong>Use LDAP</strong> on User Authentication</li>
<li>Change Address to use Zimbra IP (192.168.10.1)</li>
<li>Fill in LDAP Base DN (dc=vavai,dc=co,dc=id)</li>
<li>Leave others as is</li>
<li>Click Advanced Configuration</li>
<li> Change <strong>Password Change Protocol</strong> to MD5</li>
<li>Leave <strong> Group Member Attribute = Member</strong> setting</li>
<li>Click on Administration Setting tab</li>
<li>Fill in uid=zmposixroot,cn=appaccts,cn=zimbra on   Administrator DN text box. LeaveÂ  <strong>Append Base DN </strong>setting unchecked</li>
<li>Leave <strong> Create Default Configuration Objects</strong> setting unchecked</li>
<li>Click OK</li>
<li>Click OK</li>
</ul>
<h4>NSS-LDAP &amp; PAM-LDAP CONFIGURATION</h4>
<ul>
<li>Open file /etc/ldap.conf with your preferred text  editor and change the following line (remove  # mark)</li>
</ul>
<p>[code language=&#8217;cpp&#8217;]<br />
host 192.168.10.1<br />
base dc=vavai,dc=co,dc=id<br />
binddn uid=zmposix,cn=appaccts,cn=zimbra<br />
bindpw rahasia<br />
rootbinddn uid=zmposixroot,cn=appaccts,cn=zimbra<br />
port 389<br />
bind_policy soft<br />
nss_reconnect_tries 2<br />
uri ldap://192.168.10.1/<br />
ssl start_tls<br />
tls_cacertdir /opt/zimbra/conf/ca<br />
tls_checkpeer no<br />
pam_password md5<br />
nss_base_passwd         ou=people,dc=vavai,dc=co,dc=id?one<br />
nss_base_shadow         ou=people,dc=vavai,dc=co,dc=id?one<br />
nss_base_group          ou=groups,dc=vavai,dc=co,dc=id?one<br />
nss_base_hosts          ou=machines,dc=vavai,dc=co,dc=id?one<br />
[/code]</p>
<ul>
<li>Save the configuration</li>
<li>Edit /etc/nsswitch.conf and change the following line :</li>
</ul>
<p>[code language=&#8217;cpp&#8217;]<br />
passwd: compat<br />
group: compat<br />
[/code]<br />
with<br />
[code language=&#8217;cpp&#8217;]passwd: files ldap<br />
group: files ldap<br />
[/code]</p>
<ul>
<li> Edit /etc/pam.d/common-account and change the configuration as below :</li>
</ul>
<p>[code language=&#8217;cpp&#8217;]account sufficient pam_unix.so<br />
account sufficient pam_ldap.so<br />
[/code]</p>
<ul>
<li> Edit /etc/pam.d/common-auth and change the configuration as below :</li>
</ul>
<p>[code language=&#8217;cpp&#8217;]auth sufficient pam_ldap.so<br />
auth sufficient pam_unix.so<br />
[/code]</p>
<ul>
<li> Edit /etc/pam.d/common-password and change the configuration as below :</li>
</ul>
<p>[code language=&#8217;cpp&#8217;]password sufficient pam_unix.so<br />
password sufficient pam_ldap.so<br />
[/code]</p>
<ul>
<li> Edit /etc/pam.d/common-session and change the configuration as below :</li>
</ul>
<p>[code language=&#8217;cpp&#8217;]session sufficient pam_unix.so<br />
session sufficient pam_ldap.so<br />
[/code]<br />
Tutorial will be continue to part 2 of User Account Integration between Samba PDC &amp; Zimbra Mail Server on openSUSE / SLES.</p>
<p>The post <a href="https://www.vavai.net/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/">User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 2 (Finish)</title>
		<link>https://www.vavai.net/how-to-samba-pdcopenldap-on-opensusesles-part-2-finish/</link>
					<comments>https://www.vavai.net/how-to-samba-pdcopenldap-on-opensusesles-part-2-finish/#comments</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Tue, 30 Mar 2010 08:52:46 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[PDC]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[SLES]]></category>
		<category><![CDATA[SUSE Family]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1186</guid>

					<description><![CDATA[<p>Previous tutorial : Samba PDC+OpenLDAP on openSUSE/SLES Part 1, Setting LDAP Server SETTING LDAP CLIENT Click YAST &#124; Network Services &#124; LDAP Client Click Use LDAP pada User Authentication Fill in Address with server IP or by using 127.0.0.1 as default address MarkÂ  LDAP TLS/SSL option checked if you choose to use TLS/SSL on previous...</p>
<p>The post <a href="https://www.vavai.net/how-to-samba-pdcopenldap-on-opensusesles-part-2-finish/">How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 2 (Finish)</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Previous tutorial : <a href="http://v2.vavai.net/2010/03/30/how-to-samba-pdcopenldap-on-opensusesles-part-1/">Samba PDC+OpenLDAP on openSUSE/SLES Part 1, Setting LDAP Server</a><br />
<a class="highslide" onclick="return vz.expand(this)" href="http://54.254.121.108/wp-content/uploads/2010/03/samba-pdc1.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1189" title="samba-pdc" src="http://54.254.121.108/wp-content/uploads/2010/03/samba-pdc1.jpg" alt="" width="500" height="375" /></a><br />
<strong>SETTING LDAP CLIENT</strong></p>
<ol>
<li>Click YAST | Network Services | LDAP Client</li>
<li>Click <strong>Use LDAP</strong> pada <strong>User Authentication</strong></li>
<li>Fill in Address with server IP or by using 127.0.0.1 as default address</li>
<li>MarkÂ  <strong>LDAP TLS/SSL </strong>option checked if you choose to use TLS/SSL on previous tutorial, or vice versa, leave it unchecked if you choose to not use TLS on previous tutorialÂ  <strong><br />
</strong></li>
<li>Fill in LDAP Base DN (dc=namadomain, dc=tld, ex : dc=vavai,dc=co,dc=id). You may also get the LDAP Base DN by clickingÂ  <strong>Fetch DN </strong>button</li>
<li>Leave others option as is<br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap8.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1083" title="pdc-ldap8" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap8.png" alt="" width="449" height="465" /></a></li>
<li>Click <strong>Advanced Configuration</strong></li>
<li>Change <strong>Password Change Protocol</strong> to MD5</li>
<li>Leave option <strong>Group Member Attribute = Member</strong> unchanged<br />
<strong> `<br />
</strong><a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap9.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1084" title="pdc-ldap9" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap9.png" alt="" width="449" height="465" /></a><strong><br />
</strong></li>
<li>Click <strong>Administration Setting</strong></li>
<li>Fill in cn=Administrator on <strong>Administrator DN</strong>. Don&#8217;t forget to give a check on <strong>Append Base DN </strong>option</li>
<li>Mark a check on <strong>Create Default Configuration Objects </strong>option<br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap10.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1085" title="pdc-ldap10" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap10.png" alt="" width="449" height="465" /></a></li>
<li>Click OK</li>
<li>Click OK</li>
</ol>
<p><strong>SETTING SAMBA SERVER PRIMARY DOMAIN CONTROLLER (PDC)</strong></p>
<ol>
<li>Open YAST | Network Services | Samba Server</li>
<li>Fill in workgroup/domain name on first wizard. I&#8217;m usingdomain <a href="http://vavai.com">vavai.co.id</a> as my  workgroup name. Click <strong>Next</strong><br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap11.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1090" title="pdc-ldap11" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap11.png" alt="" width="440" height="362" /></a></li>
<li>On  <strong>Samba Server Type</strong> option, choose <strong>Primary Domain Controller (PDC)</strong>. Click  Next</li>
<li>On  start-up tab, choose <strong>Service Start During Boot</strong> option, so  Samba will automatically started on boot. Don&#8217;t forget to click <strong>Open Port in Firewall </strong>if you use firewall on intranet zone<br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap12.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1091" title="pdc-ldap12" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap12.png" alt="" width="440" height="362" /></a></li>
<li>Move to  <strong>LDAP Setting</strong> tab.</li>
<li>Click on <strong>Use LDAP Password Back-End</strong></li>
<li>Fill inÂ  Administrator DN and password setting (cn=Administrator,dc=vavai,dc=co,dc=id, adjust it with your domain name). Click  <strong>Test Connection</strong> to test LDAP server connection. If  test result is failed, recheck your configuration setting.<br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap13.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1092" title="pdc-ldap13" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap13.png" alt="" width="466" height="422" /></a></li>
<li>Click  OK and then fill in  Samba root /Administrator password<br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap14.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1093" title="pdc-ldap14" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap14.png" alt="" width="281" height="234" /></a></li>
</ol>
<p><strong>SETTING USER NAME &amp; PASSWORD</strong></p>
<ol>
<li>Click on <strong>YAST | Security and Users | User &amp; Group Management</strong></li>
<li>Click <strong>Expert Options | LDAP User &amp; Group Configuration</strong> option on bottom-right-corner menu</li>
<li>Fill in LDAP Admin password (see whether your bind DN configuration has setup correctly)</li>
<li>Move to  Configuration Module, and then chooseÂ  <strong>userconfiguration</strong><br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap15.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1094" title="pdc-ldap15" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap15.png" alt="" width="462" height="434" /></a></li>
<li>Change <strong>susemaxpasswordlength</strong> with your maximum password length</li>
<li>Change <strong>suseminpasswordlength</strong> with your minimum password length</li>
<li>Change  susepasswordhash from SSHA toÂ  SMD5</li>
<li>Click OK</li>
<li>Click on <strong>Set Filter </strong>option on top-right-corner menu and choose <strong>LDAP Users</strong>. This will display all LDAP user list, currently are empty because we have create any user yet</li>
<li>Click <strong>Add</strong></li>
<li>Fill in user profile and password<br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap16.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1095" title="pdc-ldap16" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap16.png" alt="" width="462" height="434" /></a></li>
<li>Click OK</li>
</ol>
<p>Restart all service (or reboot your computer) to test all the service. f you wish to join Windows workstation into Samba PDC+LDAP domain, use the Samba root user name and password as Administrator user. Share folder, Profile, netlogon and custom setting could be modified within YAST | Network Services | Samba Server. Samba LDAP user could be added or modify with the above procedure using YAST | Security &amp; Users | User &amp; Group Management.</p>
<p>The post <a href="https://www.vavai.net/how-to-samba-pdcopenldap-on-opensusesles-part-2-finish/">How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 2 (Finish)</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/how-to-samba-pdcopenldap-on-opensusesles-part-2-finish/feed/</wfw:commentRss>
			<slash:comments>9</slash:comments>
		
		
			</item>
		<item>
		<title>How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 1</title>
		<link>https://www.vavai.net/how-to-samba-pdcopenldap-on-opensusesles-part-1/</link>
					<comments>https://www.vavai.net/how-to-samba-pdcopenldap-on-opensusesles-part-1/#comments</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Tue, 30 Mar 2010 03:40:49 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[PDC]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[SLES]]></category>
		<category><![CDATA[SUSE Family]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1179</guid>

					<description><![CDATA[<p>I have written Samba PDC+OpenLDAP tutorial on openSUSE on previous article but the tutorial are based on manual configuration and need too many steps to make it usable. Now, I want to share how to make Samba PDC+OpenLDAP on openSUSE or SLES with automatic configuration using the YAST way 🙂 . The tutorial should be...</p>
<p>The post <a href="https://www.vavai.net/how-to-samba-pdcopenldap-on-opensusesles-part-1/">How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 1</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a class="highslide" onclick="return vz.expand(this)" href="http://54.254.121.108/wp-content/uploads/2010/03/windows-linux2.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1184" title="windows-linux" src="http://54.254.121.108/wp-content/uploads/2010/03/windows-linux2.jpg" alt="" width="350" height="204" /></a><br />
I have written <a href="http://v2.vavai.net/2010/01/29/tutorial-samba-pdc-openldap-on-opensuse-11-1-%E2%80%93-part-6/">Samba PDC+OpenLDAP tutorial on openSUSE</a> on previous article but the tutorial are based on manual configuration and need too many steps to make it usable. Now, I want to share how to make Samba PDC+OpenLDAP on openSUSE or SLES with automatic configuration using the YAST way <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> . The tutorial should be easy to understand and and need a few step to make it ready for testing.<br />
<strong>INSTALLING OPENSUSE</strong><br />
Install openSUSE 11.2 with or without GUI, choose which one suitable for your purpose. I&#8217;m using a GUI example because this tutorial intended for student <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> . a Minimal server selection (text mode) maybe a better option for production server. Please refer to <a href="http://en.opensuse.org/INSTALL_Local">openSUSE 11.2 installation guide</a> if you need an assistance regarding openSUSE installation.<br />
Lucky for Indonesian <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /> , I&#8217;ve written a PDF tutorial with clear explanation regarding openSUSE installation for this purposeÂ  : <a href="http://vavai.com/2010/03/21/tutorial-instalasi-opensuse-11-2-versi-server-berbasis-gui-2/">Tutorial Instalasi openSUSE 11.2 Versi Server Berbasis GUI</a><br />
<strong>INSTALLING  LDAP SERVER</strong><br />
Follow these wizard to install and configure LDAP server :</p>
<ol>
<li>Open YAST | Software | Software Management<br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap1.png"><img loading="lazy" decoding="async" class="size-full wp-image-1069 alignnone" title="pdc-ldap1" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap1.png" alt="" width="455" height="269" /></a></li>
<li>Choose View | Pattern</li>
<li>Scroll to  Server Function</li>
<li>Give a checked mark on <strong>File Server, DHCP and DNS Server, Directory Server (LDAP)</strong><br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap2.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1070" title="pdc-ldap2" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap2.png" alt="" width="480" height="375" /></a></li>
<li>Click <strong>Accept</strong></li>
<li>openSUSE should be automatically detect  dependency package. Click <strong>Continue </strong>to install selected package<br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap3.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1071" title="pdc-ldap3" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap3.png" alt="" width="451" height="389" /></a></li>
<li>Close  YAST and then open again. I take this step to make sure YAST refresh new package installation and add to it&#8217;s menu</li>
<li>Choose YAST | Network Service | LDAP Server</li>
<li>Click <strong>Yes </strong>on <strong>Start LDAP Server. </strong>Give it a check mark on <strong>Open Port in Firewall</strong> if you use firewall. Leave others as is and then click <strong>Next</strong><br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap4.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1072" title="pdc-ldap4" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap4.png" alt="" width="468" height="388" /></a></li>
<li>Click <strong>Enable TLS </strong>and then create TLS Certificate by using <strong>Launch CA Management Module </strong>button and follow the wizard. Leave it unchecked if you wish to use LDAP without TLS connection.<br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap5.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1073" title="pdc-ldap5" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap5.png" alt="" width="468" height="388" /></a></li>
<li>On  basic database setting fill in the default database setting :<br />
[code language=&#8217;cpp&#8217;]<br />
Database Type : hdb<br />
Base DN : dc=domainname, dc=tld<br />
Example :<br />
If myÂ  domain = vavai.co.id, configuration will be like this : Base DN = dc=vavai, dc=co, dc=id<br />
If my domain = vavai.com, configuration will be like this : Base DN = dc=vavai, dc=com<br />
Administrator DN : cn= Administrator. Leave  Append Base DN option checked<br />
Don&#8217;t forget to fill your  LDAP Password<br />
Also, leave a check mark onÂ  &#8220;Use this database as the default for OpenLDAP&#8221;<br />
[/code]<br />
Click  Next if all setting has been completed.<br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap6.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1074" title="pdc-ldap6" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap6.png" alt="" width="468" height="388" /></a></li>
<li>Click Finish<br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap7.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1075" title="pdc-ldap7" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap7.png" alt="" width="468" height="388" /></a></li>
</ol>
<p><strong>ADD SAMBA SCHEMA</strong></p>
<ol>
<li>Open YAST | Network Services | LDAP Server</li>
<li>Click   <strong>Schema Files</strong> on left pane menu</li>
<li>Click Add and add <strong>Samba3.Schema</strong> so we will have following   LDAP Schema : schema, core, cosine, inetorgperson,  rfc2307bis,yast and samba3<br />
`<br />
<a onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap-schema.png"><img loading="lazy" decoding="async" title="pdc-ldap-schema" src="http://vavai.com/wp-content/uploads/2010/03/pdc-ldap-schema.png" alt="" width="450" height="351" /></a></li>
<li>Click OK</li>
</ol>
<p>Next Tutorial are LDAP Client Configuration</p>
<p>The post <a href="https://www.vavai.net/how-to-samba-pdcopenldap-on-opensusesles-part-1/">How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 1</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/how-to-samba-pdcopenldap-on-opensusesles-part-1/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Zimbra Mail Server with External Authentication using Samba PDC+OpenLDAP</title>
		<link>https://www.vavai.net/zimbra-mail-server-with-external-authentication-using-samba-pdcopenldap/</link>
					<comments>https://www.vavai.net/zimbra-mail-server-with-external-authentication-using-samba-pdcopenldap/#comments</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Mon, 29 Mar 2010 20:57:09 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SUSE Family]]></category>
		<category><![CDATA[Zimbra]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1174</guid>

					<description><![CDATA[<p>Zimbra mail server using LDAP as default account database, but we may also use external LDAP/AD as Zimbra user authentication. This tutorial will cover how to use openSUSE/SLESÂ  PDC+OpenLDAP user as Zimbra user authentication. SAMBA PDC CONFIGURATION I&#8217;m using openSUSE 11.2 with SambaÂ  PDC+OpenLDAP but tutorial may also applied on another openSUSE version or on...</p>
<p>The post <a href="https://www.vavai.net/zimbra-mail-server-with-external-authentication-using-samba-pdcopenldap/">Zimbra Mail Server with External Authentication using Samba PDC+OpenLDAP</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="http://v2.vavai.net/wp-content/uploads/2010/03/zimbra-opensuse1.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1175" title="zimbra-opensuse1" src="http://v2.vavai.net/wp-content/uploads/2010/03/zimbra-opensuse1.jpg" alt="" width="125" height="125" /></a><br />
Zimbra mail server using  LDAP as default account database, but we may also use external LDAP/AD as Zimbra user authentication. This tutorial will cover how to use openSUSE/SLESÂ  PDC+OpenLDAP user as Zimbra user authentication.<br />
<strong>SAMBA PDC CONFIGURATION</strong><br />
I&#8217;m using  openSUSE 11.2 with SambaÂ  PDC+OpenLDAP but tutorial may also applied on another openSUSE version or on SLES. In this example, server hostname isÂ  host pdc.vavai.info (192.168.0.6), with bind DN cn=Administrator, dc=vavai, dc=info and using 2 LDAP ports : standard portÂ  389 and  SSL portÂ  636. Don&#8217;t forget to add these ports as an allowed port on firewall.<br />
<strong>ZIMBRA CONFIGURATION</strong></p>
<ol>
<li>Login to  Zimbra Admin</li>
<li>Go to Domain on left pane menu</li>
<li>Choose domain to be configure. If we have multi domain schema on Zimbra,Â  we must configuring external authentication for each domain, even if all domain using same LDAP server</li>
<li>Choose  <strong>Configure Authentication</strong> menu.</li>
<li>On <strong>Authentication Mode</strong> choose <strong>External LDAP</strong></li>
<li>Fill in the configuration of  Samba LDAP. Take a look on the following picture for a configuration example<a class="highslide" onclick="return vz.expand(this)" href="http://54.254.121.108/wp-content/uploads/2010/03/ldap-external.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1025" title="ldap-external" src="http://54.254.121.108/wp-content/uploads/2010/03/ldap-external.png" alt="" width="458" height="307" /></a><br />
Adjust the configuration with your own setting and then click Next.</li>
<li>Next wizard are LDAP bind DN configuration. Bind DN is the configuration of admin user/manager used for accessing LDAP data. Click on <strong>Use DN/Password to bind to external server</strong> check box and then fill the bind DN text box. I&#8217;m using <strong>cn=Administrator,dc=vavai,dc=info</strong> as Samba PDC+openLDAP bind DN. Don&#8217;t forget to fill in the bind DN password (admin user/LDAP manager password)</li>
<li>On next wizard, use Samba PDC user account as  user name and password and then clickÂ  Test for testing Samba PDC+OpenLDAP connection. Zimbra will response withÂ  <strong>Authentication Test Result : Authentication test successful </strong>message if Samba PDC+OpenLDAP has connected successfully<strong>. </strong><br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/ldap-external2.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1026" title="ldap-external2" src="http://vavai.com/wp-content/uploads/2010/03/ldap-external2.png" alt="" width="456" height="308" /></a></li>
</ol>
<p>Please remember that the above configuration still need an inbox account on Zimbra mail server so you must create the appropriate account with no password on Zimbra to map user on Samba PDC with their mailbox.Â  Zimbra account do not need password because password will be pass to LDAP account on Samba PDC.<br />
If you wish to integrating Samba &amp; Zimbra user as fully single user name, mailbox and password, please refer to <a href="http://wiki.zimbra.com/index.php?title=UNIX_and_Windows_Accounts_in_Zimbra_LDAP_and_Zimbra_Admin_UI">UNIX and Windows Accounts in Zimbra LDAP and Zimbra Admin UI</a></p>
<p>The post <a href="https://www.vavai.net/zimbra-mail-server-with-external-authentication-using-samba-pdcopenldap/">Zimbra Mail Server with External Authentication using Samba PDC+OpenLDAP</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/zimbra-mail-server-with-external-authentication-using-samba-pdcopenldap/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Installing Zimbra 6.0.5 64 bit on SLES 11 64 bit</title>
		<link>https://www.vavai.net/installing-zimbra-6-0-5-64-bit-on-sles-11-64-bit/</link>
					<comments>https://www.vavai.net/installing-zimbra-6-0-5-64-bit-on-sles-11-64-bit/#comments</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Wed, 10 Feb 2010 08:34:06 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SUSE Family]]></category>
		<category><![CDATA[Zimbra]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1161</guid>

					<description><![CDATA[<p>Zimbra has published a new update for Zimbra Mail Server &#38; Collaboration Suite, Zimbra 5.0.22 and Zimbra 6.0.5. This is the first update since VMWare acquired Zimbra. I would like to test it to see whether status &#38; logger problem on Zimbra 6.0.4 has been officially solved or not. I&#8217;m currently testing Zimbra 6.0.5 64...</p>
<p>The post <a href="https://www.vavai.net/installing-zimbra-6-0-5-64-bit-on-sles-11-64-bit/">Installing Zimbra 6.0.5 64 bit on SLES 11 64 bit</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="http://v2.vavai.net/wp-content/uploads/2010/02/zimbra-logo3.jpg"><img loading="lazy" decoding="async" class="alignleft size-full wp-image-1163" title="zimbra-logo3" src="http://v2.vavai.net/wp-content/uploads/2010/02/zimbra-logo3.jpg" alt="" width="320" height="105" /></a>Zimbra has published a new update for Zimbra Mail Server &amp; Collaboration Suite, Zimbra 5.0.22 and Zimbra 6.0.5. This is the first update since VMWare acquired Zimbra. I would like to test it to see whether <a href="http://v2.vavai.net/2010/01/06/solution-for-zimbra-6-0-4-logger-problem/">status &amp; logger problem on Zimbra 6.0.4</a> has been officially solved or not.<br />
I&#8217;m currently testing Zimbra 6.0.5 64 bit installation on SLES 11 64 bit, using Xen Hypervisor Guest (paravirtualization). The installation went smooth with only a few modification on SLES as describe below :</p>
<ol>
<li>Install SLES on text or server mode to prevent any unused services</li>
<li>Edit your <strong>/etc/hosts</strong> so it will looks like below (change 127.0.0.2 with your Zimbra IP, mine is 192.168.0.31) :<br />
[code language=&#8217;cpp&#8217;]<br />
127.0.0.1       localhost<br />
192.168.0.31 hostname.domain.tld hostname<br />
[/code]</li>
<li>Add sysstat package using YAST | Software | Software Management or by usingÂ  Zypper. Zimbra need another package such asÂ  cron, fetchmail etc, but the installation process has installed all of them by default.<br />
[code language=&#8217;cpp&#8217;]<br />
zypper in sysstat<br />
[/code]</li>
<li>Set your DNS soÂ  A and MX records address will point toÂ  Zimbra. I&#8217;ve published an article regarding <a href="http://v2.vavai.net/2009/12/19/installing-zimbra-5-0-21-on-opensuse-11-2-32-bit-part-2/">DNS Server configuration to meet with Zimbra Requirement</a>.</li>
<li>Disable PostfixÂ  :<br />
[code language=&#8217;cpp&#8217;]<br />
service postfix stop<br />
chkconfig postfix off<br />
[/code]</li>
<li>Download Zimbra binary installer<br />
[code language=&#8217;cpp&#8217;]<br />
cd /opt<br />
wget -c http://h.yimg.com/lo/downloads/6.0.5_GA/zcs-6.0.5_GA_2213.SLES11_64.20100202233758.tgz<br />
[/code]</li>
<li>decompress, run the installation script and then follow the wizard<br />
[code language=&#8217;cpp&#8217;]<br />
tar -zxvf zcs-6.0.5_GA_2213.SLES11_64.20100202233758.tgz<br />
cd zcs-6.0.5_GA_2213.SLES11_64.20100202233758<br />
sh install.sh<br />
[/code]</li>
</ol>
<p><a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/02/zimbra605-sles64.jpeg"><a class="highslide" onclick="return vz.expand(this)" href="http://54.254.121.108/wp-content/uploads/2010/02/zimbra605-sles641.jpeg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1164" title="zimbra605-sles64" src="http://54.254.121.108/wp-content/uploads/2010/02/zimbra605-sles641.jpeg" alt="" width="469" height="455" /></a></a><br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/02/zimbra605-status.jpeg"><a class="highslide" onclick="return vz.expand(this)" href="http://v2.vavai.net/wp-content/uploads/2010/02/zimbra605-status.jpeg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1165" title="zimbra605-status" src="http://v2.vavai.net/wp-content/uploads/2010/02/zimbra605-status.jpeg" alt="" width="338" height="245" /></a></a></p>
<p>The post <a href="https://www.vavai.net/installing-zimbra-6-0-5-64-bit-on-sles-11-64-bit/">Installing Zimbra 6.0.5 64 bit on SLES 11 64 bit</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/installing-zimbra-6-0-5-64-bit-on-sles-11-64-bit/feed/</wfw:commentRss>
			<slash:comments>16</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 6</title>
		<link>https://www.vavai.net/tutorial-samba-pdc-openldap-on-opensuse-11-1-part-6/</link>
					<comments>https://www.vavai.net/tutorial-samba-pdc-openldap-on-opensuse-11-1-part-6/#comments</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Fri, 29 Jan 2010 04:44:08 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenLDAP]]></category>
		<category><![CDATA[PDC]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[SUSE Family]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1150</guid>

					<description><![CDATA[<p>Previous Tutorial : Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 1, Installing Base System &#38; Configuring Samba Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 2, Configuring OpenLDAP Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 3, Configuring smbldap-tools &#38; LDAP Account Manager Tutorial :...</p>
<p>The post <a href="https://www.vavai.net/tutorial-samba-pdc-openldap-on-opensuse-11-1-part-6/">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 6</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Previous Tutorial :</p>
<ol>
<li><a href="http://v2.vavai.net/2010/01/04/tutorial-samba-pdc-openldap-on-opensuse-11-1-part-1/">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 1, Installing Base System &amp; Configuring Samba</a></li>
<li><a href="http://v2.vavai.net/2010/01/06/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-2/">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 2, Configuring OpenLDAP</a></li>
<li><a href="http://v2.vavai.net/2010/01/07/tutorial-samba-pdc-openldap-on-opensuse-11-1-â€“-part-3/">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 3, Configuring smbldap-tools &amp; LDAP Account Manager</a></li>
<li><a href="http://v2.vavai.net/2010/01/09/tutorial-samba-pdc-openldap-on-opensuse-11-1-%E2%80%93-part-4/">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 4, Configuring Dynamic DHCP &amp; DNS Server</a></li>
<li><a href="http://v2.vavai.net/2010/01/28/tutorial-samba-pdc-openldap-on-opensuse-11-1-%E2%80%93-part-5/">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 5, Testing Samba &amp; Configuring Client</a></li>
</ol>
<p><a href="http://54.254.121.108/wp-content/uploads/2010/01/windows-linux131.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1153" title="windows-linux1" src="http://54.254.121.108/wp-content/uploads/2010/01/windows-linux131.jpg" alt="" width="350" height="204" /></a><br />
<strong>ERROR MESSAGE AND HOW TO SOLVE THE PROBLEM<br />
</strong><br />
Samba PDC+OpenLDAP is one of the longest tutorial. These are maybe a typo or incomplete configuration, although I&#8217;ve checked and proof read for the typo. Please let me know if you found something problem while trying the tutorial. I&#8217;ll be really appreciate to the suggestion to make it as usable as it should be.<br />
Following are some error messages that might be  found when doing the configuration. The collection came from my notes while installing andÂ  configuring Samba PDC+OpenLDAP for the first time.</p>
<ol>
<li>Missing Perl Library for LDAP while trying to run smbldap-tools<br />
[code language=&#8217;cpp&#8217;]<br />
smbldap-useradd -m -a root<br />
[/code]</p>
<blockquote><p>Can&#8217;t locate Net/LDAP.pm in @INC (@INC contains: /usr/sbin/<br />
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0<br />
/usr/lib/perl5  /site_perl/5.10.0/x86_64-linux-thread-multi<br />
/usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi<br />
/usr/lib/perl5 /vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at<br />
/usr/sbin//smbldap_tools.pm line 26.<br />
BEGIN failed&#8211;compilation aborted at /usr/sbin//smbldap_tools.pm line 26.<br />
Compilation failed in require at /usr/sbin/smbldap-useradd line 30.<br />
BEGIN failed&#8211;compilation aborted at /usr/sbin/smbldap-useradd line 30.</p></blockquote>
<p>Solution : Install perl-ldap with zypper or YAST</li>
<li>Missing  Perl library for UTF-8<br />
<blockquote><p>Can&#8217;t locate Unicode/MapUTF8.pm in @INC (@INC contains: /usr/sbin/<br />
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0<br />
/usr/lib/perl5  /site_perl/5.10.0/x86_64-linux-thread-multi<br />
/usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi<br />
/usr/lib/perl5 /vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin//smbldap_tools.pm line 28,<br />
line 275.<br />
BEGIN failed&#8211;compilation aborted at /usr/sbin//smbldap_tools.pm line 28,  line 275.<br />
Compilation failed in require at /usr/sbin/smbldap-useradd line 30,  line 275.<br />
BEGIN failed&#8211;compilation aborted at /usr/sbin/smbldap-useradd line 30,  line 275.</p></blockquote>
<p>Solution : Install perl-Unicode-MapUTF8 with  zypper or YAST</li>
<li>Error while running <strong>smbldap-useradd -m -a root</strong> command<br />
<blockquote><p>server:/home/vavai/Desktop/openldap-vavai # smbldap-useradd -m -a root<br />
Error: modifications require authentication at /usr/sbin//smbldap_tools.pm line<br />
1187,   line 466.</p></blockquote>
<p>Solution : Check <strong> /etc/smbldap-tools/smbldap_bind.conf</strong>,  domain name (dc=domainname,dc=net) should be correct</p>
<blockquote><p>server:/home/vavai/Desktop/openldap-vavai # smbldap-useradd -m -a root<br />
Error: Insufficient access at /usr/sbin//smbldap_tools.pm line 1187,  line 466.</p></blockquote>
<p>Solution : Check<strong> /etc/smbldap-tools/smbldap_bind.conf</strong>, make sure it has valid credentials for LDAP (cn=Manager,<br />
dc=domainname,dc=net)</li>
<li>Error message on running <strong>smbpasswd -a</strong><br />
[code language=&#8217;cpp&#8217;]<br />
smbpasswd -a<br />
[/code]</p>
<blockquote><p>WARNING: Your &#8216;passdb backend&#8217; configuration includes multiple backends.  This<br />
is deprecated since Samba 3.0.23.  Please check WHATSNEW.txt or the section &#8216;Passdb<br />
Changes&#8217; from the ChangeNotes as part of the Samba HOWTO collection.  Only the first<br />
backend (ldapsam:&#8221;ldap://server.vavai.net&#8221;) is used.  The rest is ignored.<br />
add_new_domain_info: failed to add domain dn= sambaDomainName=VAVAI,dc=vavai,dc=net with: Insufficient access<br />
no write access to parent<br />
smbldap_search_domain_info: Adding domain info for VAVAI failed with NT_STATUS_UNSUCCESSFUL</p></blockquote>
<p>Solution : Check your password, use the credential user : Manager with ldap password</li>
<li>Error message :  Connection Refused<br />
[code language=&#8217;cpp&#8217;]<br />
smbclient -L localhost -N<br />
[/code]</p>
<blockquote><p>Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)</p></blockquote>
<p>Solution : Check your /etc/hosts and make sure you have valid permission on /data/samba/profiles(or any share folder for samba profiles)</li>
<li>Error message : Error looking for next uid in sambaDomainName<br />
[code language=&#8217;cpp&#8217;]<br />
smbldap-useradd -m -a root<br />
[/code]</p>
<blockquote><p>Error looking for next uid in sambaDomainName=VAVAI.NET,dc=vavai,dc=net:<br />
No such object at /usr/sbin //smbldap_tools.pm line 1174,  line 466.</p></blockquote>
<p>Solution : Change the following line sambaUnixIdPooldn onÂ  /etc/smbldap-tools to be like below :<br />
[code language=&#8217;cpp&#8217;]<br />
sambaUnixIdPooldn=&#8221;sambaDomainName=VAVAI.NET,ou=Domains,${suffix}&#8221;<br />
[/code]</li>
</ol>
<p>If you have another error message, let&#8217;s discuss it on comment form. I&#8217;ll be glad to add the list of error message to help anyone implementing Samba PDC+OpenLDAP on openSUSE sucessfully.<br />
Note : Forgive me for any misspelling and/or grammar.</p>
<p>The post <a href="https://www.vavai.net/tutorial-samba-pdc-openldap-on-opensuse-11-1-part-6/">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 6</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/tutorial-samba-pdc-openldap-on-opensuse-11-1-part-6/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 5</title>
		<link>https://www.vavai.net/tutorial-samba-pdc-openldap-on-opensuse-11-1-part-5/</link>
					<comments>https://www.vavai.net/tutorial-samba-pdc-openldap-on-opensuse-11-1-part-5/#comments</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Thu, 28 Jan 2010 09:46:07 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenLDAP]]></category>
		<category><![CDATA[PDC]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[SUSE Family]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1143</guid>

					<description><![CDATA[<p>Previous Tutorial : Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 1, Installing Base System &#38; Configuring Samba Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 2, Configuring OpenLDAP Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 3, Configuring smbldap-tools &#38; LDAP Account Manager Tutorial :...</p>
<p>The post <a href="https://www.vavai.net/tutorial-samba-pdc-openldap-on-opensuse-11-1-part-5/">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 5</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Previous Tutorial :</p>
<ol>
<li><a href="http://v2.vavai.net/2010/01/04/tutorial-samba-pdc-openldap-on-opensuse-11-1-part-1/">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 1, Installing Base System &amp; Configuring Samba</a></li>
<li><a href="http://v2.vavai.net/2010/01/06/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-2/">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 2, Configuring OpenLDAP</a></li>
<li><a href="http://v2.vavai.net/2010/01/07/tutorial-samba-pdc-openldap-on-opensuse-11-1-â€“-part-3/">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 3, Configuring smbldap-tools &amp; LDAP Account Manager</a></li>
<li><a href="http://v2.vavai.net/2010/01/09/tutorial-samba-pdc-openldap-on-opensuse-11-1-%E2%80%93-part-4/">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 4, Configuring Dynamic DHCP &amp; DNS Server</a></li>
</ol>
<p><a href="http://54.254.121.108/wp-content/uploads/2010/01/windows-linux121.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1146" title="windows-linux1" src="http://54.254.121.108/wp-content/uploads/2010/01/windows-linux121.jpg" alt="" width="350" height="204" /></a><br />
<strong>TESTINGÂ  SAMBA CONFIGURATION<br />
</strong></p>
<ol>
<li>Check Samba configuration with the following command:<br />
[code language=&#8217;cpp&#8217;]<br />
testparm<br />
[/code]<br />
It should be display the following response :</p>
<blockquote><p>Load smb config files from /etc/samba/smb.conf<br />
Processing section &#8220;[homes]&#8221;<br />
Processing section &#8220;[printers]&#8221;<br />
Processing section &#8220;[netlogon]&#8221;<br />
Processing section &#8220;[profiles]&#8221;<br />
Processing section &#8220;[share]&#8221;<br />
Loaded services file OK.<br />
Server role: ROLE_DOMAIN_PDC<br />
Press enter to see a dump of your service definitions</p></blockquote>
<p>If you find any error message, try to look at the Samba configuration as we have setup on first tutorial.</li>
<li>Give the proper permission for user profile folder. Adjust the folder to be match with your Samba profiles (see /etc/samba/smb.conf on profiles folder share) :<br />
[code language=&#8217;cpp&#8217;]<br />
chmod 1777 /data/samba/profiles<br />
[/code]</li>
<li>Test whether Samba has been setup successfully or no.<br />
[code language=&#8217;cpp&#8217;]<br />
smbclient -L localhost -N<br />
[/code]<br />
Just pressÂ  ENTER if Samba asking for user name and password. You should have the following response (the result may vary , depends on your Samba and your network configuration) :</p>
<blockquote><p>added interface ip=192.168.1.254 bcast=192.168.1.255 nmask=255.255.255.0<br />
Anonymous login successful<br />
Domain=[VAVAI.NET] OS=[Unix] Server=[Samba 3.0.12-5-SUSE]<br />
Sharename       Type      Comment<br />
&#8212;&#8212;&#8212;       &#8212;-      &#8212;&#8212;-<br />
profiles        Disk      Roaming Profiles<br />
share           Disk      share<br />
IPC$            IPC       IPC Service (Samba 3.0.12-5-SUSE)<br />
ADMIN$          IPC       IPC Service (Samba 3.0.12-5-SUSE)<br />
Anonymous login successful<br />
Domain=[VAVAI.NET] OS=[Unix] Server=[Samba 3.0.12-5-SUSE]<br />
Server               Comment<br />
&#8212;&#8212;&#8212;            &#8212;&#8212;-<br />
SERVER	             Samba 3.0.12-5-SUSE<br />
Workgroup            Master<br />
&#8212;&#8212;&#8212;            &#8212;&#8212;-<br />
VAVAI.NET           SERVER</p></blockquote>
<p>If you find the following error :</p>
<blockquote><p>Error connecting to 127.0.0.1 (Connection refused)<br />
Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)</p></blockquote>
<p>Change the &#8221;/etc/hosts&#8221; as follows:<br />
[code language=&#8217;cpp&#8217;]<br />
# IP-Address  Full-Qualified-Hostname  Short-Hostname<br />
#<br />
127.0.0.1       localhost server.vavai.net<br />
127.0.0.2       server.vavai.net server<br />
192.168.1.254   server.vavai.net server vavai.net<br />
[/code]<br />
Reboot your computer and then tryÂ  &#8220;smbclient -L localhost -N&#8221; again.</li>
</ol>
<p><strong>SETUP OPENLDAP </strong></p>
<ol>
<li>EditÂ  &#8221;/etc/nsswitch.conf&#8221; and change or add the following code :<br />
[code language=&#8217;cpp&#8217;]<br />
passwd: files ldap<br />
group: files ldap<br />
[/code]</li>
<li>Check account and LDAP data. You must see minimum 2 account : Admin and nobody:<br />
[code language=&#8217;cpp&#8217;]<br />
getent passwd<br />
[/code]<br />
Response:<br />
<em>+::0:0:::<br />
Admin:x:998:512:Netbios Domain Administrator:/home/Admin:/bin/false<br />
nobody:x:999:514:nobody:/dev/null:/bin/false<br />
</em></li>
<li>If you find the above respon, continue with setting upÂ  PAM<br />
[code language=&#8217;cpp&#8217;]<br />
pam-config -a &#8211;mkhomedir &#8211;mkhomedir-skel=/etc/skel &#8211;mkhomedir-umask=0022<br />
[/code]</li>
<li>Edit &#8221;/etc/pam.d/common-session&#8221; and change the following line:<br />
[code language=&#8217;cpp&#8217;]<br />
session optional        pam_mkhomedir.so        umask=0022 skel=/etc/skel<br />
[/code]<br />
to:<br />
[code language=&#8217;cpp&#8217;]<br />
session required        pam_mkhomedir.so        umask=0022 skel=/etc/skel<br />
[/code]</li>
<li><strong> </strong>Run all service and configure them to be activated on boot<br />
[code language=&#8217;cpp&#8217;]<br />
service named restart<br />
service dhcpd restart<br />
service ldap restart<br />
service smb restart<br />
service nmb restart<br />
service mysql restart<br />
service apache2 restart<br />
chkconfig named on<br />
chkconfig dhcpd on<br />
chkconfig smb on<br />
chkconfig nmb on<br />
chkconfig ldap on<br />
chkconfig mysql on<br />
chkconfig apache2 on<br />
[/code]</li>
</ol>
<p><strong>CLIENT SETUP<br />
</strong></p>
<li>Add  user &amp; computer account<br />
[code language=&#8217;cpp&#8217;]<br />
smbldap-useradd -a -m username<br />
smbldap-passwd username<br />
[/code]Note: Computer name should be added automatically on join domain but if account have not added automatically, do the following command to add computer account :<br />
[code language=&#8217;cpp&#8217;]<br />
smbldap-useradd -w computername$<br />
[/code]</li>
<li>For openSUSE workstation, use YAST menu to add your client as domain member : YAST | Network Services | Windows Domain Membership</li>
<li>For  Windows XP client, do the folowing configuration before join :
<ul>
<li>Open regedit, START | RUN | REGEDIT</li>
<li>FInd regedit entry HKLM (HKEY_LOCAL MACHINE) &#8211; SYSTEM &#8211; CurrentControlSet &#8211; Service &#8211; Netlogon &#8211; Parameters</li>
<li>Click on right windows and choose New &#8211; DWORD value, with variable name : requiresignorseal, value : 0</li>
<li>If you found an existing entry and it&#8217;s value is 1, change the value withÂ  0</li>
<li>Close regedit</li>
<li>Right click on &#8221;&#8217;My Computer&#8221;&#8217;, choose &#8221;&#8217;Properties&#8221;&#8217;</li>
<li>Choose &#8221;&#8217;Computer Name&#8221;&#8217; tab</li>
<li>Click &#8221;&#8217;Change&#8221;&#8217;</li>
<li>Set  Domain &amp; computer name</li>
<li>Use root with root password if Windows ask for Administrator privilege</li>
</ul>
</li>
<p>Next TutorialÂ  : Tutorial Samba PDC + OpenLDAP on  openSUSE PartÂ  6, Problem Solving</p>
<p>The post <a href="https://www.vavai.net/tutorial-samba-pdc-openldap-on-opensuse-11-1-part-5/">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 â€“ Part 5</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/tutorial-samba-pdc-openldap-on-opensuse-11-1-part-5/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 13/159 objects using Disk
Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: d3b35uem336dgh.cloudfront.net
Lazy Loading (feed)
Minified using Disk
Database Caching 15/56 queries in 0.023 seconds using Disk

Served from: www.vavai.net @ 2026-10-30 11:57:44 by W3 Total Cache
-->