<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://CMOD.wiki/index.php?action=history&amp;feed=atom&amp;title=DB2_with_SAMBA_winbind</id>
	<title>DB2 with SAMBA winbind - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://CMOD.wiki/index.php?action=history&amp;feed=atom&amp;title=DB2_with_SAMBA_winbind"/>
	<link rel="alternate" type="text/html" href="https://CMOD.wiki/index.php?title=DB2_with_SAMBA_winbind&amp;action=history"/>
	<updated>2026-04-18T12:14:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.0</generator>
	<entry>
		<id>https://CMOD.wiki/index.php?title=DB2_with_SAMBA_winbind&amp;diff=793&amp;oldid=prev</id>
		<title>Jderrick: Added link to article on DB2 &amp; SAMBA</title>
		<link rel="alternate" type="text/html" href="https://CMOD.wiki/index.php?title=DB2_with_SAMBA_winbind&amp;diff=793&amp;oldid=prev"/>
		<updated>2019-12-13T22:01:59Z</updated>

		<summary type="html">&lt;p&gt;Added link to article on DB2 &amp;amp; SAMBA&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:01, 13 December 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot;&gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;DB2 can be configured with 'Transparent' LDAP:  [http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.admin.sec.doc/doc/t0056291.html Configuring Transparent LDAP for Authentication and Group Lookup]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;DB2 can be configured with 'Transparent' LDAP:  [http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.admin.sec.doc/doc/t0056291.html Configuring Transparent LDAP for Authentication and Group Lookup]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[https://www.ibm.com/support/pages/does-db2-support-samba-winbind-authentication-linux DB2 SAMBA Winbind Authentication]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;After following the instructions for your specific platform, in the /etc/pam.d/db2 configuration file for your platform, change all references to &amp;lt;code&amp;gt;&amp;amp;nbsp;pam_ldap.so&amp;lt;/code&amp;gt;&amp;amp;nbsp;to &amp;lt;code&amp;gt;&amp;amp;nbsp;pam_winbind.so &amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;After following the instructions for your specific platform, in the /etc/pam.d/db2 configuration file for your platform, change all references to &amp;lt;code&amp;gt;&amp;amp;nbsp;pam_ldap.so&amp;lt;/code&amp;gt;&amp;amp;nbsp;to &amp;lt;code&amp;gt;&amp;amp;nbsp;pam_winbind.so &amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key cmodwiki:diff::1.12:old-556:rev-793 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jderrick</name></author>
	</entry>
	<entry>
		<id>https://CMOD.wiki/index.php?title=DB2_with_SAMBA_winbind&amp;diff=556&amp;oldid=prev</id>
		<title>Jderrick: Initial edit of IBM CMOD &amp; DB2 with winbind LDAP authentication.</title>
		<link rel="alternate" type="text/html" href="https://CMOD.wiki/index.php?title=DB2_with_SAMBA_winbind&amp;diff=556&amp;oldid=prev"/>
		<updated>2017-11-21T18:06:41Z</updated>

		<summary type="html">&lt;p&gt;Initial edit of IBM CMOD &amp;amp; DB2 with winbind LDAP authentication.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{TOCright}}&lt;br /&gt;
While technically unsupported, it is possible to configure DB2 to work with [https://www.samba.org/samba/what_is_samba.html SAMBA] [https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member Winbind] on UNIX operating systems.&lt;br /&gt;
&lt;br /&gt;
DB2 with winbind isn't explicitly supported:  [https://www-01.ibm.com/support/docview.wss?uid=swg21587206 IBM Technote: Does DB2 support Samba Winbind authentication from Linux?]  (This specific article is 3+ years old at the time this article was written.  A request to update it has been submitted.)&lt;br /&gt;
&lt;br /&gt;
If you're reading this article because you need to configure a Linux server with DB2 using SAMBA winbind for LDAP authentication, start with the [http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/winbind.html SAMBA winbind on Linux HOWTO document]&lt;br /&gt;
&lt;br /&gt;
==What were you doing?==&lt;br /&gt;
Probably trying to complete an IBM CMOD installation on a new machine with centralized authentication (using [[Glossary#Acronyms|LDAP]]) with the open-source SAMBA winbind library.  Alternatively, your organization may have tried to implement LDAP with SAMBA winbind on an existing OnDemand server, and now DB2 refuses to start.&lt;br /&gt;
&lt;br /&gt;
==Symptoms==&lt;br /&gt;
When issuing practically any DB2-related command-line utility like db2icrt, or commands inside DB2 like the 'start database manager' or 'activate database archive' as a prerequisite to start Content Manager OnDemand, the process hangs and doesn't return.&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
While the DB2 utility or command is still stuck, you can issue the &amp;lt;code&amp;gt;&amp;amp;nbsp;'ps -ef |grep winbind'&amp;lt;/code&amp;gt;  command to see if it's consuming a lot of CPU or Memory.&lt;br /&gt;
&lt;br /&gt;
If it is, then stop the winbind service by logging in as root, and issuing the following command:&lt;br /&gt;
&lt;br /&gt;
  service winbind stop&lt;br /&gt;
&lt;br /&gt;
If the IBM DB2 utility or command returns, then you need to configure your Linux server to use a Transparent LDAP proxy.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
&lt;br /&gt;
DB2 can be configured with 'Transparent' LDAP:  [http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.admin.sec.doc/doc/t0056291.html Configuring Transparent LDAP for Authentication and Group Lookup]&lt;br /&gt;
&lt;br /&gt;
After following the instructions for your specific platform, in the /etc/pam.d/db2 configuration file for your platform, change all references to &amp;lt;code&amp;gt;&amp;amp;nbsp;pam_ldap.so&amp;lt;/code&amp;gt;&amp;amp;nbsp;to &amp;lt;code&amp;gt;&amp;amp;nbsp;pam_winbind.so &amp;lt;/code&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Jderrick</name></author>
	</entry>
</feed>