<?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; Server</title>
	<atom:link href="http://vavai.net/category/server/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>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>Need a Feedback : Zimbra Appliance on openSUSE</title>
		<link>http://vavai.net/2010/01/15/need-a-feedback-zimbra-appliance-on-opensuse/</link>
		<comments>http://vavai.net/2010/01/15/need-a-feedback-zimbra-appliance-on-opensuse/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 09:28:53 +0000</pubDate>
		<dc:creator>Masim "Vavai" Sugianto</dc:creator>
				<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Appliance]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[Zimbra]]></category>

		<guid isPermaLink="false">http://vavai.net/?p=1057</guid>
		<description><![CDATA[I&#8217;m thinking about a project for a week end. Updating Zimbra Appliance to the latest version seems to be nice but I need a few feedback about the specification of appliance. On previous version, I&#8217;m using Zimbra 5.0.18 on openSUSE 11.1 JeOS. It has minimum specification but it works pretty well (please let me know [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://vavai.net/2009/08/31/zimbra-appliance-with-opensuse-11-1-vmwarevirtualbox-image/"><img class="alignnone size-full wp-image-1058" title="opensuse-zimbra" src="http://vavai.net/wp-content/uploads/2010/01/opensuse-zimbra1.jpg" alt="Zimbra Appliance on openSUSE" width="150" height="150" /></a></p>
<p>I&#8217;m thinking about a project for a week end. Updating <a href="http://vavai.net/2009/08/31/zimbra-appliance-with-opensuse-11-1-vmwarevirtualbox-image/">Zimbra Appliance</a> to the latest version seems to be nice but I need a few feedback about the specification of appliance.</p>
<p>On previous version, I&#8217;m using Zimbra 5.0.18 on openSUSE 11.1 JeOS. It has minimum specification but it works pretty well (please let me know if you&#8217;ve failed on installing the Appliance). My colleagues in Indonesia sent me some feedback whether it&#8217;s possible or no to add the minimal GUI environment to manage the administration and give some testing.</p>
<p>Below are my plans for next appliance :</p>
<ol>
<li>Build on openSUSE 11.1 32 bit with KDE3 basis with text editor and browser (FF or Chrome) installed by default. The previous version has no GUI installed and build on JeOS (Just Enough Operating System) basis.</li>
<li>Zimbra has installed by default with predefined domain, IP and DNS records but also give you a chance to change domain, IP and DNS. The previous version build with predefined install script to install Zimbra</li>
<li>Bundle with predefine setting on <a href="http://vavai.net/2009/12/22/improving-zimbra-anti-spam-on-opensuse/">Zimbra anti spam improvement</a>. The previous version didn&#8217;t have any anti spam improvement and built with standard setup</li>
<li>Use Zimbra version 5.0.21. The previous version using version 5.0.18. 5.0.21 is a stable and currently latest version. In other project, I&#8217;m also thinking about building Zimbra 6.0.4 64 bit on openSUSE 11.1.</li>
</ol>
<p>So, which one you agree,</p>
<ul>
<li>Minimal JeOS or minimal GUI</li>
<li>32 bit or 64 bit</li>
<li>Pre-installed Zimbra or an install script only</li>
<li>Predefined anti spam or leave it as is</li>
<li>Zimbra 5.0.21 or Zimbra 6.0.4</li>
<li>VMWare VMX format or VirtualBox VDI format (or maybe an ovf format)</li>
</ul>
<p>Please give the feedback on my comment form. I&#8217;ll be starting to update the Zimbra appliance tomorrow and upload the appliance into my host server as soon as possible.</p>
<h3  class="related_post_title">Related Entries</h3><ul class="related_post"><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/04/moving-physical-linux-server-into-virtual-image/" title="Moving Physical Linux Server into Virtual Image">Moving Physical Linux Server into Virtual Image</a> (0)</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/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/15/need-a-feedback-zimbra-appliance-on-opensuse/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>VMWare Acquired Zimbra</title>
		<link>http://vavai.net/2010/01/15/vmware-acquired-zimbra/</link>
		<comments>http://vavai.net/2010/01/15/vmware-acquired-zimbra/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 02:14:06 +0000</pubDate>
		<dc:creator>Masim "Vavai" Sugianto</dc:creator>
				<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Zimbra]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://vavai.net/?p=1042</guid>
		<description><![CDATA[Rumors that Yahoo will selling Zimbra has been discussed on mail server world for a month or two. The rumors caused some controversy regarding the issue that Yahoo will released Zimbra to Microsoft. The rumors has finally ended : Yahoo selling Zimbra but not for Microsoft, Yahoo sell it to VMWare instead. As announced by  [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://vavai.net/wp-content/uploads/2010/01/zimbra-vmware.png"><img style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  class="alignright size-full wp-image-1043" title="zimbra-vmware" src="http://vavai.net/wp-content/uploads/2010/01/zimbra-vmware.png" alt="" width="280" height="200" /></a>Rumors that Yahoo will selling Zimbra has been discussed on mail server world for a month or two. The rumors caused some controversy regarding the issue that Yahoo will released Zimbra to Microsoft. The rumors has finally ended : Yahoo selling Zimbra but not for Microsoft, Yahoo sell it to VMWare instead.</p>
<p>As announced by  <a href="http://www.vmware.com/company/news/releases/zimbra.html">VMWare</a> and <a href="http://www.zimbrablog.com/blog/archives/2010/01/zimbra-to-join-vmware.html">Zimbra</a>, the acquisition will further VMware’s mission of taking complexity out of the datacenter, desktop, application development and core IT services, and delivering a fundamentally more efficient and new  approach to IT. Steve Herrord has published <a href="http://blogs.vmware.com/console/2010/01/vmware-to-acquire-zimbra.html">his blog post</a> regarding the reason why Zimbra decided to acquire Zimbra.</p>
<p>I&#8217;ve read a positive response to the acquisition. It may (and should be) better than lets Zimbra acquired by Microsoft. Microsoft has their own product : Microsoft Exchange Server. One of the stronger competitors for their product are Zimbra. The Dual License providing by Zimbra (Network Edition and Open Source Edition) mat not be really appropriate for Microsoft business model.</p>
<p>Beside the positive response, we must wait an update for VMWare strategy to expanding Zimbra popularity and market share. Hope VMWare has better attention for Zimbra than what Yahoo shows off for 2 years.</p>
<h3  class="related_post_title">Related Entries</h3><ul class="related_post"><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/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/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/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/01/15/vmware-acquired-zimbra/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 4</title>
		<link>http://vavai.net/2010/01/09/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-4/</link>
		<comments>http://vavai.net/2010/01/09/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-4/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 16:50:46 +0000</pubDate>
		<dc:creator>Masim "Vavai" Sugianto</dc:creator>
				<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[OpenLDAP]]></category>
		<category><![CDATA[PDC]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://vavai.net/?p=1006</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 Setting Dynamic [...]]]></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>
</ol>
<p><a href="http://vavai.net/wp-content/uploads/2010/01/samba-pdc.jpg"><img class="alignnone size-full wp-image-1007" title="samba-pdc" src="http://vavai.net/wp-content/uploads/2010/01/samba-pdc.jpg" alt="" width="500" height="375" /></a></p>
<p><strong>Setting Dynamic DHCP &amp; DNS Server</strong><br />
Dynamic DHCP &amp; DNS Server will be working together to register the client hostname and ip address, so every client could be interchange data using their netbios name. DNS setting will also passing the client-server authorization a lot easier because client identity has been registered on server.</p>
<p>Beware, I&#8217;ll be use manual setting on dynamic DHCP &amp; DNS server in this tutorial. Do not mixed the process with automatic setting with YAST | Network Services | DNS Server. Combine both setting my broken your dynamic DHCP &amp; DNS configuration.</p>
<p><strong>Preparation</strong></p>
<ol>
<li>You should have DHCP &amp; DNS pattern installed. Please refer to previous tutorial to check which package &amp; pattern should be install</li>
<li>Dynamic DNS Server need a key. Use the following command to generate dynamic key :</li>
</ol>
<pre class="brush: cpp">
cd /etc
genDDNSkey
</pre>
<p>Default result is /etc/named.key. Place it on etc folder. If you are using chroot jail mode, you should copy/move the file into appropriate folder, ie &#8220;/var/lib/named/etc&#8221; and &#8220;/var/lib/dhcp/etc&#8221;</p>
<p><strong>Configuring Dynamic DHCP Server</strong></p>
<ol>
<li>Edit &#8221;/etc/sysconfig/dhcpd&#8221; and change the following line DHCPD_INTERFACE=&#8221;" to looks like :
<pre class="brush: cpp">
DHCPD_INTERFACE=&quot;eth0&quot;
</pre>
<p>Note : Replace &#8221;&#8217;eth0&#8221;&#8217; with your running network card id.</li>
<li>Edit&#8217;/etc/dhcpd.conf&#8221; and change the content with the following configuration. Don&#8217;t forget to adjust your IP address and subnet
<pre class="brush: cpp">
# File with key we shall use to securely update zone files
###########################################################
include &quot;/etc/named.keys&quot;;

# Our server is authority
#########################################################
server-identifier server.vavai.net;
authoritative;

# Zone specification
###########################################
zone vavai.forward {
primary 192.168.1.254;
key DHCP_UPDATER;
}
zone vavai.reverse {
primary 192.168.1.254;
key DHCP_UPDATER;
}

# Various options
########################################
default-lease-time 86400;
max-lease-time 172800;

option domain-name &quot;vavai.net&quot;;
option domain-name-servers 192.168.1.254;
option netbios-name-servers 192.168.1.254;

ignore client-updates;
ddns-domainname &quot;vavai.net&quot;;
ddns-updates on;
ddns-update-style interim;

# Declaration of network properties ( range ... )
#################################################
subnet 192.168.1.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.1.10 192.168.1.254;
zone vavai.net { primary 127.0.0.1; key DHCP_UPDATER; }
zone 1.168.192.in-addr.arpa. { primary 127.0.0.1; key DHCP_UPDATER; }
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
one-lease-per-client on;
}
</pre>
</li>
</ol>
<p><strong>Confguring Dynamic DNS Server</strong></p>
<ol>
<li>Edit &#8220;/etc/named.conf&#8221; and change the content with following configuration. Don&#8217;t forget to replace appropriate part/setting with yours :
<pre class="brush: cpp">
# Include file with key
#################################################
include &quot;/etc/named.keys&quot;;

# Access Control Lists
#################################################
acl mynet {
192.168.1.0/24;
127.0.0.1;
};

# Various Options
#################################################
options {
directory &quot;/var/lib/named&quot;;
allow-query { mynet; };
forwarders { 192.168.1.1; };
};

# Misc zone declarations
#################################################
zone &quot;localhost&quot; in {
type master;
file &quot;localhost.zone&quot;;
};

zone &quot;0.0.127.in-addr.arpa&quot; in {
type master;
file &quot;127.0.0.zone&quot;;
};

zone &quot;.&quot; in {
type hint;
file &quot;root.hint&quot;;
};

# Forward vavai.net zone declaration
#################################################
zone &quot;vavai.net&quot; {
type master;
file &quot;dyn/vavai.forward&quot;;
allow-update { key DHCP_UPDATER; };
allow-transfer { mynet; };
check-names ignore;
};

# Active Directory Declarations
#############################################
zone &quot;_tcp.vavai.net&quot; IN {
type master;
file &quot;master/_tcp.vavai.net.db&quot;;
allow-update { mynet; };
check-names ignore;
};

zone &quot;_msdcs.vavai.net&quot; IN {
type master;
file &quot;master/_msdcs.vavai.net.db&quot;;
allow-update { mynet; };
check-names ignore;
};

zone &quot;_sites.vavai.net&quot; IN {
type master;
file &quot;master/_sites.vavai.net.db&quot;;
check-names ignore;
allow-update { mynet; };
};

zone &quot;_udp.vavai.net&quot; IN {
type master;
file &quot;master/_udp.vavai.net.db&quot;;
check-names ignore;
allow-update { mynet; };
};

# Reverse vavai.net zone declaration
#################################################
zone &quot;1.168.192.in-addr.arpa&quot; {
type master;
file &quot;dyn/vavai.reverse&quot;;
allow-update { key DHCP_UPDATER; };
allow-transfer { mynet; };
};
</pre>
</li>
<li>Create a new folder &#8221;/var/lib/named/dyn&#8221;. Folder will be used for zone location</li>
<li>Create a new file &#8221;/var/lib/named/dyn/vavai.forward&#8221; (change vavai with your domain) with the following content :
<pre class="brush: cpp">
$ORIGIN .
$TTL 5D
vavai.net               IN SOA  server.vavai.net. root.vavai.net. (
200524085  ; serial
3H         ; refresh
1H         ; retry
1W         ; expire
5D )       ; minimum

NS      server.vavai.net.
A       192.168.1.104

$ORIGIN vavai.net.
$TTL 5D
server                      A      192.168.1.104
</pre>
</li>
<li>Create a new file &#8221;/var/lib/named/dyn/vavai.reverse&#8221;  with the following content :
<pre class="brush: cpp">
$TTL 5D
@                      IN SOA  server.vavai.net. root.vavai.net. (
200524086  ; serial
3H         ; refresh
1H         ; retry
1W         ; expire
5H )       ; minimum

@                        NS      server.vavai.net.

104                     PTR     server.vavai.net.
</pre>
</li>
<li>Create a new file &#8221;/var/lib/named/dyn/_tcp.vavai.net.db&#8221;  (this file will be use for active directory) with the following content :
<pre class="brush: cpp">
$ORIGIN .
$TTL 432000     ; 5 days
_tcp.vavai.net               IN SOA  server.vavai.net. root.vavai.net. (
200524091  ; serial
10800      ; refresh (3 hours)
3600       ; retry (1 hour)
604800     ; expire (1 week)
432000     ; minimum (5 days)
)
IN      NS      server.vavai.net.
$ORIGIN _tcp.vavai.net.
$TTL 600        ; 10 mins
_ldap._tcp.vavai.net.        SRV     0 0 389 server.vavai.net.
_kerberos._tcp.vavai.net.    SRV     0 0 88 server.vavai.net.
</pre>
</li>
<li>Create a new file &#8221;/var/lib/named/dyn/_udp.vavai.net.db&#8221;  (this file will also be used for active directory) with the following content :
<pre class="brush: cpp">
$ORIGIN .
$TTL 432000     ; 5 days
_udp.vavai.net               IN SOA  server.vavai.net. root.vavai.net. (
200524090  ; serial
10800      ; refresh (3 hours)
3600       ; retry (1 hour)
604800     ; expire (1 week)
432000     ; minimum (5 days)
)
IN      NS      server.vavai.net.
$ORIGIN _udp.vavai.net.
$TTL 600        ; 10 mins
</pre>
</li>
<li>Create a new file &#8221;/var/lib/named/dyn/_sites.vavai.net.db&#8221; (this file will also be used for active directory) with the following content :
<pre class="brush: cpp">
$ORIGIN .
$TTL 432000     ; 5 days
_sites.vavai.net               IN SOA  server.vavai.net. root.vavai.net. (
200524090  ; serial
10800      ; refresh (3 hours)
3600       ; retry (1 hour)
604800     ; expire (1 week)
432000     ; minimum (5 days)
)
IN      NS      server.vavai.net.
$ORIGIN _sites.vavai.net.
$TTL 600        ; 10 mins
</pre>
</li>
<li>Create a new file &#8221;/var/lib/named/dyn/_msdcs.vavai.net.db&#8221; (this file will also be used for active directory) with the following content :
<pre class="brush: cpp">
$ORIGIN .
$TTL 432000     ; 5 days
_msdcs.vavai.net             IN SOA  server.vavai.net. root.vavai.net. (
200524091  ; serial
10800      ; refresh (3 hours)
3600       ; retry (1 hour)
604800     ; expire (1 week)
432000     ; minimum (5 days)
)
IN      NS      server.vavai.net.
$ORIGIN _msdcs.vavai.net.
$TTL 600        ; 10 mins
_ldap._tcp.dc._msdcs.vavai.net.      SRV 0 0 389 server.vavai.net.
_kerberos._tcp.dc._msdcs.vavai.net.  SRV 0 0 88 server.vavai.net.
</pre>
</li>
</ol>
<p>We will reach to the final setting on next 2 tutorial. I&#8217;ll be continue with next tutorial : <strong>Samba PDC + OpenLDAP on openSUSE 11.1 – Part 5, TESTING SAMBA, SERVICE LDAP &amp; CONFIGURING CLIENT<br />
</strong></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/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/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/09/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-4/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Tutorial : Samba PDC + OpenLDAP on openSUSE 11.1 – Part 3</title>
		<link>http://vavai.net/2010/01/07/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-3/</link>
		<comments>http://vavai.net/2010/01/07/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-3/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 08:51:34 +0000</pubDate>
		<dc:creator>Masim "Vavai" Sugianto</dc:creator>
				<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[OpenLDAP]]></category>
		<category><![CDATA[PDC]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://vavai.net/?p=973</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 CONFIGURING SMBLDAP-TOOLS Smbldap-tools are a CLI (Command Line Interface) and used as a command tools for insert, update or delete [...]]]></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>
</ol>
<p><a href="http://vavai.net/wp-content/uploads/2010/01/windows-linux11.jpg"><img class="alignnone size-full wp-image-987" title="windows-linux1" src="http://vavai.net/wp-content/uploads/2010/01/windows-linux11.jpg" alt="" width="350" height="204" /></a><br />
<strong>CONFIGURING SMBLDAP-TOOLS<br />
</strong></p>
<p>Smbldap-tools are a CLI (Command Line Interface) and used as a command tools for insert, update or delete a data on Samba and LDAP. Installing smbldap-tools on openSUSE only need a few step because the package already available on openSUSE Build Service. Let&#8217;s do it.</p>
<ol>
<li>Goto <a href="http://software.opensuse.org/search?baseproject=openSUSE%3A11.1&amp;p=1&amp;q=smbldap">openSUSE Build Service Package Search</a>.</li>
<li>Install the updated smbldap-tools version with one-click-install</li>
<li>Edit <strong>/etc/smbldap-tools/smbldap.conf</strong> with the following content (don&#8217;t forget to replace the Samba SID and domain name, see previous tutorial):
<pre class="brush: cpp">
SID=&quot;S-1-2-33-4444444444-555555555-6666666666&quot;
sambaDomain=&quot;VAVAI.NET&quot;
slaveLDAP=127.0.0.1
slavePort=&quot;389&quot;
masterLDAP=&quot;127.0.0.1&quot;
masterPort=&quot;389&quot;
ldapTLS=&quot;0&quot;
verify=&quot;&quot;
cafile=&quot;&quot;
clientcert=&quot;&quot;
clientkey=&quot;&quot;
suffix=&quot;dc=vavai,dc=net&quot;
usersdn=&quot;ou=People,ou=Users,${suffix}&quot;
computersdn=&quot;ou=Computers,ou=Users,${suffix}&quot;
groupsdn=&quot;ou=Groups,${suffix}&quot;
idmapdn=&quot;ou=Idmap,${suffix}&quot;
sambaUnixIdPooldn=&quot;sambaDomainName=VAVAI.NET,ou=Domains,${suffix}&quot;
scope=&quot;sub&quot;
hash_encrypt=&quot;MD5&quot;
crypt_salt_format=&quot;&quot;
userHome=&quot;/data/home/%U&quot;
userHomeDirectoryMode=&quot;700&quot;
userGecos=&quot;System User&quot;
defaultUserGid=&quot;513&quot;
defaultComputerGid=&quot;515&quot;
skeletonDir=&quot;/etc/skel&quot;
defaultMaxPasswordAge=&quot;45&quot;
userSmbHome=&quot;\\server\%U&quot;
userProfile=&quot;\\server\profiles\%U&quot;
userHomeDrive=&quot;H:&quot;
userScript=&quot;logon.bat&quot;
mailDomain=&quot;vavai.net&quot;
with_smbpasswd=&quot;0&quot;
smbpasswd=&quot;/usr/bin/smbpasswd&quot;
with_slappasswd=&quot;0&quot;
slappasswd=&quot;/usr/sbin/slappasswd&quot;
# comment out the following line to get rid of the default banner
# no_banner=&quot;1&quot;
</pre>
</li>
<li>Edit <strong>/etc/smbldap-tools/smbldap_bind.conf</strong> and copy-paste the following content :
<pre class="brush: cpp">
slaveDN=&quot;cn=Manager,dc=vavai,dc=net&quot;
slavePw=&quot;zezevavai26032006&quot;
masterDN=&quot;cn=Manager,dc=vavai,dc=net&quot;
masterPw=&quot;zezevavai26032006&quot;
</pre>
</li>
<li>Starting Samba service
<pre class="brush: cpp">
service smb restart
service nmb restart
service ldap restart
service winbind restart
</pre>
</li>
<li>Insert default password for Samba-LDAP
<pre class="brush: cpp">
su
smbldap-useradd -m -a root
smbldap-passwd root
smbpasswd -a
smbldap-groupmod -m root Domain\ Admins
</pre>
</li>
</ol>
<p><strong>CONFIGURING LDAP ACCOUNT MANAGER (LAM)</strong></p>
<p>LDAP account manager has similar function with smbldap-tools but provided a web interface to manage the LDAP data. You should have a running Apache server for host the LAM service. <a href="http://vavai.net/2009/02/23/apache-web-server-virtual-host-on-opensuse-part-1/">Click here</a> if you need a tutorial to setting up Apache web server on openSUSE.</p>
<ol>
<li>Goto <a href="http://packman.links2linux.org/package/ldap-account-manager">Packman page for LDAP Account Manager</a> and install the LAM package with one-click-install (or by using zypper using Packman Repository)</li>
<li>Backup &amp; create the lam configuration
<pre class="brush: cpp">
su
mv /srv/www/htdocs/lam/config/config.cfg_sample /srv/www/htdocs/lam/config/config.cfg
touch /srv/www/htdocs/lam/config/lam.conf
chown wwwrun:www /srv/www/htdocs/lam/config/lam.conf
</pre>
</li>
<li>Copy-paste the following content for LAM configuration :  /srv/www/htdocs/lam/config/lam.conf
<pre class="brush: cpp">
# LDAP Account Manager configuration
serverURL: ldap://localhost:389
admins: cn=Manager,dc=vavai,dc=net
# password to change these preferences via webfrontend (default: lam)
passwd: {SSHA}RjBruJcTxZEdcBjPQdRBkDaSQeY= iueleA==

treesuffix: dc=vavai,dc=net

# default language (a line from config/language)
defaultLanguage: en_GB.utf8:UTF-8:English (Great Britain)

# Path to external Script
scriptPath:

# Server of external Script
scriptServer:

# Access rights for home directories
scriptRights: 750

# Number of minutes LAM caches LDAP searches.
cachetimeout: 5

# Module settings

modules: posixAccount_minUID: 10000
modules: posixAccount_maxUID: 20000
modules: posixAccount_minMachine: 10000
modules: posixAccount_maxMachine: 20000
modules: posixGroup_minGID: 10000
modules: posixGroup_maxGID: 20000
modules: posixGroup_pwdHash: SSHA
modules: posixAccount_pwdHash: SSHA

# List of active account types.
activeTypes: user,group,host,smbDomain

types: suffix_user: ou=People,dc=vavai,dc=net
types: attr_user: #uid;#givenName;#sn;#uidNumber;#gidNumber
types: modules_user: inetOrgPerson,posixAccount,shadowAccount,sambaSamAccount

types: suffix_group: ou=group,dc=vavai,dc=net
types: attr_group: #cn;#gidNumber;#memberUID;#description
types: modules_group: posixGroup,sambaGroupMapping

types: suffix_host: ou=machines,dc=vavai,dc=net
types: attr_host: #cn;#description;#uidNumber;#gidNumber
types: modules_host: account,posixAccount,sambaSamAccount

types: suffix_smbDomain: ou=domains,dc=vavai,dc=net
types: attr_smbDomain: sambaDomainName:Domain name;sambaSID:Domain SID
types: modules_smbDomain: sambaDomain
</pre>
</li>
<li>Restart Apache service
<pre class="brush: cpp">
service apache2 restart
</pre>
</li>
<li>Access the LAM service from http://yourhostname/lam or http://your-server-ip/lam, ex : http://server.vavai.net/lam or http://192.168.1.254/lam</li>
</ol>
<p>Next Tutorial : <strong>Samba PDC + OpenLDAP on openSUSE 11.1 – Part 4, Configuring Dynamic DHCP &amp; DNS</strong></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/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/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/07/tutorial-samba-pdc-openldap-on-opensuse-11-1-%e2%80%93-part-3/feed/</wfw:commentRss>
		<slash:comments>5</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! -->