<?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; security</title>
	<atom:link href="http://tibcoadmin.com/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://tibcoadmin.com</link>
	<description>thoughts and actions</description>
	<lastBuildDate>Mon, 26 Dec 2011 09:58:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>TIBCO ActiveMatrix vulnerability</title>
		<link>http://tibcoadmin.com/tibco/tibco-activematrix-vulnerability/</link>
		<comments>http://tibcoadmin.com/tibco/tibco-activematrix-vulnerability/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 06:31:39 +0000</pubDate>
		<dc:creator>Serge</dc:creator>
				<category><![CDATA[tibco]]></category>
		<category><![CDATA[ActiveMatrix]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://tibcoadmin.com/?p=953</guid>
		<description><![CDATA[Yesterday TIBCO announced security vulnerability in TIBCO ActiveMatrix Products. ActiveMatrix Runtime and Administrator components contain a critical vulnerability in the handling of JMX connections. An attacker with access to an affected system could gain administrative control over the system, allowing the attacker to execute arbitrary code on any host that is a participant in the [...]]]></description>
			<content:encoded><![CDATA[<div class="plus-one-wrap"><g:plusone size="small" href="http://tibcoadmin.com/tibco/tibco-activematrix-vulnerability/"></g:plusone></div><p>Yesterday TIBCO announced security vulnerability in TIBCO ActiveMatrix Products. ActiveMatrix Runtime and Administrator components contain a critical vulnerability in the handling of JMX connections. An attacker with access to an affected system could gain administrative control over the system, allowing the attacker to execute arbitrary code on any host that is a participant in the system.</p>
<p>TIBCO has released updated versions of the affected software products. If an upgrade is not possible, use a firewall to restrict access to the ActiveMatrix Runtime and Administrator components.</p>
<p>Additional information and list of affected products versions <a href="http://www.tibco.com/multimedia/activematrix_advisory_tcm8-12488.txt">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tibcoadmin.com/tibco/tibco-activematrix-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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[<div class="plus-one-wrap"><g:plusone size="small" href="http://tibcoadmin.com/ibm/informix/enabling-informix-sso-authentication/"></g:plusone></div><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>
]]></content:encoded>
			<wfw:commentRss>http://tibcoadmin.com/ibm/informix/enabling-informix-sso-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling Informix PAM authentication</title>
		<link>http://tibcoadmin.com/ibm/informix/enabling-informix-pam-authentication/</link>
		<comments>http://tibcoadmin.com/ibm/informix/enabling-informix-pam-authentication/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 13:48:52 +0000</pubDate>
		<dc:creator>Serge</dc:creator>
				<category><![CDATA[informix]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://tibcoadmin.com/?p=672</guid>
		<description><![CDATA[Some text from Wikipedia for introduction: pluggable authentication modules, or PAM, is a mechanism to integrate multiple low-level authentication schemes into a high-level application programming interface (API). It allows programs that rely on authentication to be written independently of the underlying authentication scheme. In my case the idea was to let users, who have accounts [...]]]></description>
			<content:encoded><![CDATA[<div class="plus-one-wrap"><g:plusone size="small" href="http://tibcoadmin.com/ibm/informix/enabling-informix-pam-authentication/"></g:plusone></div><p>Some text from <a href="http://en.wikipedia.org/wiki/Pluggable_Authentication_Modules">Wikipedia</a> for introduction:</p>
<blockquote><p>pluggable authentication modules, or PAM, is a mechanism to integrate multiple low-level authentication schemes into a high-level application programming interface (API). It allows programs that rely on authentication to be written independently of the underlying authentication scheme.
</p></blockquote>
<p>In my case the idea was to let users, who have accounts in the MS AD, log on to Informix Dynamic Server using their AD username and password.</p>
<p>Your OS must be ready to use PAM and <a href="http://en.wikipedia.org/wiki/Kerberos_(protocol)">Kerberos</a>, configured like in <a href="http://tibcoadmin.com/sun/solaris/how-to-add-solaris-10-server-into-ms-active-directory-domain/">this example</a> for Solaris and MS AD.</p>
<p>So, lets start:</p>
<ol>
<li>Better to limit number of enctypes for Kerberos, especially if <acronym title="key distribution center">KDC</acronym> is Windows 2008 R2.<br />
To do that, add the flowing rows in the <code>/etc/krb5/krb5.conf</code>:<br />
<code>[libdefaults]<br />
default_tkt_enctypes = des-cbc-crc des-cbc-md5 arcfour-hmac-md5<br />
default_tgs_enctypes = des-cbc-crc des-cbc-md5 arcfour-hmac-md5<br />
default_etypes = des-cbc-crc des-cbc-md5 arcfour-hmac-md5<br />
default_etypes_des = des-cbc-crc</code></li>
<li>To define Informix for PAM, add its name to <code>/etc/pam.conf</code>, I will name it <em>ids_pam_service</em>:<br />
<code>ids_pam_service   auth sufficient         pam_krb5.so.1<br />
ids_pam_service   auth sufficient           pam_unix_auth.so.1</code><br />
First line for Kerberos authentication, second to allow local users (defined in passwd) to login through pam-enabled Informix alias.</li>
<li>Configure one or many Informix aliases to enable PAM. Do that in <code>sqlhosts</code> file:<br />
<code>&lt;alias_name&gt;           ontlitcp        &lt;host_name&gt;      &lt;service_name&gt;    s=4,pam_serv=(ids_pam_service),pamauth=(password)</code><br />
like in my example:<br />
<code>onpam           ontlitcp        serv-inf01      1526    s=4,pam_serv=(ids_pam_service),pamauth=(password)</code></li>
</ol>
<p>After Informix restart, PAM authentication will be enabled. Clients will be prompted to enter their local or AD credentials to connect.</p>
<p>If it doesn&#8217;t work, you can debug PAM, just touch <code>/etc/pam_debug</code> file and put <strong>auth.debug</strong> string in the <code>/etc/syslog.conf</code> file:<br />
<code>auth.debug          /var/adm/dmessages</code><br />
Keep in mind that spaces not allowed in syslog.conf, only tabs, and syslog daemon restart is required.</p>
<blockquote><p>Main disadvantage of PAM is that due to limits of the PAM API, it is not possible for a PAM module to request a Kerberos service ticket from a Kerberos Key Distribution Center (KDC), allowing the user to utilize the application without re-authenticating. pam_krb5 only fetches ticket granting tickets, which involves prompting the user for credentials and are only used for initial login in an SSO environment. To fetch a service ticket for a particular application, and not prompt the user to enter credentials again, that application must be specifically coded to support Kerberos, as pam_krb5 cannot itself get service tickets.</p></blockquote>
<p>I will describe how to configure Informix for Kerberos and Single Sign-On (SSO) authentication in the <a href="http://tibcoadmin.com/ibm/informix/enabling-informix-sso-authentication/">next post</a>.</p>
<p><strong>Update:</strong> each account in AD must have the following attributes specified: uid, uidNumber, gidNumber, unixHomeDirectory, loginShell. The easiest way to do that is using ADSI Edit snap-in for MMC.</p>
]]></content:encoded>
			<wfw:commentRss>http://tibcoadmin.com/ibm/informix/enabling-informix-pam-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connecting from TIBCO to MS SQL using Windows Authentication</title>
		<link>http://tibcoadmin.com/tibco/activematrix-businessworks/connecting-from-tibco-to-ms-sql-using-windows-authentication/</link>
		<comments>http://tibcoadmin.com/tibco/activematrix-businessworks/connecting-from-tibco-to-ms-sql-using-windows-authentication/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 19:27:53 +0000</pubDate>
		<dc:creator>Serge</dc:creator>
				<category><![CDATA[BusinessWorks]]></category>
		<category><![CDATA[jdbc]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[tibco]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://tibcoadmin.com/?p=498</guid>
		<description><![CDATA[Yes, it is possible. We can connect from BusinessWorks applications to MS SQL database using Windows authentication. Even more, we can run TIBCO Domain and store all data in MS SQL instance, where only Windows authentication enabled. Do it simply. Get the latest version of Microsoft SQL Server JDBC Driver from microsoft.com site. Unzip it. [...]]]></description>
			<content:encoded><![CDATA[<div class="plus-one-wrap"><g:plusone size="small" href="http://tibcoadmin.com/tibco/activematrix-businessworks/connecting-from-tibco-to-ms-sql-using-windows-authentication/"></g:plusone></div><p>Yes, it is possible. We can connect from BusinessWorks applications to MS SQL database using Windows authentication. Even more, we can run TIBCO Domain and store all data in MS SQL instance, where only Windows authentication enabled. Do it simply.</p>
<p>Get the latest version of Microsoft SQL Server JDBC Driver from <a href="http://search.microsoft.com/Results.aspx?q=SQL+Server+JDBC+Driver">microsoft.com</a> site. Unzip it. Then:</p>
<ul>
<li>copy <strong>sqljdbc.jar</strong> to &lt;tibco_home&gt;\tpcl\5.6\jdbc</li>
<li>copy \auth\<strong>x86</strong>\<strong>sqljdbc_auth.dll</strong> to C:\WINDOWS\SysWOW64 (or to C:\WINDOWS\System32 on 32bit system) and to &lt;tibco_home&gt;\tra\5.6\bin</li>
</ul>
<p><a href="http://tibcoadmin.com/wp-content/uploads/2010/02/bw-jdbc-sql-win-auth.png"><img src="http://tibcoadmin.com/wp-content/uploads/2010/02/bw-jdbc-sql-win-auth-300x119.png" alt="" title="BW JDBC Connection to MS SQL using Windows Authentication" width="300" height="119" class="alignright size-medium wp-image-608" /></a>Configure your BW-application to use appropriate driver and connection string:<br />
<strong>JDBC_Driver</strong>: <code>com.microsoft.sqlserver.jdbc.SQLServerDriver</code><br />
<strong>URL</strong>: <code>jdbc:sqlserver://&lt;server_name&gt;;<br />
instanceName=&lt;instance&gt;;<br />
databaseName=&lt;database&gt;;<br />
integratedSecurity=true;</code></p>
<p>The process must be started under Windows domain user who has the database rights. To do that just start domain Hawk Agent service under this user (should be in local admins or has appropriate permissions). Then all BW-applications on this particular machine, started by TIBCO Administrator or using appmanage tool, will also run under this user and can connect to MS SQL database using Windows authentication.</p>
<p>If you would like to create TIBCO Domain and use MS SQL Win auth only instance to store the data, you can use the same JDBC driver and URL. All you need is just run TIBCO Administrator and Hawk Agents in the TIBCO domain under Win domain user who has the database rights.</p>
]]></content:encoded>
			<wfw:commentRss>http://tibcoadmin.com/tibco/activematrix-businessworks/connecting-from-tibco-to-ms-sql-using-windows-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to reset TIBCO EMS Administrator password</title>
		<link>http://tibcoadmin.com/tibco/ems/how-to-reset-tibco-ems-administrator-password/</link>
		<comments>http://tibcoadmin.com/tibco/ems/how-to-reset-tibco-ems-administrator-password/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 19:31:44 +0000</pubDate>
		<dc:creator>Serge</dc:creator>
				<category><![CDATA[EMS]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tibco]]></category>

		<guid isPermaLink="false">http://tibcoadmin.com/?p=534</guid>
		<description><![CDATA[If the EMS admin password has been lost, it is easy to recover. In EMS all local users and their passwords stored in the users.conf file by default. You can find correct file in the tibemsd.conf: users = "C:/tibco/tibco/cfgmgmt/ems/data/users.conf" In the users.conf find admin user: admin:$2$Z1t2XOwg$vsDsUT+GVRHRiX+OPU/oOsn0:"Administrator" and remove encrypted password between colons: admin::"Administrator" Then restart [...]]]></description>
			<content:encoded><![CDATA[<div class="plus-one-wrap"><g:plusone size="small" href="http://tibcoadmin.com/tibco/ems/how-to-reset-tibco-ems-administrator-password/"></g:plusone></div><p>If the EMS admin password has been lost, it is easy to recover. In EMS all local users and their passwords stored in the <strong>users.conf</strong> file by default. You can find correct file in the <strong>tibemsd.conf</strong>:<br />
<code>users                   = "C:/tibco/tibco/cfgmgmt/ems/data/users.conf"</code></p>
<p>In the <strong>users.conf</strong> find <strong>admin</strong> user:<br />
<code>admin:$2$Z1t2XOwg$vsDsUT+GVRHRiX+OPU/oOsn0:"Administrator"</code><br />
and remove encrypted password between colons:<br />
<code>admin::"Administrator"</code></p>
<p>Then restart EMS daemon. Connect to your EMS using EMS Administration Tool and login as admin without password:<br />
<code>&gt; connect<br />
Login name (admin):<br />
Password:<br />
Connected to: tcp://localhost:7222</code></p>
<p>Then set a new password for admin:<br />
<code>tcp://localhost:7222&gt; set password admin 123<br />
Password of user 'admin' has been modified</code></p>
<p>If you manage EMS in the TIBCO Administrator, then you need to change EMS admin password there. <a href="http://tibcoadmin.com/wp-content/uploads/2010/01/domainutility-ems.png"><img src="http://tibcoadmin.com/wp-content/uploads/2010/01/domainutility-ems-300x197.png" alt="" title="domainutility-ems-plugin" width="300" height="197" class="alignright size-medium wp-image-548" /></a>Start TIBCO DomainUtility, select &#8220;TIBCO EMS Plugin&#8221;, &#8220;Update TIBCO EMS Server&#8221;, press &#8220;Next&#8221;. Select domain and enter domain (not EMS!) admin user name and password. Select EMS server to update, and change EMS password there, test connection on the next screen and press &#8220;Next&#8221; to save new configuration.</p>
<p>So, EMS password recovery is very simple, isn&#8217;t it?</p>
]]></content:encoded>
			<wfw:commentRss>http://tibcoadmin.com/tibco/ems/how-to-reset-tibco-ems-administrator-password/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 [...]]]></description>
			<content:encoded><![CDATA[<div class="plus-one-wrap"><g:plusone size="small" href="http://tibcoadmin.com/sun/solaris/how-to-add-solaris-10-server-into-ms-active-directory-domain/"></g:plusone></div><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>
]]></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>15</slash:comments>
		</item>
		<item>
		<title>Security advisories for TIBCO products</title>
		<link>http://tibcoadmin.com/tibco/security-advisories-for-tibco-products/</link>
		<comments>http://tibcoadmin.com/tibco/security-advisories-for-tibco-products/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 15:42:17 +0000</pubDate>
		<dc:creator>Serge</dc:creator>
				<category><![CDATA[tibco]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://tibcoadmin.com/?p=364</guid>
		<description><![CDATA[Yesterday TIBCO announced vulnerability in TIBCO Runtime Agent (TRA). To be more specific, in TIBCO Domain Utility (domainutility and domainutilitycmd). To say even more specifically, vulnerability is that the local users (whether they are on your server?) have read access to the properties files where administration domain credentials are stored. Not in clear text, by [...]]]></description>
			<content:encoded><![CDATA[<div class="plus-one-wrap"><g:plusone size="small" href="http://tibcoadmin.com/tibco/security-advisories-for-tibco-products/"></g:plusone></div><p>Yesterday TIBCO announced vulnerability in TIBCO Runtime Agent (TRA). To be more specific, in TIBCO Domain Utility (domainutility and domainutilitycmd). To say even more specifically, vulnerability is that the local users (whether they are on your server?) have read access to the properties files where administration domain credentials are stored. Not in clear text, by the way. <a href="http://www.tibco.com/multimedia/security_advisory_runtime_agent_20100113_tcm8-10392.txt">Here</a> is the advisory.</p>
<p><a href="http://www.tibco.com/services/support/advisories/advisory_all.jsp">Here</a> is the list of all security advisories for TIBCO products.</p>
<p>I like TIBCO.</p>
]]></content:encoded>
			<wfw:commentRss>http://tibcoadmin.com/tibco/security-advisories-for-tibco-products/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change admin password in TIBCO Administrator</title>
		<link>http://tibcoadmin.com/tibco/administrator/how-to-change-admin-password-in-tibco-administrator/</link>
		<comments>http://tibcoadmin.com/tibco/administrator/how-to-change-admin-password-in-tibco-administrator/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 19:09:27 +0000</pubDate>
		<dc:creator>Serge</dc:creator>
				<category><![CDATA[administrator]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tibco]]></category>

		<guid isPermaLink="false">http://tibcoadmin.com/?p=232</guid>
		<description><![CDATA[If you need to change password for admin user in TIBCO Administrator please keep in mind that it is not enough just to change the admin password from Administrator GUI. But whole procedure is not so complex. Always have full backup of Administrator configuration files and repository files or database! Change admin password in the [...]]]></description>
			<content:encoded><![CDATA[<div class="plus-one-wrap"><g:plusone size="small" href="http://tibcoadmin.com/tibco/administrator/how-to-change-admin-password-in-tibco-administrator/"></g:plusone></div><p>If you need to change password for admin user in TIBCO Administrator please keep in mind that it is not enough just to change the admin password from Administrator GUI. But whole procedure is not so complex. <a href="http://tibcoadmin.com/wp-content/uploads/2010/01/admin-pass-0.png"><img src="http://tibcoadmin.com/wp-content/uploads/2010/01/admin-pass-0-300x196.png" alt="" title="Update domain credentials in the DomainUtility" width="300" height="196" class="alignright size-medium wp-image-280" /></a></p>
<ol>
<li>Always have full backup of Administrator configuration files and repository files or database!</li>
<li>Change admin password in the Administrator GUI.</li>
<li>Start DomainUtility on each machine in the TIBCO Domain, select Server Settings => Update Domain Credentials and change password there or use domainutilitycmd and ChangeDomainCredentials.xml as a template.</li>
<li>Make sure that password has been changed in tibcoadmin_&lt;domain&gt;.tra file. Or you can put new password manually there like this <code>repo.securePassword=#!tibco</code> and use obfuscate utility to encrypt it.</li>
<li>Restart Administrator daemon and Hawk Agents everywhere in TIBCO domain.</li>
</ol>
<p>That&#8217;s all. But, if you change password in the Administrator GUI only, and Administrator service (on the Windows) or daemon (on the Unix) has been restarted as nothing is working as before, <a href="http://tibcoadmin.com/wp-content/uploads/2010/01/admin-pass-1.png"><img src="http://tibcoadmin.com/wp-content/uploads/2010/01/admin-pass-1-300x95.png" alt="" title="admin-pass-1" width="300" height="95" class="alignleft size-medium wp-image-274" /></a>then you can find picture like this on your screen when you try to login into Administrator. If your daemon has been started using nohup utility as mine, then you have a chance to find little more in the nohup.out file:<br />
<code>com.tibco.infra.repository.RepoSecurityException: Can not read policy domain for repository server HM : Failed in authentication.</code></p>
<p>If you start DomainUtility at this time and try to change password there, following error will appear. <a href="http://tibcoadmin.com/wp-content/uploads/2010/01/admin-pass-2.png"><img src="http://tibcoadmin.com/wp-content/uploads/2010/01/admin-pass-2-300x71.png" alt="" title="admin-pass-2" width="300" height="71" class="alignright size-medium wp-image-275" /></a></p>
<p>To solve this problem you need to disable security option in the tibcoadmin_&lt;domain&gt;.tra file<br />
<code>#repo.isSecurityEnabled=true<br />
repo.isSecurityEnabled=false</code><br />
then restart Administrator.</p>
<p>Now it is possible to continue the procedure from step 3: DomainUtility will work.  When password will be changed, you can enable security back in tra file. Do not forget to restart Administrator daemon and Hawk Agents everywhere in the domain!</p>
<p>After all, redeployment of all applications may be necessary.</p>
]]></content:encoded>
			<wfw:commentRss>http://tibcoadmin.com/tibco/administrator/how-to-change-admin-password-in-tibco-administrator/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

