<?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>Spirit of Change &#187; OpenSUSE</title>
	<atom:link href="http://vavai.net/category/linux/opensuse/feed/" rel="self" type="application/rss+xml" />
	<link>http://vavai.net</link>
	<description>Masim "Vavai" Sugianto Personal Blog</description>
	<lastBuildDate>Tue, 13 Apr 2010 02:26:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Improving Indonesian openSUSE Community Website</title>
		<link>http://vavai.net/2010/04/13/improving-indonesian-opensuse-community-website/</link>
		<comments>http://vavai.net/2010/04/13/improving-indonesian-opensuse-community-website/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 02:26:59 +0000</pubDate>
		<dc:creator>Masim "Vavai" Sugianto</dc:creator>
				<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[openSUSE-ID]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://vavai.net/?p=1209</guid>
		<description><![CDATA[Indonesian openSUSE Community website has been activated since July 2007 and provide news update, information, tutorial, tips &#38; trick regarding openSUSE using Bahasa Indonesia as main language. I think it would be better to provide a major changes &#38; improvement for main site, especially for content integration and daily update. I&#8217;m also invited some openSUSE [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://opensuse.or.id">Indonesian openSUSE Community website</a> has been activated since July 2007 and provide news update, information, tutorial, tips &amp; trick regarding openSUSE using Bahasa Indonesia as main language. I think it would be better to provide a major changes &amp; improvement for main site, especially for content integration and daily update.</p>
<p><a class="highslide" onclick="return vz.expand(this)" href="http://vavai.net/wp-content/uploads/2010/04/opensuse-or-id-800x600.jpeg"><img class="alignnone size-full wp-image-1212" title="opensuse-or-id-800x600" src="http://vavai.net/wp-content/uploads/2010/04/opensuse-or-id-800x600.jpeg" alt="" width="480" height="386" /></a></p>
<p>I&#8217;m also invited some openSUSE ambassador and folks on the community to joins the editorial team, so we can increase the tutorial and article and at the end give the best  documentation for openSUSE users.</p>
<h3  class="related_post_title">Random Post</h3><ul class="related_post"><li><a href="http://vavai.net/2007/07/25/wordpress-nice-themes-from-jauhari-for-iins-blog/" title="Wordpress Nice Themes from Jauhari for Iin&#8217;s Blog">Wordpress Nice Themes from Jauhari for Iin&#8217;s Blog</a> (2)</li><li><a href="http://vavai.net/2010/01/12/how-to-add-php-javascript-code-to-smarty-template-serendipity-pligg/" title="How to Add PHP &#038; Javascript Code to Smarty Template (Serendipity, Pligg)">How to Add PHP &#038; Javascript Code to Smarty Template (Serendipity, Pligg)</a> (2)</li><li><a href="http://vavai.net/2009/12/26/installing-bitdefender-anti-virus-malware-scanner-on-opensuse-11-2/" title="Installing BitDefender Anti Virus &#038; Malware Scanner on openSUSE 11.2">Installing BitDefender Anti Virus &#038; Malware Scanner on openSUSE 11.2</a> (3)</li><li><a href="http://vavai.net/2009/02/27/pdftoword-the-most-accurate-pdf-to-word-converter/" title="PDFtoWord : The Most Accurate PDF-to-Word Converter">PDFtoWord : The Most Accurate PDF-to-Word Converter</a> (4)</li><li><a href="http://vavai.net/2007/04/20/adding-adsense-code-to-serendipity-blog/" title="Adding Adsense Code to Serendipity Blog">Adding Adsense Code to Serendipity Blog</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://vavai.net/2010/04/13/improving-indonesian-opensuse-community-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>User Account Integration between Samba PDC &amp; Zimbra Mail Server on openSUSE/SLES Part 2 (Finish)</title>
		<link>http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensusesles-part-2-finish/</link>
		<comments>http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensusesles-part-2-finish/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 10:08:47 +0000</pubDate>
		<dc:creator>Masim "Vavai" Sugianto</dc:creator>
				<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Zimbra]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[PDC]]></category>
		<category><![CDATA[Samba]]></category>

		<guid isPermaLink="false">http://vavai.net/?p=1201</guid>
		<description><![CDATA[This is part 2 of 2 article. Previous article : User Account Integration between Samba PDC &#38; Zimbra Mail Server on openSUSE/SLES Part 1 MANAGING SAMBA DOMAIN WITH ZIMBRA ADMIN Restart samba service with the following command : service smb restart Login to Zimbra Admin and see that these are 2 new entry on left [...]]]></description>
			<content:encoded><![CDATA[<p>This is part 2 of 2 article. Previous article : <a href="http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/">User Account Integration between Samba PDC &amp; Zimbra Mail Server on openSUSE/SLES Part 1</a></p>
<h4><a class="highslide" onclick="return vz.expand(this)" href="http://vavai.net/wp-content/uploads/2010/03/windows-linux1.jpg"><img class="alignnone size-full wp-image-1207" title="windows-linux" src="http://vavai.net/wp-content/uploads/2010/03/windows-linux1.jpg" alt="" width="350" height="204" /></a></h4>
<h4>MANAGING SAMBA DOMAIN WITH ZIMBRA ADMIN</h4>
<ul>
<li> Restart  samba service with the following command :</li>
</ul>
<pre class="brush: cpp">service smb restart
</pre>
<ul>
<li> Login to Zimbra Admin and see that these are 2 new entry on left panel menu : Posix Groups and Samba Domain. If you click on Samba Domain, there should be existing  entry, your Samba domain (in my sample : vavai.co.id). Please restart your computer if you found nothing on the Samba Domain menu.<br />
`<br />
<a class="highslide" onclick="return vz.expand(this)" href="http://vavai.com/wp-content/uploads/2010/03/zimbra-admin.png"><img class="size-full wp-image-1148 alignnone" title="zimbra-admin" src="http://vavai.com/wp-content/uploads/2010/03/zimbra-admin.png" alt="" width="480" height="312" /></a></li>
</ul>
<p><strong>MANAGING LINUX AND SAMBA GROUPS USING ZIMBRA ADMIN<br />
</strong></p>
<ul>
<li> Login to Zimbra Admin</li>
<li> Choose Posix Groups</li>
<li>Click New. Fill in you new group, ie :  Accounting. Move to Samba Group tab and choose your domain from combo box. Fill in 2 (default entry for group) on group type text box.</li>
<li> Click Save</li>
</ul>
<p>Test the configuration whether Samba successfully read new added groups or no by using this command on konsole/terminal :</p>
<pre class="brush: cpp">
su
getent group
</pre>
<p>Samba should be response by display list of groups and your new group should be listed on the list.</p>
<p>Create new user account by using following procedure :</p>
<ul>
<li>Open Zimbra Admin</li>
<li>Click Account</li>
<li> Click New</li>
<li>Fill in account profile and description. Account name, First Name, Last Name and Password are mandatory, mark with *. Scroll down to bottom of account wizard to change password.</li>
<li>Click  Next until finish. These are should be 2 add-on tabs/wizard at the end of Account configuration: Posix Groups and Samba Domain. Add your new account as your new group member and Samba domain member</li>
<li>Click finish</li>
</ul>
<p>Test the configuration whether Samba successfully read new added user account  or no by using following command on konsole/terminal :</p>
<pre class="brush: cpp">su
getent passwd
</pre>
<p>Samba should be response by display list of user account and your new user  should be listed on the user list.</p>
<h4>UPDATE PROFILE FOR EXISTING ACCOUNT</h4>
<p>Run the following command to update profile of existing Zimbra user (user created before Samba-Zimbra joined). Replace Samba SID with your own (Look at  Zimbra Admin | Samba Domain) :</p>
<pre class="brush: cpp">zmprov ma admin@vavai.co.id +objectClass posixAccount uidNumber 10003 gidNumber 10001 homeDirectory /home/admin loginShell /bin/bash
zmprov ma admin@vavai.co.id +objectClass sambaSamAccount sambaDomainName vavai.co.id sambaSID S-1-5-21-3745602466-621825477-2613676135-21006 sambaAcctFlags [UX]
</pre>
<p><strong>MAKING WINDOWS NT DOMAIN GROUP</strong></p>
<p>We will use this group as Administrative user for join client as domain member :</p>
<ul>
<li>Login to Zimbra Admin</li>
<li> Choose Posix Groups, click New</li>
<li>Fill ini group name : Domain Admins. Move to  Samba tab, pick your domain name from combo box and then choose Special Windows group &#8211; Domain Admins</li>
<li> Click Save</li>
<li>Run the following command to give this group domain administrative permission :</li>
</ul>
<pre class="brush: cpp">net rpc rights grant &quot;vavai.co.id\Domain Admins&quot; SeAddUsersPrivilege SeMachineAccountPrivilege SePrintOperatorPrivilege
</pre>
<ul>
<li>Create a new user with Zimbra domain and add it as &#8220;Domain Admins&#8221;  group member</li>
</ul>
<h4>ADDING WINDOWS NT/2000/XP MACHINE TO SAMBA DOMAIN</h4>
<ul>
<li>Login to your Windows workstation with your Administrator user/permission</li>
<li>Right click on My Computer</li>
<li>Choose Properties</li>
<li>Move to Computer Name tab</li>
<li>Click Change</li>
<li> Fill in your computer name</li>
<li>Fill in  vavai.co.id as  member of  domain (not workgroup. Replace vavai.co.id with your domain name)</li>
<li>Click OK</li>
<li>Windows will be asked about Administrator user name and password. Use Zimbra user and password  who is joined as  Domain Admin group member</li>
</ul>
<p>Finish. You should be able to restart your computer and then login with Zimbra user name and password. You may also use LDAP client as user authentication on Linux client. Modify share permission, share folder, profile, etc to fit with your environment setting.</p>
<h3  class="related_post_title">Related Entries</h3><ul class="related_post"><li><a href="http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/" title="User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES">User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES</a> (2)</li><li><a href="http://vavai.net/2010/03/30/how-to-samba-pdcopenldap-on-opensusesles-part-2-finish/" title="How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 2 (Finish)">How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 2 (Finish)</a> (1)</li><li><a href="http://vavai.net/2010/03/30/how-to-samba-pdcopenldap-on-opensusesles-part-1/" title="How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 1">How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 1</a> (3)</li><li><a href="http://vavai.net/2010/01/29/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-6/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 6">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 6</a> (2)</li><li><a href="http://vavai.net/2010/01/28/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-5/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 5">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 5</a> (3)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensusesles-part-2-finish/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>User Account Integration between Samba PDC &amp; Zimbra Mail Server on openSUSE/SLES</title>
		<link>http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/</link>
		<comments>http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 02:33:08 +0000</pubDate>
		<dc:creator>Masim "Vavai" Sugianto</dc:creator>
				<category><![CDATA[Headline]]></category>
		<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Zimbra]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[OpenLDAP]]></category>
		<category><![CDATA[PDC]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[SLES]]></category>

		<guid isPermaLink="false">http://vavai.net/?p=1172</guid>
		<description><![CDATA[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 Access [...]]]></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='http://vavai.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  )</em></p>
<p><a class="highslide" onclick="return vz.expand(this)" href="http://vavai.net/wp-content/uploads/2010/03/zimbra-opensuse.jpeg"><img class="alignnone size-full wp-image-1195" title="zimbra-opensuse" src="http://vavai.net/wp-content/uploads/2010/03/zimbra-opensuse.jpeg" alt="" width="200" height="200" /></a></p>
<p>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.</p>
<p>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://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.</p>
<p>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.</p>
<p>I&#8217;m using Zimbra Mail Server 6.0.5 64 bit with the following configuration :</p>
<p><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://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://vavai.net/2009/12/22/installing-zimbra-6-0-4-on-opensuse-11-1-64-bit-part-1/" rel="nofollow" href="http://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.</p>
<p>To run the automated script, run the following commandon console/terminal :</p>
<pre class="brush: cpp">
su
cd /srv
wget -c http://vavai.com/wp-content/uploads/zcs-samba.tar.gz
tar -zxvf zcs-samba.tar.gz
su - zimbra
cd /srv/zcs-samba
./zcs-samba.sh
</pre>
<p>NOTE : The script will automatically use &#8216;rahasia&#8217; (Indonesian word means &#8216;secret&#8217; <img src='http://vavai.net/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' />  ) 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  :</p>
<pre class="brush: cpp">
# set password for the posix ldap accounts
ZMPOSIX_LDAP_PASSWORD=`/opt/zimbra/openldap/sbin/slappasswd -s rahasia`
ZMPOSIXROOT_LDAP_PASSWORD=`/opt/zimbra/openldap/sbin/slappasswd -s rahasia`
echo &quot;Domain : $DOMAIN&quot;
echo &quot;Hostname : $HOSTNAME&quot;
echo &quot;Zimbra LDAP Password : $ZIMBRA_LDAP_PASSWORD&quot;
echo &quot;LDAP Prefix : $LDAP_PREFIX&quot;
echo &quot;ZMPOSIX_LDAP_PASSWORD : rahasia&quot;
</pre>
<p>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='http://vavai.net/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </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>
<pre class="brush: cpp">
include = /etc/samba/dhcp.conf
</pre>
<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>
<pre class="brush: cpp">
host 192.168.10.1
base dc=vavai,dc=co,dc=id
binddn uid=zmposix,cn=appaccts,cn=zimbra
bindpw rahasia
rootbinddn uid=zmposixroot,cn=appaccts,cn=zimbra
port 389
bind_policy soft
nss_reconnect_tries 2
uri ldap://192.168.10.1/
ssl start_tls
tls_cacertdir /opt/zimbra/conf/ca
tls_checkpeer no
pam_password md5
nss_base_passwd         ou=people,dc=vavai,dc=co,dc=id?one
nss_base_shadow         ou=people,dc=vavai,dc=co,dc=id?one
nss_base_group          ou=groups,dc=vavai,dc=co,dc=id?one
nss_base_hosts          ou=machines,dc=vavai,dc=co,dc=id?one
</pre>
<ul>
<li>Save the configuration</li>
<li>Edit /etc/nsswitch.conf and change the following line :</li>
</ul>
<pre class="brush: cpp">
passwd: compat
group: compat
</pre>
<p>with</p>
<pre class="brush: cpp">passwd: files ldap
group: files ldap
</pre>
<ul>
<li> Edit /etc/pam.d/common-account and change the configuration as below :</li>
</ul>
<pre class="brush: cpp">account sufficient pam_unix.so
account sufficient pam_ldap.so
</pre>
<ul>
<li> Edit /etc/pam.d/common-auth and change the configuration as below :</li>
</ul>
<pre class="brush: cpp">auth sufficient pam_ldap.so
auth sufficient pam_unix.so
</pre>
<ul>
<li> Edit /etc/pam.d/common-password and change the configuration as below :</li>
</ul>
<pre class="brush: cpp">password sufficient pam_unix.so
password sufficient pam_ldap.so
</pre>
<ul>
<li> Edit /etc/pam.d/common-session and change the configuration as below :</li>
</ul>
<pre class="brush: cpp">session sufficient pam_unix.so
session sufficient pam_ldap.so
</pre>
<p>Tutorial will be continue to part 2 of User Account Integration between Samba PDC &amp; Zimbra Mail Server on openSUSE / SLES.</p>
<h3  class="related_post_title">Related Entries</h3><ul class="related_post"><li><a href="http://vavai.net/2010/03/30/how-to-samba-pdcopenldap-on-opensusesles-part-2-finish/" title="How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 2 (Finish)">How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 2 (Finish)</a> (1)</li><li><a href="http://vavai.net/2010/03/30/how-to-samba-pdcopenldap-on-opensusesles-part-1/" title="How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 1">How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 1</a> (3)</li><li><a href="http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensusesles-part-2-finish/" title="User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES Part 2 (Finish)">User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES Part 2 (Finish)</a> (1)</li><li><a href="http://vavai.net/2010/01/29/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-6/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 6">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 6</a> (2)</li><li><a href="http://vavai.net/2010/01/28/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-5/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 5">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 5</a> (3)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 2 (Finish)</title>
		<link>http://vavai.net/2010/03/30/how-to-samba-pdcopenldap-on-opensusesles-part-2-finish/</link>
		<comments>http://vavai.net/2010/03/30/how-to-samba-pdcopenldap-on-opensusesles-part-2-finish/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 08:52:46 +0000</pubDate>
		<dc:creator>Masim "Vavai" Sugianto</dc:creator>
				<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[PDC]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[SLES]]></category>

		<guid isPermaLink="false">http://vavai.net/?p=1186</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>Previous tutorial : <a href="http://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></p>
<p><a class="highslide" onclick="return vz.expand(this)" href="http://vavai.net/wp-content/uploads/2010/03/samba-pdc.jpg"><img class="alignnone size-full wp-image-1189" title="samba-pdc" src="http://vavai.net/wp-content/uploads/2010/03/samba-pdc.jpg" alt="" width="500" height="375" /></a></p>
<p><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 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 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 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 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 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 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 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 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 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>
<h3  class="related_post_title">Related Entries</h3><ul class="related_post"><li><a href="http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/" title="User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES">User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES</a> (2)</li><li><a href="http://vavai.net/2010/03/30/how-to-samba-pdcopenldap-on-opensusesles-part-1/" title="How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 1">How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 1</a> (3)</li><li><a href="http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensusesles-part-2-finish/" title="User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES Part 2 (Finish)">User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES Part 2 (Finish)</a> (1)</li><li><a href="http://vavai.net/2010/01/29/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-6/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 6">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 6</a> (2)</li><li><a href="http://vavai.net/2010/01/28/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-5/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 5">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 5</a> (3)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://vavai.net/2010/03/30/how-to-samba-pdcopenldap-on-opensusesles-part-2-finish/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 1</title>
		<link>http://vavai.net/2010/03/30/how-to-samba-pdcopenldap-on-opensusesles-part-1/</link>
		<comments>http://vavai.net/2010/03/30/how-to-samba-pdcopenldap-on-opensusesles-part-1/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 03:40:49 +0000</pubDate>
		<dc:creator>Masim "Vavai" Sugianto</dc:creator>
				<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[PDC]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[SLES]]></category>

		<guid isPermaLink="false">http://vavai.net/?p=1179</guid>
		<description><![CDATA[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 easy [...]]]></description>
			<content:encoded><![CDATA[<p><a class="highslide" onclick="return vz.expand(this)" href="http://vavai.net/wp-content/uploads/2010/03/windows-linux.jpg"><img class="alignnone size-full wp-image-1184" title="windows-linux" src="http://vavai.net/wp-content/uploads/2010/03/windows-linux.jpg" alt="" width="350" height="204" /></a></p>
<p>I have written <a href="http://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='http://vavai.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  . The tutorial should be easy to understand and and need a few step to make it ready for testing.</p>
<p><strong>INSTALLING OPENSUSE</strong></p>
<p>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='http://vavai.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  . 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.</p>
<p>Lucky for Indonesian <img src='http://vavai.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />  , 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></p>
<p><strong>INSTALLING  LDAP SERVER</strong></p>
<p>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 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 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 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 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 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 :
<pre class="brush: cpp">
Database Type : hdb
Base DN : dc=domainname, dc=tld
Example :
If my  domain = vavai.co.id, configuration will be like this : Base DN = dc=vavai, dc=co, dc=id
If my domain = vavai.com, configuration will be like this : Base DN = dc=vavai, dc=com
Administrator DN : cn= Administrator. Leave  Append Base DN option checked
Don&#039;t forget to fill your  LDAP Password

Also, leave a check mark on  &quot;Use this database as the default for OpenLDAP&quot;
</pre>
<p>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 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 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 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>
<h3  class="related_post_title">Related Entries</h3><ul class="related_post"><li><a href="http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/" title="User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES">User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES</a> (2)</li><li><a href="http://vavai.net/2010/03/30/how-to-samba-pdcopenldap-on-opensusesles-part-2-finish/" title="How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 2 (Finish)">How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 2 (Finish)</a> (1)</li><li><a href="http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensusesles-part-2-finish/" title="User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES Part 2 (Finish)">User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES Part 2 (Finish)</a> (1)</li><li><a href="http://vavai.net/2010/01/29/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-6/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 6">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 6</a> (2)</li><li><a href="http://vavai.net/2010/01/28/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-5/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 5">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 5</a> (3)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://vavai.net/2010/03/30/how-to-samba-pdcopenldap-on-opensusesles-part-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Zimbra Mail Server with External Authentication using Samba PDC+OpenLDAP</title>
		<link>http://vavai.net/2010/03/30/zimbra-mail-server-with-external-authentication-using-samba-pdcopenldap/</link>
		<comments>http://vavai.net/2010/03/30/zimbra-mail-server-with-external-authentication-using-samba-pdcopenldap/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 20:57:09 +0000</pubDate>
		<dc:creator>Masim "Vavai" Sugianto</dc:creator>
				<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Zimbra]]></category>

		<guid isPermaLink="false">http://vavai.net/?p=1174</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://vavai.net/wp-content/uploads/2010/03/zimbra-opensuse1.jpg"><img class="alignnone size-full wp-image-1175" title="zimbra-opensuse1" src="http://vavai.net/wp-content/uploads/2010/03/zimbra-opensuse1.jpg" alt="" width="125" height="125" /></a></p>
<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.</p>
<p><strong>SAMBA PDC CONFIGURATION</strong></p>
<p>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.</p>
<p><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://vavai.com/wp-content/uploads/2010/03/ldap-external.png"><img class="alignnone size-full wp-image-1025" title="ldap-external" src="http://vavai.com/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 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.</p>
<p>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>
<h3  class="related_post_title">Related Entries</h3><ul class="related_post"><li><a href="http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/" title="User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES">User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES</a> (2)</li><li><a href="http://vavai.net/2010/02/10/installing-zimbra-6-0-5-64-bit-on-sles-11-64-bit/" title="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> (15)</li><li><a href="http://vavai.net/2010/01/15/need-a-feedback-zimbra-appliance-on-opensuse/" title="Need a Feedback : Zimbra Appliance on openSUSE">Need a Feedback : Zimbra Appliance on openSUSE</a> (7)</li><li><a href="http://vavai.net/2010/01/15/vmware-acquired-zimbra/" title="VMWare Acquired Zimbra">VMWare Acquired Zimbra</a> (0)</li><li><a href="http://vavai.net/2010/01/06/solution-for-zimbra-6-0-4-logger-problem/" title="Solution for Zimbra 6.0.4 Logger Problem">Solution for Zimbra 6.0.4 Logger Problem</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://vavai.net/2010/03/30/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>http://vavai.net/2010/02/10/installing-zimbra-6-0-5-64-bit-on-sles-11-64-bit/</link>
		<comments>http://vavai.net/2010/02/10/installing-zimbra-6-0-5-64-bit-on-sles-11-64-bit/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 08:34:06 +0000</pubDate>
		<dc:creator>Masim "Vavai" Sugianto</dc:creator>
				<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Zimbra]]></category>

		<guid isPermaLink="false">http://vavai.net/?p=1161</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://vavai.net/wp-content/uploads/2010/02/zimbra-logo3.jpg"><img style=' float: left; padding: 4px; margin: 0 7px 2px 0;'  class="alignleft size-full wp-image-1163" title="zimbra-logo3" src="http://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://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.</p>
<p>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) :
<pre class="brush: cpp">
127.0.0.1       localhost
192.168.0.31 hostname.domain.tld hostname
</pre>
</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.
<pre class="brush: cpp">
zypper in sysstat
</pre>
</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://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  :
<pre class="brush: cpp">
service postfix stop
chkconfig postfix off
</pre>
</li>
<li>Download Zimbra binary installer
<pre class="brush: cpp">
cd /opt
wget -c http://h.yimg.com/lo/downloads/6.0.5_GA/zcs-6.0.5_GA_2213.SLES11_64.20100202233758.tgz
</pre>
</li>
<li>decompress, run the installation script and then follow the wizard
<pre class="brush: cpp">
tar -zxvf zcs-6.0.5_GA_2213.SLES11_64.20100202233758.tgz
cd zcs-6.0.5_GA_2213.SLES11_64.20100202233758
sh install.sh
</pre>
</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://vavai.net/wp-content/uploads/2010/02/zimbra605-sles64.jpeg"><img class="alignnone size-full wp-image-1164" title="zimbra605-sles64" src="http://vavai.net/wp-content/uploads/2010/02/zimbra605-sles64.jpeg" alt="" width="469" height="455" /></a></a></p>
<p><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://vavai.net/wp-content/uploads/2010/02/zimbra605-status.jpeg"><img class="alignnone size-full wp-image-1165" title="zimbra605-status" src="http://vavai.net/wp-content/uploads/2010/02/zimbra605-status.jpeg" alt="" width="338" height="245" /></a></a></p>
<h3  class="related_post_title">Related Entries</h3><ul class="related_post"><li><a href="http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/" title="User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES">User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES</a> (2)</li><li><a href="http://vavai.net/2010/03/30/zimbra-mail-server-with-external-authentication-using-samba-pdcopenldap/" title="Zimbra Mail Server with External Authentication using Samba PDC+OpenLDAP">Zimbra Mail Server with External Authentication using Samba PDC+OpenLDAP</a> (2)</li><li><a href="http://vavai.net/2010/01/15/need-a-feedback-zimbra-appliance-on-opensuse/" title="Need a Feedback : Zimbra Appliance on openSUSE">Need a Feedback : Zimbra Appliance on openSUSE</a> (7)</li><li><a href="http://vavai.net/2010/01/15/vmware-acquired-zimbra/" title="VMWare Acquired Zimbra">VMWare Acquired Zimbra</a> (0)</li><li><a href="http://vavai.net/2010/01/06/solution-for-zimbra-6-0-4-logger-problem/" title="Solution for Zimbra 6.0.4 Logger Problem">Solution for Zimbra 6.0.4 Logger Problem</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://vavai.net/2010/02/10/installing-zimbra-6-0-5-64-bit-on-sles-11-64-bit/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 6</title>
		<link>http://vavai.net/2010/01/29/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-6/</link>
		<comments>http://vavai.net/2010/01/29/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-6/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 04:44:08 +0000</pubDate>
		<dc:creator>Masim "Vavai" Sugianto</dc:creator>
				<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[OpenLDAP]]></category>
		<category><![CDATA[PDC]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://vavai.net/?p=1150</guid>
		<description><![CDATA[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 : [...]]]></description>
			<content:encoded><![CDATA[<p>Previous Tutorial :</p>
<ol>
<li><a href="http://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://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://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://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://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://vavai.net/wp-content/uploads/2010/01/windows-linux13.jpg"><img class="alignnone size-full wp-image-1153" title="windows-linux1" src="http://vavai.net/wp-content/uploads/2010/01/windows-linux13.jpg" alt="" width="350" height="204" /></a></p>
<p><strong>ERROR MESSAGE AND HOW TO SOLVE THE PROBLEM<br />
</strong></p>
<p>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.</p>
<p>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
<pre class="brush: cpp">
smbldap-useradd -m -a root
</pre>
<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>
<pre class="brush: cpp">
smbpasswd -a
</pre>
<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
<pre class="brush: cpp">
smbclient -L localhost -N
</pre>
<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
<pre class="brush: cpp">
smbldap-useradd -m -a root
</pre>
<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 :</p>
<pre class="brush: cpp">
sambaUnixIdPooldn=&quot;sambaDomainName=VAVAI.NET,ou=Domains,${suffix}&quot;
</pre>
</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.</p>
<p>Note : Forgive me for any misspelling and/or grammar.</p>
<h3  class="related_post_title">Related Entries</h3><ul class="related_post"><li><a href="http://vavai.net/2010/01/28/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-5/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 5">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 5</a> (3)</li><li><a href="http://vavai.net/2010/01/07/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-3/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 3">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 3</a> (5)</li><li><a href="http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/" title="User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES">User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES</a> (2)</li><li><a href="http://vavai.net/2010/01/09/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-4/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 4">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 4</a> (10)</li><li><a href="http://vavai.net/2010/01/06/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-2/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 2">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 2</a> (4)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://vavai.net/2010/01/29/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-6/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 5</title>
		<link>http://vavai.net/2010/01/28/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-5/</link>
		<comments>http://vavai.net/2010/01/28/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-5/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 09:46:07 +0000</pubDate>
		<dc:creator>Masim "Vavai" Sugianto</dc:creator>
				<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[OpenLDAP]]></category>
		<category><![CDATA[PDC]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://vavai.net/?p=1143</guid>
		<description><![CDATA[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 : [...]]]></description>
			<content:encoded><![CDATA[<p>Previous Tutorial :</p>
<ol>
<li><a href="http://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://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://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://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://vavai.net/wp-content/uploads/2010/01/windows-linux12.jpg"><img class="alignnone size-full wp-image-1146" title="windows-linux1" src="http://vavai.net/wp-content/uploads/2010/01/windows-linux12.jpg" alt="" width="350" height="204" /></a></p>
<p><strong>TESTING  SAMBA CONFIGURATION<br />
</strong></p>
<ol>
<li>Check Samba configuration with the following command:
<pre class="brush: cpp">
testparm
</pre>
<p>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) :
<pre class="brush: cpp">
chmod 1777 /data/samba/profiles
</pre>
</li>
<li>Test whether Samba has been setup successfully or no.
<pre class="brush: cpp">
smbclient -L localhost -N
</pre>
<p>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]</p>
<p>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]</p>
<p>Server               Comment<br />
&#8212;&#8212;&#8212;            &#8212;&#8212;-<br />
SERVER	             Samba 3.0.12-5-SUSE</p>
<p>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:</p>
<pre class="brush: cpp">
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#
127.0.0.1       localhost server.vavai.net
127.0.0.2       server.vavai.net server
192.168.1.254   server.vavai.net server vavai.net
</pre>
<p>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 :
<pre class="brush: cpp">
passwd: files ldap
group: files ldap
</pre>
</li>
<li>Check account and LDAP data. You must see minimum 2 account : Admin and nobody:
<pre class="brush: cpp">
getent passwd
</pre>
<p>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
<pre class="brush: cpp">
pam-config -a --mkhomedir --mkhomedir-skel=/etc/skel --mkhomedir-umask=0022
</pre>
</li>
<li>Edit &#8221;/etc/pam.d/common-session&#8221; and change the following line:
<pre class="brush: cpp">
session optional        pam_mkhomedir.so        umask=0022 skel=/etc/skel
</pre>
<p>to:</p>
<pre class="brush: cpp">
session required        pam_mkhomedir.so        umask=0022 skel=/etc/skel
</pre>
</li>
<li><strong> </strong>Run all service and configure them to be activated on boot
<pre class="brush: cpp">
service named restart
service dhcpd restart
service ldap restart
service smb restart
service nmb restart
service mysql restart
service apache2 restart
chkconfig named on
chkconfig dhcpd on
chkconfig smb on
chkconfig nmb on
chkconfig ldap on
chkconfig mysql on
chkconfig apache2 on
</pre>
</li>
</ol>
<p><strong>CLIENT SETUP<br />
</strong></p>
<li>Add  user &amp; computer account
<pre class="brush: cpp">
smbldap-useradd -a -m username
smbldap-passwd username
</pre>
<p>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 :</p>
<pre class="brush: cpp">
smbldap-useradd -w computername$
</pre>
</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>
<h3  class="related_post_title">Related Entries</h3><ul class="related_post"><li><a href="http://vavai.net/2010/01/29/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-6/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 6">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 6</a> (2)</li><li><a href="http://vavai.net/2010/01/07/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-3/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 3">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 3</a> (5)</li><li><a href="http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/" title="User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES">User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES</a> (2)</li><li><a href="http://vavai.net/2010/01/09/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-4/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 4">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 4</a> (10)</li><li><a href="http://vavai.net/2010/01/06/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-2/" title="Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 2">Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 2</a> (4)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://vavai.net/2010/01/28/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-5/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Openshot Video Editor on openSUSE</title>
		<link>http://vavai.net/2010/01/26/openshot-video-editor-on-opensuse/</link>
		<comments>http://vavai.net/2010/01/26/openshot-video-editor-on-opensuse/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 04:03:25 +0000</pubDate>
		<dc:creator>Masim "Vavai" Sugianto</dc:creator>
				<category><![CDATA[Application]]></category>
		<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Video Editor]]></category>

		<guid isPermaLink="false">http://vavai.net/?p=1137</guid>
		<description><![CDATA[OpenShot Video Editor is an open-source, non-linear video editor for Linux, built with Python, GTK, and the MLT Framework. The project was started in August 2008 by Jonathan Thomas, with the objective to provide a stable, free, and friendly to use video editor.The function much similar with Kdenlive and Kino, both are a video editor [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1140" class="wp-caption alignnone" style="width: 446px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center;"><a href="http://vavai.net/wp-content/uploads/2010/01/openshot1.jpeg"><img class="size-full wp-image-1140" title="openshot1" src="http://vavai.net/wp-content/uploads/2010/01/openshot1.jpeg" alt="Openshot screenshot" width="436" height="356" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Figure 1 : Openshot Application on openSUSE 11.2. Click for higher resolution</p></div>
<p>OpenShot Video Editor is an open-source, non-linear video editor for Linux, built with Python, GTK, and the MLT Framework. The project was started in August 2008 by Jonathan Thomas, with the objective to provide a stable, free, and friendly to use video editor.The function much similar with Kdenlive and Kino, both are a video editor for Linux.</p>
<p>Features :</p>
<p>* Support for many video, audio, and image formats (based on FFmpeg)<br />
* Gnome integration (drag and drop support)<br />
* Multiple tracks<br />
* Clip resizing, trimming, snapping, and cutting<br />
* Video transitions with real-time previews<br />
* Compositing, image overlays, watermarks<br />
* Title templates, title creation<br />
* SVG friendly, to create and include titles and credits<br />
* Scrolling motion picture credits<br />
* Solid color clips (including alpha compositing)<br />
* Support for Rotoscoping / Image sequences<br />
* Drag and drop timeline<br />
* Frame stepping, key-mappings: J,K, and L keys<br />
* Video encoding (based on FFmpeg)<br />
* Key Frame animation<br />
* Digital zooming of video clips<br />
* Speed changes on clips (slow motion etc)<br />
* Custom transition lumas and masks<br />
* Re-sizing of clips (frame size)<br />
* Audio mixing and editing<br />
* Presets for key frame animations and layout<br />
* Ken Burns effect (making video by panning over an image)<br />
* Digital video effects, including brightness, gamma, hue, greyscale, chroma key (bluescreen / greenscreen), and over 20 other video effects</p>
<p><a href="http://www.openshotvideo.com/">OpenShot</a> Video Editor originally written for Ubuntu. Official website provided the deb installer for Ubuntu and RPM for Fedora. openSUSE rpm currently not available on OpenShot website but openSUSE user may install it with package from <a href="http://packman.links2linux.org/package/openshot">Packman repositories</a>.</p>
<p><a href="http://packman.links2linux.org/install/openshot"><img class="alignnone size-full wp-image-1139" title="ympbutton" src="http://vavai.net/wp-content/uploads/2010/01/ympbutton.png" alt="Install Openshot" width="135" height="36" /></a></p>
<p>Install with zypper on openSUSE 11.2 :</p>
<pre class="brush: cpp">
zypper ar http://packman.iu-bremen.de/suse/11.2 packman-bremen
zypper ar http://download.opensuse.org/distribution/11.2/repo/oss/ oss
zypper ref &amp;&amp; zypper in openshot
</pre>
<p>Note that you should have the oss repos available because openshot has dependency library available on oss repo.</p>
<p><strong>Note for Indonesian openSUSE user:</strong><br />
Please use local repo for better speed on refreshing and installing the package</p>
<pre class="brush: cpp">
zypper mr -da
zypper ar http://kambing.ui.ac.id/opensuse/distribution/11.2/repo/oss/ oss-kambing
zypper ar http://kambing.ui.ac.id/opensuse/distribution/11.2/repo/non-oss/ non-oss-kambing
zypper ar http://kambing.ui.ac.id/opensuse-packman/suse/11.2/ packman-kambing
zypper ref &amp;&amp; zypper in openshot
</pre>
<h3  class="related_post_title">Related Entries</h3><ul class="related_post"><li><a href="http://vavai.net/2010/03/31/user-account-integration-between-samba-pdc-zimbra-mail-server-on-opensuse-sles/" title="User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES">User Account Integration between Samba PDC &#038; Zimbra Mail Server on openSUSE/SLES</a> (2)</li><li><a href="http://vavai.net/2010/03/30/how-to-samba-pdcopenldap-on-opensusesles-part-2-finish/" title="How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 2 (Finish)">How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 2 (Finish)</a> (1)</li><li><a href="http://vavai.net/2010/03/30/how-to-samba-pdcopenldap-on-opensusesles-part-1/" title="How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 1">How To : Samba PDC+OpenLDAP on openSUSE/SLES Part 1</a> (3)</li><li><a href="http://vavai.net/2010/03/30/zimbra-mail-server-with-external-authentication-using-samba-pdcopenldap/" title="Zimbra Mail Server with External Authentication using Samba PDC+OpenLDAP">Zimbra Mail Server with External Authentication using Samba PDC+OpenLDAP</a> (2)</li><li><a href="http://vavai.net/2010/02/10/installing-zimbra-6-0-5-64-bit-on-sles-11-64-bit/" title="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> (15)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://vavai.net/2010/01/26/openshot-video-editor-on-opensuse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->