DB2-Client and LDAP 
Author Message
 DB2-Client and LDAP

Hi all,

we save our db informations in a ldap directory. I can set ldap options with the
db2set command. But how can I configure the db2 client for more than one ldap
directory server? Because what happens, if the one isn't available.

A lot of thanks in advance,
Sebastian von Swiontek

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mit freundlichen Gruessen / Kind regards

Sebastian von Swiontek

talicom GmbH                    Tel.  : +49 511 123599-16
Calenberger Esplanade 3         Fax.  : +49 511 123599-11
D-30169 Hannover                Mobil : +49 172 5185548
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Sat, 07 Aug 2004 02:57:28 GMT
 DB2-Client and LDAP

Quote:
> Because what happens, if the one isn't available?

Use LDAP replication to ensure that there is always an LDAP server
available, and use DNS to "publish" them. For example, with the Microsoft
Active Directory, you set up multiple DCs in the domain (dcpromo on multiple
Windows 2000 servers). Oher LDAP servers have similar functionality. [You
didn't mention which you were using].



Quote:
> Hi all,

> we save our db informations in a ldap directory. I can set ldap options
with the
> db2set command. But how can I configure the db2 client for more than one
ldap
> directory server? Because what happens, if the one isn't available.

> A lot of thanks in advance,
> Sebastian von Swiontek

> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Mit freundlichen Gruessen / Kind regards

> Sebastian von Swiontek

> talicom GmbH                    Tel.  : +49 511 123599-16
> Calenberger Esplanade 3         Fax.  : +49 511 123599-11
> D-30169 Hannover                Mobil : +49 172 5185548
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Sat, 07 Aug 2004 14:41:40 GMT
 DB2-Client and LDAP
Heyya,

thanks to Mark, but sorry, we do not use ADS. We use two IBM SecureWay Directory
Server in an UNIX environment. And sure, both are "published" in DNS.

Now we have to configure the DB2 clients to ask the master LDAP server for db2
informations. But if the master isn't available because of whatever, the db2
clients have to ask the secondaray LDAP server. But I can set up by "db2set
DB2LDAPHOST={host}" only one hostname. Are there any other possibilites?

Thanks in advance,
Sebastian

Quote:

> > Because what happens, if the one isn't available?

> Use LDAP replication to ensure that there is always an LDAP server
> available, and use DNS to "publish" them. For example, with the Microsoft
> Active Directory, you set up multiple DCs in the domain (dcpromo on multiple
> Windows 2000 servers). Oher LDAP servers have similar functionality. [You
> didn't mention which you were using].



> > Hi all,

> > we save our db informations in a ldap directory. I can set ldap options
> with the
> > db2set command. But how can I configure the db2 client for more than one
> ldap
> > directory server? Because what happens, if the one isn't available.

> > A lot of thanks in advance,
> > Sebastian von Swiontek

> > --
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Mit freundlichen Gruessen / Kind regards

> > Sebastian von Swiontek

> > talicom GmbH                    Tel.  : +49 511 123599-16
> > Calenberger Esplanade 3         Fax.  : +49 511 123599-11
> > D-30169 Hannover                Mobil : +49 172 5185548
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mit freundlichen Gruessen / Kind regards

Sebastian von Swiontek

talicom GmbH                    Tel.  : +49 511 123599-16
Calenberger Esplanade 3         Fax.  : +49 511 123599-11
D-30169 Hannover                Mobil : +49 172 5185548
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Tue, 10 Aug 2004 19:22:45 GMT
 DB2-Client and LDAP
As I said: "Other LDAP servers have similar functionality." IBM Secureway
does offer such support; we have it in production on AIX. You may need to
use the IBM LDAP client. Details are in the DB2 Admin Guide appendix Q for
IBM SecureWay V3.1.

Note however, that the DB2LDAPHOST variable is _only_ required on Unix
systems (DB2 Admin Guide appendix Q), and is itself, a workaround for a
platform-specific restriction. In other words, if your client is on Unix,
then yes, you may have the problem you describe, and there is no resolution
for that platform (the Unix platform is unable to locate the LDAP directory
dynamically). You haven't specified your platform.



Quote:
> Heyya,

> thanks to Mark, but sorry, we do not use ADS. We use two IBM SecureWay
Directory
> Server in an UNIX environment. And sure, both are "published" in DNS.

> Now we have to configure the DB2 clients to ask the master LDAP server for
db2
> informations. But if the master isn't available because of whatever, the
db2
> clients have to ask the secondaray LDAP server. But I can set up by
"db2set
> DB2LDAPHOST={host}" only one hostname. Are there any other possibilites?

> Thanks in advance,
> Sebastian


> > > Because what happens, if the one isn't available?

> > Use LDAP replication to ensure that there is always an LDAP server
> > available, and use DNS to "publish" them. For example, with the
Microsoft
> > Active Directory, you set up multiple DCs in the domain (dcpromo on
multiple
> > Windows 2000 servers). Oher LDAP servers have similar functionality.
[You
> > didn't mention which you were using].



> > > Hi all,

> > > we save our db informations in a ldap directory. I can set ldap
options
> > with the
> > > db2set command. But how can I configure the db2 client for more than
one
> > ldap
> > > directory server? Because what happens, if the one isn't available.

> > > A lot of thanks in advance,
> > > Sebastian von Swiontek

> > > --
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > Mit freundlichen Gruessen / Kind regards

> > > Sebastian von Swiontek

> > > talicom GmbH                    Tel.  : +49 511 123599-16
> > > Calenberger Esplanade 3         Fax.  : +49 511 123599-11
> > > D-30169 Hannover                Mobil : +49 172 5185548
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Mit freundlichen Gruessen / Kind regards

> Sebastian von Swiontek

> talicom GmbH                    Tel.  : +49 511 123599-16
> Calenberger Esplanade 3         Fax.  : +49 511 123599-11
> D-30169 Hannover                Mobil : +49 172 5185548
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Thu, 12 Aug 2004 17:28:39 GMT
 DB2-Client and LDAP
Thanks Mark.

We use the IBM SWD on Linux and a DB2-Cluster on AIX. The LDAP-Server is mainly
for our Windows and OS/2 DB2-Clients.  I installed a DB2 Runtime client on a
Windows system. I didn't installed the IBM SWD LDAP client. At the command line
processor I can enable the ldap query and it works. But I have to specify my
LDAP host. But you said the db2 clients can dynamically locate a LDAP Directory,
right? But how can I configure it?

We use the LDAP server to store Oracle DB informations too. I can configure the
Oracle clients with a list of available LDAP servers. Very simple. Why does not
the DB2 client provides such a similarly solution?

Thanks in advance,
Sebastian

Quote:

> As I said: "Other LDAP servers have similar functionality." IBM Secureway
> does offer such support; we have it in production on AIX. You may need to
> use the IBM LDAP client. Details are in the DB2 Admin Guide appendix Q for
> IBM SecureWay V3.1.

> Note however, that the DB2LDAPHOST variable is _only_ required on Unix
> systems (DB2 Admin Guide appendix Q), and is itself, a workaround for a
> platform-specific restriction. In other words, if your client is on Unix,
> then yes, you may have the problem you describe, and there is no resolution
> for that platform (the Unix platform is unable to locate the LDAP directory
> dynamically). You haven't specified your platform.



> > Heyya,

> > thanks to Mark, but sorry, we do not use ADS. We use two IBM SecureWay
> Directory
> > Server in an UNIX environment. And sure, both are "published" in DNS.

> > Now we have to configure the DB2 clients to ask the master LDAP server for
> db2
> > informations. But if the master isn't available because of whatever, the
> db2
> > clients have to ask the secondaray LDAP server. But I can set up by
> "db2set
> > DB2LDAPHOST={host}" only one hostname. Are there any other possibilites?

> > Thanks in advance,
> > Sebastian


> > > > Because what happens, if the one isn't available?

> > > Use LDAP replication to ensure that there is always an LDAP server
> > > available, and use DNS to "publish" them. For example, with the
> Microsoft
> > > Active Directory, you set up multiple DCs in the domain (dcpromo on
> multiple
> > > Windows 2000 servers). Oher LDAP servers have similar functionality.
> [You
> > > didn't mention which you were using].



> > > > Hi all,

> > > > we save our db informations in a ldap directory. I can set ldap
> options
> > > with the
> > > > db2set command. But how can I configure the db2 client for more than
> one
> > > ldap
> > > > directory server? Because what happens, if the one isn't available.

> > > > A lot of thanks in advance,
> > > > Sebastian von Swiontek

> > > > --
> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > Mit freundlichen Gruessen / Kind regards

> > > > Sebastian von Swiontek

> > > > talicom GmbH                    Tel.  : +49 511 123599-16
> > > > Calenberger Esplanade 3         Fax.  : +49 511 123599-11
> > > > D-30169 Hannover                Mobil : +49 172 5185548
> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

> > --
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Mit freundlichen Gruessen / Kind regards

> > Sebastian von Swiontek

> > talicom GmbH                    Tel.  : +49 511 123599-16
> > Calenberger Esplanade 3         Fax.  : +49 511 123599-11
> > D-30169 Hannover                Mobil : +49 172 5185548
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mit freundlichen Gruessen / Kind regards

Sebastian von Swiontek

talicom GmbH                    Tel.  : +49 511 123599-16
Calenberger Esplanade 3         Fax.  : +49 511 123599-11
D-30169 Hannover                Mobil : +49 172 5185548
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Fri, 13 Aug 2004 18:37:30 GMT
 DB2-Client and LDAP
I cannot answer questions of the "why don't IBM implement feature X in DB2
UDB?" I too can list a bunch of X's (e.g. package versioning), but I am not
privy to the design choices made by IBM.

For the answer to "how do I set up LDAP", I can only refer you again to the
DB2 Admin Guide Appendix Q. I would also point out that, by your own
admission, you didn't install the IBM SecureWay LDAP client, although the
DB2 Admin Guide tells you to do so.

Silly question: If your LDAP is mostly for WIndows and OS/2 clients, why
don't you make your life simpler and use Active Directory? For the Windows
clients things will be much easier.



Quote:
> Thanks Mark.

> We use the IBM SWD on Linux and a DB2-Cluster on AIX. The LDAP-Server is
mainly
> for our Windows and OS/2 DB2-Clients.  I installed a DB2 Runtime client on
a
> Windows system. I didn't installed the IBM SWD LDAP client. At the command
line
> processor I can enable the ldap query and it works. But I have to specify
my
> LDAP host. But you said the db2 clients can dynamically locate a LDAP
Directory,
> right? But how can I configure it?

> We use the LDAP server to store Oracle DB informations too. I can
configure the
> Oracle clients with a list of available LDAP servers. Very simple. Why
does not
> the DB2 client provides such a similarly solution?

> Thanks in advance,
> Sebastian


> > As I said: "Other LDAP servers have similar functionality." IBM
Secureway
> > does offer such support; we have it in production on AIX. You may need
to
> > use the IBM LDAP client. Details are in the DB2 Admin Guide appendix Q
for
> > IBM SecureWay V3.1.

> > Note however, that the DB2LDAPHOST variable is _only_ required on Unix
> > systems (DB2 Admin Guide appendix Q), and is itself, a workaround for a
> > platform-specific restriction. In other words, if your client is on
Unix,
> > then yes, you may have the problem you describe, and there is no
resolution
> > for that platform (the Unix platform is unable to locate the LDAP
directory
> > dynamically). You haven't specified your platform.



> > > Heyya,

> > > thanks to Mark, but sorry, we do not use ADS. We use two IBM SecureWay
> > Directory
> > > Server in an UNIX environment. And sure, both are "published" in DNS.

> > > Now we have to configure the DB2 clients to ask the master LDAP server
for
> > db2
> > > informations. But if the master isn't available because of whatever,
the
> > db2
> > > clients have to ask the secondaray LDAP server. But I can set up by
> > "db2set
> > > DB2LDAPHOST={host}" only one hostname. Are there any other
possibilites?

> > > Thanks in advance,
> > > Sebastian


> > > > > Because what happens, if the one isn't available?

> > > > Use LDAP replication to ensure that there is always an LDAP server
> > > > available, and use DNS to "publish" them. For example, with the
> > Microsoft
> > > > Active Directory, you set up multiple DCs in the domain (dcpromo on
> > multiple
> > > > Windows 2000 servers). Oher LDAP servers have similar functionality.
> > [You
> > > > didn't mention which you were using].



> > > > > Hi all,

> > > > > we save our db informations in a ldap directory. I can set ldap
> > options
> > > > with the
> > > > > db2set command. But how can I configure the db2 client for more
than
> > one
> > > > ldap
> > > > > directory server? Because what happens, if the one isn't
available.

> > > > > A lot of thanks in advance,
> > > > > Sebastian von Swiontek

> > > > > --
> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > > Mit freundlichen Gruessen / Kind regards

> > > > > Sebastian von Swiontek

> > > > > talicom GmbH                    Tel.  : +49 511 123599-16
> > > > > Calenberger Esplanade 3         Fax.  : +49 511 123599-11
> > > > > D-30169 Hannover                Mobil : +49 172 5185548
> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

> > > --
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > Mit freundlichen Gruessen / Kind regards

> > > Sebastian von Swiontek

> > > talicom GmbH                    Tel.  : +49 511 123599-16
> > > Calenberger Esplanade 3         Fax.  : +49 511 123599-11
> > > D-30169 Hannover                Mobil : +49 172 5185548
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Mit freundlichen Gruessen / Kind regards

> Sebastian von Swiontek

> talicom GmbH                    Tel.  : +49 511 123599-16
> Calenberger Esplanade 3         Fax.  : +49 511 123599-11
> D-30169 Hannover                Mobil : +49 172 5185548
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Sat, 14 Aug 2004 15:00:50 GMT
 
 [ 6 post ] 

 Relevant Pages 

1. CO-Denver Area-244818--LDAP-ORACLE-LDAP, Oracle LDAP, Oracle 8.1.5, Oracle LDAP Replication, Desing and config

2. REPOST: Re: db2 error in db2diag.log and LDAP crash

3. db2 and ldap

4. DB2 and LDAP

5. AS/400 DB2 and LDAP

6. db2 error in db2diag.log and LDAP crash

7. LDAP-DB2

8. DB2 objectclasses for LDAP...?

9. db2 node and db infos in ldap

10. DB2 and LDAP

11. IBM LDAP for Solaris needs DB2 purchase?

12. applications connect to db2 without db2 client?


 
Powered by phpBB® Forum Software