<?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>TIBCO Admin &#187; solaris</title>
	<atom:link href="http://tibcoadmin.com/tag/solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://tibcoadmin.com</link>
	<description>thoughts and actions</description>
	<lastBuildDate>Thu, 22 Jul 2010 14:59:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Enabling Informix SSO authentication</title>
		<link>http://tibcoadmin.com/ibm/informix/enabling-informix-sso-authentication/</link>
		<comments>http://tibcoadmin.com/ibm/informix/enabling-informix-sso-authentication/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 12:37:05 +0000</pubDate>
		<dc:creator>Serge</dc:creator>
				<category><![CDATA[informix]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://tibcoadmin.com/?p=696</guid>
		<description><![CDATA[The idea was to let users, who have accounts in the MS AD, log on to Informix database running on Solaris without requiring to enter credentials again as they are already authenticated in the domain on their Windows workstations. So, we will configure Informix for Kerberos and Single Sign-On (SSO) authentication for Windows clients. This [...]]]></description>
			<content:encoded><![CDATA[<p>The idea was to let users, who have accounts in the MS AD, log on to Informix database running on Solaris without requiring to enter credentials again as they are already authenticated in the domain on their Windows workstations. So, we will configure Informix for Kerberos and Single Sign-On (SSO) authentication for Windows clients. This configuration can be called the logical conclusion of a previous <a href="http://tibcoadmin.com/ibm/informix/enabling-informix-pam-authentication/">configuration with PAM</a>.</p>
<p>Informix box must be preconfigured and joined AD domain like in <a href="http://tibcoadmin.com/sun/solaris/how-to-add-solaris-10-server-into-ms-active-directory-domain/">this my example</a> for Solaris and MS AD. Installing the latest patches is strongly recommended as some related bugs were fixed recently in Solaris and Informix.</p>
<ol>
<li>On any Domain Controller:
<ul>
<li>create a service account in AD, one per server/alias</li>
<li>run <code><strong>setspn</strong> -A &lt;sso_alias&gt;/&lt;informix_server&gt;.domain.com@DOMAIN.COM &lt;informix_server&gt;</code></li>
<li>run <code><strong>ktpass</strong> -princ &lt;sso_alias&gt;/&lt;informix_server&gt;.domain.com@DOMAIN.COM -mapuser &lt;serv_acc&gt;@DOMAIN.COM -crypto RC4-HMAC-NT -ptype KRB5_NT_PRINCIPAL -mapop set -pass &lt;serv_acc_password&gt; -out my.keytab</code></li>
<li>upload generated keytab file to Informix server</li>
</ul>
</li>
<li>On the Informix box:
<ul>
<li>run <strong>ktutil</strong> and insert generated key to existing keys file:<br />
<code>ktutil:  rkt /upload/my.keytab<br />
ktutil:  wkt /etc/krb5/krb5.keytab<br />
ktutil:  quit</code></li>
<li>run <code><strong>klist</strong> -e -k /etc/krb5/krb5.keytab</code> to check keys file</li>
<li>create <code>&lt;informix_home&gt;ids/etc/concsm.cfg</code> file with one row like this:<br />
<code>GSSCSM("/app/informix/ids/lib/csm/libixgss.so", "", "c=1,i=1")</code></li>
<li>add sso alias to Informix <strong>onconfig</strong> file</li>
<li>add sso alias to <strong>sqlhosts</strong> file:<br />
<code>ssoalias         ontlitcp        hostname      1526   s=7,csm=(GSSCSM)</code></li>
</ul>
</li>
<li>On all Windows workstations: <a href="http://tibcoadmin.com/wp-content/uploads/2010/02/informix-sso-setnet32.png"><img class="alignright size-medium wp-image-722" title="informix-sso-setnet32" src="http://tibcoadmin.com/wp-content/uploads/2010/02/informix-sso-setnet32-300x238.png" alt="" width="300" height="238" /></a>
<ul>
<li>latest version of IBM Informix-Connect must be installed</li>
<li>create <strong>concsm.cfg</strong> file in the <code>C:\Program Files\IBM\Informix\Connect\etc</code> folder with one row like this:<br />
<code>GSSCSM("client=C:\Program Files\IBM\Informix\Connect\lib\client\csm\igsss11a.dll", "", "c=1,i=1")</code></li>
<li>run <strong>setnet32</strong> and describe server like on my screenshot, don&#8217;t forget specify options: <code>s=7,csm=(GSSCSM)</code></li>
<li>test using <strong>ilogin</strong> or define <strong>ODBC</strong> source; leave username and password fields empty</li>
</ul>
</li>
</ol>
<p>To check AD accounts from Unix or debug Kerberos and SSO use the following tools:</p>
<ul>
<li>klist, ldapsearch, ldaplist, getent</li>
<li><a href="http://hub.opensolaris.org/bin/view/Project+kerberos/Debuggin">krb-diag</a></li>
</ul>
<div class="sociable"><div class='sociable_tagline'>
<br><i>share and enjoy:</i>
</div>
<ul>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://twitter.com/home?status=Enabling%20Informix%20SSO%20authentication%20-%20http%3A%2F%2Ftibcoadmin.com%2Fibm%2Finformix%2Fenabling-informix-sso-authentication%2F' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/twitter.png' title='Twitter' alt='Twitter' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://www.google.com/reader/link?url=http%3A%2F%2Ftibcoadmin.com%2Fibm%2Finformix%2Fenabling-informix-sso-authentication%2F&amp;title=Enabling%20Informix%20SSO%20authentication&amp;srcURL=http%3A%2F%2Ftibcoadmin.com%2Fibm%2Finformix%2Fenabling-informix-sso-authentication%2F&amp;srcTitle=TIBCO+Admin+thoughts+and+actions' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png' title='Google Buzz' alt='Google Buzz' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Ftibcoadmin.com%2Fibm%2Finformix%2Fenabling-informix-sso-authentication%2F&amp;t=Enabling%20Informix%20SSO%20authentication' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' title='Facebook' alt='Facebook' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Ftibcoadmin.com%2Fibm%2Finformix%2Fenabling-informix-sso-authentication%2F&amp;title=Enabling%20Informix%20SSO%20authentication&amp;source=TIBCO+Admin+thoughts+and+actions&amp;summary=The%20idea%20was%20to%20let%20users%2C%20who%20have%20accounts%20in%20the%20MS%20AD%2C%20log%20on%20to%20Informix%20database%20running%20on%20Solaris%20without%20requiring%20to%20enter%20credentials%20again%20as%20they%20are%20already%20authenticated%20in%20the%20domain%20on%20their%20Windows%20workstations.%20So%2C%20we%20will%20configur' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/linkedin.png' title='LinkedIn' alt='LinkedIn' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ftibcoadmin.com%2Fibm%2Finformix%2Fenabling-informix-sso-authentication%2F&amp;title=Enabling%20Informix%20SSO%20authentication&amp;bodytext=The%20idea%20was%20to%20let%20users%2C%20who%20have%20accounts%20in%20the%20MS%20AD%2C%20log%20on%20to%20Informix%20database%20running%20on%20Solaris%20without%20requiring%20to%20enter%20credentials%20again%20as%20they%20are%20already%20authenticated%20in%20the%20domain%20on%20their%20Windows%20workstations.%20So%2C%20we%20will%20configur' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/digg.png' title='Digg' alt='Digg' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Ftibcoadmin.com%2Fibm%2Finformix%2Fenabling-informix-sso-authentication%2F&amp;title=Enabling%20Informix%20SSO%20authentication&amp;notes=The%20idea%20was%20to%20let%20users%2C%20who%20have%20accounts%20in%20the%20MS%20AD%2C%20log%20on%20to%20Informix%20database%20running%20on%20Solaris%20without%20requiring%20to%20enter%20credentials%20again%20as%20they%20are%20already%20authenticated%20in%20the%20domain%20on%20their%20Windows%20workstations.%20So%2C%20we%20will%20configur' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' title='del.icio.us' alt='del.icio.us' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Ftibcoadmin.com%2Fibm%2Finformix%2Fenabling-informix-sso-authentication%2F' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' title='Technorati' alt='Technorati' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftibcoadmin.com%2Fibm%2Finformix%2Fenabling-informix-sso-authentication%2F&amp;title=Enabling%20Informix%20SSO%20authentication' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' title='StumbleUpon' alt='StumbleUpon' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='mailto:?subject=Enabling%20Informix%20SSO%20authentication&amp;body=http%3A%2F%2Ftibcoadmin.com%2Fibm%2Finformix%2Fenabling-informix-sso-authentication%2F' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/email_link.png' title='email' alt='email' class='sociable-img sociable-hovers ' /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://tibcoadmin.com/ibm/informix/enabling-informix-sso-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TIBCO iProcess engine installation on Solaris</title>
		<link>http://tibcoadmin.com/tibco/installation-tibco/tibco-iprocess-engine-installation-on-solaris/</link>
		<comments>http://tibcoadmin.com/tibco/installation-tibco/tibco-iprocess-engine-installation-on-solaris/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 18:25:21 +0000</pubDate>
		<dc:creator>Serge</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[BPM]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[iProcess]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[tibco]]></category>

		<guid isPermaLink="false">http://tibcoadmin.com/?p=493</guid>
		<description><![CDATA[This is my quick reference for single-server TIBCO BPM iProcess engine installation on Solaris. Possible to add another server and convert environment to a cluster later. Oracle has to be installed, ORACLE_HOME and ORACLE_SID environment variables must be set. Run swinstall installation script as a root user who also DBA in Oracle, script will create [...]]]></description>
			<content:encoded><![CDATA[<p>This is my quick reference for single-server TIBCO BPM iProcess engine installation on Solaris. Possible to add another server and convert environment to a cluster later. Oracle has to be installed, ORACLE_HOME and ORACLE_SID environment variables must be set. Run <strong>swinstall</strong> installation script as a root user who also DBA in Oracle, script will create iProcess database.</p>
<p><code>./swinstall</code></p>
<p><em>Script will collect installation data:</em><br />
<code>Installing TIBCO iProcess Engine version 11.0.2</code></p>
<p><code>Location, Identification and OS Accounts Menu</code><br />
<code><br />
* ) Installation Directory                   : /export/home/tibco/tibco/iprocess<br />
2 ) iProcess Engine Nodename                 : s-bpm01<br />
3 ) iProcess Engine Licensee Name            : TIBCO iPE 11.0.2 Install<br />
4 ) iProcess Engine Background User Name     : pro<br />
5 ) iProcess Engine Administration User Name : swadmin<br />
6 ) iProcess Engine User Group Name          : staffwar</code></p>
<p><code>ORACLE Database Connection and Account Details</code></p>
<p><code>1 ) Oracle DB TNS Identifier                 : orcl<br />
2 ) Oracle DB Administrator Name             : system<br />
3 ) Oracle DB Administrator Password         : ********<br />
4 ) iProcess Engine DB Schema Owner Name     : swpro<br />
5 ) iProcess Engine DB Schema Owner Password : staffpro1<br />
6 ) iProcess Engine DB User Name             : swuser<br />
7 ) iProcess Engine DB User Password         : swuser1<br />
8 ) Data Tablespace Name                     : STAFFWAR<br />
9 ) Temporary Tablespace Name                : TEMP<br />
10) Schema Sizing Configuration              : Small</code></p>
<p><em>Display configuration summary and start installation:</em><br />
<code>==============================================<br />
Configuration Summary<br />
==============================================</code></p>
<p><code>General<br />
===============================================<br />
Install type:    install (MASTER)<br />
Version:         11.0.2<br />
Target location: /export/home/tibco/tibco/iprocess<br />
Licensee:        TIBCO iPE 11.0.2 Install<br />
</code><br />
<code>iProcess Objects Server Version:   11.0.2<br />
iProcess Objects Director Version: 11.0.2<br />
</code><br />
<code>Node Details<br />
===============================================<br />
Node name:                      s-bpm01<br />
Client-Server RPC port:         391875<br />
</code><br />
<code>Environment Settings<br />
===============================================<br />
iProcess Engine User group:     staffwar<br />
iProcess Engine bkg. account:   pro<br />
iProcess Engine admin. account: swadmin</code></p>
<p><code>Optional Settings<br />
===============================================<br />
Autostart Server:                  Y<br />
Passwords required for login:      Y<br />
Enable Prediction (Global):        N<br />
Enable Case Data Normalization:    Y<br />
Enable Activity Publishing:        N<br />
Configure iProcess E-Mail Plug-in: Y<br />
Enable iProcess Objects Server:    Y<br />
Enable iProcess Objects Director:  N<br />
Install TIBCO Hawk 4.8.1:          N<br />
Enable Webdav write access:        N</code></p>
<p><code>DataBase Settings<br />
===============================================<br />
Database Type:          ORACLE<br />
TNS Identifier:         orcl<br />
DBA Name:               system<br />
DB Schema Owner:        swpro<br />
DB User:                swuser<br />
Data Tablespace:        STAFFWAR<br />
Temp Tablespace:        TEMP</code></p>
<p><em>The final step:</em><br />
<code>Your TIBCO iProcess Engine installation has now been configured as follows:</code></p>
<p><code>--------------------------------------------------------------------------------<br />
Machine ID     Machine Name   Master    Check Error Files   Machine Comment<br />
--------------------------------------------------------------------------------<br />
1              S-BPM01        Y         Y                   s-bpm01</code></p>
<p><code>Checking and setting file permissions ...</code></p>
<p><code>TIBCO iProcess Engine Installation Complete</code></p>
<p><em>Display engine password:</em><br />
<code>TIBCO iProcess Engine Password is:<br />
********************************************<br />
*    3BFD-7292-DBAF-A3E7-823D-4720-351E    *<br />
********************************************<br />
Licensee Name is:<br />
TIBCO iPE 11.0.2 Install<br />
(The existing TIBCO iProcess Engine Password and Licensee Name may also be<br />
displayed later by running 'swconfig').</code></p>
<p><em>Reminder:</em><br />
<code>All users of TIBCO iProcess Engine (Staffware) should have the<br />
environment variable $SWDIR set to<br />
/export/home/tibco/tibco/iprocess<br />
before invoking or starting TIBCO iProcess Engine.</code></p>
<p><em>Installer will run the final check and complete:</em><br />
<code>TIBCO iProcess Engine Nodename ( s-bpm01 ) checked OK.<br />
TIBCO iProcess Engine RPC Number ( 391875 ) checked OK.<br />
TIBCO iProcess Engine service ports checked OK<br />
TIBCO iProcess Engine process entries OK</code></p>
<p>Then I have to create this <strong>.profile</strong> for <strong>pro</strong> user:<br />
<code>SWDIR=/export/home/tibco/tibco/iprocess<br />
export SWDIR<br />
ORACLE_HOME=/export/home/oracle/product/10.2.0/db_1<br />
ORACLE_SID=orcl<br />
export ORACLE_HOME ORACLE_SID<br />
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$SWDIR/libs<br />
export LD_LIBRARY_PATH</code></p>
<p>To start iProcess engine:<br />
<code>su - pro<br />
cd bin<br />
./swstart -p<br />
./swstart</code></p>
<p>Admin tool:<br />
<code>su - pro<br />
cd util<br />
./swadm</code></p>
<div class="sociable"><div class='sociable_tagline'>
<br><i>share and enjoy:</i>
</div>
<ul>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://twitter.com/home?status=TIBCO%20iProcess%20engine%20installation%20on%20Solaris%20-%20http%3A%2F%2Ftibcoadmin.com%2Ftibco%2Finstallation-tibco%2Ftibco-iprocess-engine-installation-on-solaris%2F' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/twitter.png' title='Twitter' alt='Twitter' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://www.google.com/reader/link?url=http%3A%2F%2Ftibcoadmin.com%2Ftibco%2Finstallation-tibco%2Ftibco-iprocess-engine-installation-on-solaris%2F&amp;title=TIBCO%20iProcess%20engine%20installation%20on%20Solaris&amp;srcURL=http%3A%2F%2Ftibcoadmin.com%2Ftibco%2Finstallation-tibco%2Ftibco-iprocess-engine-installation-on-solaris%2F&amp;srcTitle=TIBCO+Admin+thoughts+and+actions' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png' title='Google Buzz' alt='Google Buzz' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Ftibcoadmin.com%2Ftibco%2Finstallation-tibco%2Ftibco-iprocess-engine-installation-on-solaris%2F&amp;t=TIBCO%20iProcess%20engine%20installation%20on%20Solaris' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' title='Facebook' alt='Facebook' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Ftibcoadmin.com%2Ftibco%2Finstallation-tibco%2Ftibco-iprocess-engine-installation-on-solaris%2F&amp;title=TIBCO%20iProcess%20engine%20installation%20on%20Solaris&amp;source=TIBCO+Admin+thoughts+and+actions&amp;summary=This%20is%20my%20quick%20reference%20for%20single-server%20TIBCO%20BPM%20iProcess%20engine%20installation%20on%20Solaris.%20Possible%20to%20add%20another%20server%20and%20convert%20environment%20to%20a%20cluster%20later.%20Oracle%20has%20to%20be%20installed%2C%20ORACLE_HOME%20and%20ORACLE_SID%20environment%20variables%20mu' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/linkedin.png' title='LinkedIn' alt='LinkedIn' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ftibcoadmin.com%2Ftibco%2Finstallation-tibco%2Ftibco-iprocess-engine-installation-on-solaris%2F&amp;title=TIBCO%20iProcess%20engine%20installation%20on%20Solaris&amp;bodytext=This%20is%20my%20quick%20reference%20for%20single-server%20TIBCO%20BPM%20iProcess%20engine%20installation%20on%20Solaris.%20Possible%20to%20add%20another%20server%20and%20convert%20environment%20to%20a%20cluster%20later.%20Oracle%20has%20to%20be%20installed%2C%20ORACLE_HOME%20and%20ORACLE_SID%20environment%20variables%20mu' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/digg.png' title='Digg' alt='Digg' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Ftibcoadmin.com%2Ftibco%2Finstallation-tibco%2Ftibco-iprocess-engine-installation-on-solaris%2F&amp;title=TIBCO%20iProcess%20engine%20installation%20on%20Solaris&amp;notes=This%20is%20my%20quick%20reference%20for%20single-server%20TIBCO%20BPM%20iProcess%20engine%20installation%20on%20Solaris.%20Possible%20to%20add%20another%20server%20and%20convert%20environment%20to%20a%20cluster%20later.%20Oracle%20has%20to%20be%20installed%2C%20ORACLE_HOME%20and%20ORACLE_SID%20environment%20variables%20mu' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' title='del.icio.us' alt='del.icio.us' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Ftibcoadmin.com%2Ftibco%2Finstallation-tibco%2Ftibco-iprocess-engine-installation-on-solaris%2F' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' title='Technorati' alt='Technorati' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftibcoadmin.com%2Ftibco%2Finstallation-tibco%2Ftibco-iprocess-engine-installation-on-solaris%2F&amp;title=TIBCO%20iProcess%20engine%20installation%20on%20Solaris' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' title='StumbleUpon' alt='StumbleUpon' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='mailto:?subject=TIBCO%20iProcess%20engine%20installation%20on%20Solaris&amp;body=http%3A%2F%2Ftibcoadmin.com%2Ftibco%2Finstallation-tibco%2Ftibco-iprocess-engine-installation-on-solaris%2F' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/email_link.png' title='email' alt='email' class='sociable-img sociable-hovers ' /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://tibcoadmin.com/tibco/installation-tibco/tibco-iprocess-engine-installation-on-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add Solaris 10 server into MS Active Directory domain</title>
		<link>http://tibcoadmin.com/sun/solaris/how-to-add-solaris-10-server-into-ms-active-directory-domain/</link>
		<comments>http://tibcoadmin.com/sun/solaris/how-to-add-solaris-10-server-into-ms-active-directory-domain/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 14:23:35 +0000</pubDate>
		<dc:creator>Serge</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://tibcoadmin.com/?p=372</guid>
		<description><![CDATA[Here are my notes applicable for Solaris 10. First of all install latest patches &#8211; a lot of related things fixed (but new bugs may appear :))

Synchronize the system clock with AD server
domain ntp server(s) must be in /etc/inet/ntp.conf
then restart ntp daemon svcadm restart /network/ntp
Solaris server must have a record in the DNS
Domain name and [...]]]></description>
			<content:encoded><![CDATA[<p><em>Here are my notes applicable for Solaris 10. First of all install latest patches &#8211; a lot of related things fixed (but new bugs may appear :))</em></p>
<ol>
<li>Synchronize the system clock with AD server<br />
domain ntp server(s) must be in <code>/etc/inet/ntp.conf</code><br />
then restart ntp daemon <code>svcadm restart /network/ntp</code></li>
<li>Solaris server must have a record in the DNS</li>
<li>Domain name and name servers (DNS servers) must be in <code>/etc/resolv.conf</code></li>
<li>In the <code>/etc/nsswitch.conf</code> file <strong>dns</strong> and <strong>files</strong> must be specified for <strong>hosts</strong> and <strong>ipnodes</strong><br />
<code>...<br />
hosts:      dns files<br />
ipnodes:    dns files<br />
...</code></li>
<li>In the <code>/etc/nodename</code> and <code>/etc/hostname.&lt;nic&gt;</code> files <strong>host name</strong> must be specified only, not a fully qualified domain name</li>
<li>Run <strong>adjoin</strong> script. You can find it <a href="http://hub.opensolaris.org/bin/view/Project+winchester/files?viewer=attachments&amp;language=en">here</a>. It will:
<ul>
<li>auto-detects the Active Directory domain controllers</li>
<li>creates a machine account (also called a Computer object) for the Solaris host in Active Directory and generates a random password for this account</li>
<li>configures the Solaris host as a Kerberos client of the Active Directory domain controller by using the <code>/etc/krb5/krb5.conf</code> file</li>
<li>configures the <code>/etc/krb5/krb5.keytab</code> file on the Solaris host by using the keys for the machine account (also called host credentials)</li>
</ul>
<p>Execute adjoin script with following options:<br />
<code>./adjoin -d &lt;domain_name&gt; -p &lt;administrator_principal&gt; -f -x</code><br />
where <code>-f</code> to delete any pre-existing computer account for this host and <code>-x</code> to debug output.</p>
<p>If your domain if geographically distributed with a lot of domain controllers (DC), script can detect inappropriate controllers. Just before entering admin password, check prepared <code>adjoin-krb5.conf.XXXXXX</code> file in the <code>/tmp</code> folder and remove unnecessary controllers from it.</p>
<p>Adjoin script can stop work with pkcs11_kernel.so syntax error on some SUN servers:<br />
<code>+ ./adjoin[859]: /usr/lib/security/$ISA/pkcs11_kernel.so:: syntax error</code><br />
Then all you need is just to temporary rename this file and execute adjoin again<br />
<code>mv /usr/lib/security/$ISA/pkcs11_kernel.so /usr/lib/security/$ISA/pkcs11_kernel.so.orig</code><br />
when adjoin finished successfully, rename it back</li>
<li>Run <strong>ldapsearch</strong> and <strong>klist</strong> to check Kerberos<br />
<code>ldapsearch -R -T -h dc1.xxxxxx.com -o authzid= -o mech=gssapi -b CN=Computers,DC=xxxxxx,DC=com -s sub cn=&lt;computer_name&gt;</code><br />
<code>klist</code><br />
<code>klist -e -k /etc/krb5/krb5.keytab</code></li>
<li>Enable dns client and cache daemons<br />
<code>svcadm enable /network/dns/client</code><br />
<code>svcadm enable /system/name-service-cache</code></li>
<li>In the <code>/etc/nsswitch.ldap</code> file <strong>dns</strong> and <strong>files</strong> must be specified for <strong>hosts</strong> and <strong>ipnodes</strong><br />
<code>...<br />
hosts:      dns files<br />
ipnodes:    dns files<br />
...</code></li>
<li>Set up a server as a client of an LDAP. Execute <strong>ldapclient</strong><br />
<code>ldapclient -v manual \<br />
-a credentialLevel=self \<br />
-a authenticationMethod=sasl/gssapi \<br />
-a defaultSearchBase=dc=xxxxxx,dc=com \<br />
-a defaultSearchScope=sub \<br />
-a domainName=xxxxxx.com \<br />
-a defaultServerList="dc1.xxxxxx.com dc2.xxxxxx.com dc3.xxxxxx.com" \<br />
-a attributeMap=passwd:gecos=cn \<br />
-a attributeMap=passwd:homedirectory=unixHomeDirectory \<br />
-a objectClassMap=group:posixGroup=group \<br />
-a objectClassMap=passwd:posixAccount=user \<br />
-a objectClassMap=shadow:shadowAccount=user \<br />
-a serviceSearchDescriptor="passwd:ou=Accounts,ou=European office,dc=xxxxxx,dc=com?sub;ou=Accounts,ou=American Office,dc=xxxxxx,dc=com?sub" \<br />
-a serviceSearchDescriptor=group:ou=Groups,dc=xxxxxx,dc=com?sub</code><br />
ldapclient should finish without errors. To check use <code>ldapclient list</code>
</li>
<li>Edit the <code>/etc/nsswitch.conf</code> file: <strong>files</strong> and <strong>ldap</strong> must be specified for <strong>passwd</strong> and <strong>group</strong> only<br />
<code>...<br />
passwd:     files ldap<br />
group:      files ldap<br />
hosts:      dns files<br />
ipnodes:    dns files<br />
networks:   files<br />
protocols:  files<br />
...</code><br />
remove ldap from everywhere else</li>
<li>Restart LDAP client<br />
<code>svcadm restart /network/ldap/client</code></li>
<li>Add <strong>pam_krb5.so.1</strong> in the <code>/etc/pam.conf</code> file<br />
<code>...<br />
login   auth sufficient         pam_krb5.so.1<br />
krlogin auth required           pam_krb5.so.1<br />
krsh    auth required           pam_krb5.so.1<br />
ktelnet auth required           pam_krb5.so.1<br />
other   auth sufficient         pam_krb5.so.1<br />
other   account required        pam_krb5.so.1<br />
other   password sufficient     pam_krb5.so.1<br />
...</code></li>
</ol>
<p>To ensure that users could login on the host under their AD accounts, accounts in AD must have following additional attributes:<br />
<strong>uid</strong> the same as sAMAccountName<br />
<strong>uidNumber</strong> unique number<br />
<strong>gidNumber</strong> number<br />
<strong>unixHomeDirectory</strong> for example <em>/tmp</em><br />
<strong>loginShell</strong> for example <em>/usr/bin/bash</em> or <em>/bin/false</em></p>
<p>To check it use <strong>getent</strong> or <strong>ldapsearch</strong><br />
<code>getent passwd &lt;uid&gt;<br />
ldapsearch -R -T -h dc1.xxxxxx.com -b "ou=Accounts,ou=American Office,dc=xxxxxx,dc=com" -o mech=gssapi -o authzid='' "uid=&lt;uid&gt;"</code></p>
<p>If you would like read more: <a href="http://wikis.sun.com/display/BigAdmin/Using+Kerberos+to+Authenticate+a+Solaris+10+OS+LDAP+Client+With+Microsoft+Active+Directory">link</a> to SUN&#8217;s article &#8220;Using Kerberos to Authenticate a Solaris 10 OS LDAP Client With Microsoft Active Directory&#8221;.</p>
<div class="sociable"><div class='sociable_tagline'>
<br><i>share and enjoy:</i>
</div>
<ul>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://twitter.com/home?status=How%20to%20add%20Solaris%2010%20server%20into%20MS%20Active%20Directory%20domain%20-%20http%3A%2F%2Ftibcoadmin.com%2Fsun%2Fsolaris%2Fhow-to-add-solaris-10-server-into-ms-active-directory-domain%2F' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/twitter.png' title='Twitter' alt='Twitter' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://www.google.com/reader/link?url=http%3A%2F%2Ftibcoadmin.com%2Fsun%2Fsolaris%2Fhow-to-add-solaris-10-server-into-ms-active-directory-domain%2F&amp;title=How%20to%20add%20Solaris%2010%20server%20into%20MS%20Active%20Directory%20domain&amp;srcURL=http%3A%2F%2Ftibcoadmin.com%2Fsun%2Fsolaris%2Fhow-to-add-solaris-10-server-into-ms-active-directory-domain%2F&amp;srcTitle=TIBCO+Admin+thoughts+and+actions' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png' title='Google Buzz' alt='Google Buzz' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Ftibcoadmin.com%2Fsun%2Fsolaris%2Fhow-to-add-solaris-10-server-into-ms-active-directory-domain%2F&amp;t=How%20to%20add%20Solaris%2010%20server%20into%20MS%20Active%20Directory%20domain' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' title='Facebook' alt='Facebook' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Ftibcoadmin.com%2Fsun%2Fsolaris%2Fhow-to-add-solaris-10-server-into-ms-active-directory-domain%2F&amp;title=How%20to%20add%20Solaris%2010%20server%20into%20MS%20Active%20Directory%20domain&amp;source=TIBCO+Admin+thoughts+and+actions&amp;summary=Here%20are%20my%20notes%20applicable%20for%20Solaris%2010.%20First%20of%20all%20install%20latest%20patches%20-%20a%20lot%20of%20related%20things%20fixed%20%28but%20new%20bugs%20may%20appear%20%3A%29%29%0D%0A%0D%0A%09Synchronize%20the%20system%20clock%20with%20AD%20server%0D%0Adomain%20ntp%20server%28s%29%20must%20be%20in%20%2Fetc%2Finet%2Fntp.conf%0D%0Athen%20re' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/linkedin.png' title='LinkedIn' alt='LinkedIn' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ftibcoadmin.com%2Fsun%2Fsolaris%2Fhow-to-add-solaris-10-server-into-ms-active-directory-domain%2F&amp;title=How%20to%20add%20Solaris%2010%20server%20into%20MS%20Active%20Directory%20domain&amp;bodytext=Here%20are%20my%20notes%20applicable%20for%20Solaris%2010.%20First%20of%20all%20install%20latest%20patches%20-%20a%20lot%20of%20related%20things%20fixed%20%28but%20new%20bugs%20may%20appear%20%3A%29%29%0D%0A%0D%0A%09Synchronize%20the%20system%20clock%20with%20AD%20server%0D%0Adomain%20ntp%20server%28s%29%20must%20be%20in%20%2Fetc%2Finet%2Fntp.conf%0D%0Athen%20re' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/digg.png' title='Digg' alt='Digg' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Ftibcoadmin.com%2Fsun%2Fsolaris%2Fhow-to-add-solaris-10-server-into-ms-active-directory-domain%2F&amp;title=How%20to%20add%20Solaris%2010%20server%20into%20MS%20Active%20Directory%20domain&amp;notes=Here%20are%20my%20notes%20applicable%20for%20Solaris%2010.%20First%20of%20all%20install%20latest%20patches%20-%20a%20lot%20of%20related%20things%20fixed%20%28but%20new%20bugs%20may%20appear%20%3A%29%29%0D%0A%0D%0A%09Synchronize%20the%20system%20clock%20with%20AD%20server%0D%0Adomain%20ntp%20server%28s%29%20must%20be%20in%20%2Fetc%2Finet%2Fntp.conf%0D%0Athen%20re' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' title='del.icio.us' alt='del.icio.us' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Ftibcoadmin.com%2Fsun%2Fsolaris%2Fhow-to-add-solaris-10-server-into-ms-active-directory-domain%2F' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' title='Technorati' alt='Technorati' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftibcoadmin.com%2Fsun%2Fsolaris%2Fhow-to-add-solaris-10-server-into-ms-active-directory-domain%2F&amp;title=How%20to%20add%20Solaris%2010%20server%20into%20MS%20Active%20Directory%20domain' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' title='StumbleUpon' alt='StumbleUpon' class='sociable-img sociable-hovers ' /></a></li>
	<li class="sociablefirst"><a rel='nofollow'  target='_blank'  href='mailto:?subject=How%20to%20add%20Solaris%2010%20server%20into%20MS%20Active%20Directory%20domain&amp;body=http%3A%2F%2Ftibcoadmin.com%2Fsun%2Fsolaris%2Fhow-to-add-solaris-10-server-into-ms-active-directory-domain%2F' ><img src='http://tibcoadmin.com/wp-content/plugins/sociable-30/images/default/16/email_link.png' title='email' alt='email' class='sociable-img sociable-hovers ' /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://tibcoadmin.com/sun/solaris/how-to-add-solaris-10-server-into-ms-active-directory-domain/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
