If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Password From Ldap

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-05-09, 01:05
ratheeshnellikkal ratheeshnellikkal is offline
Registered User
 
Join Date: Mar 2009
Posts: 5
Question Password From Ldap

Hi All,

I have to create a db2 stored procedure, which intended to get the password for a user name from the LDAP directory.

But i have only less idea on LDAP plug ins.
I am using db2 9.5 on AIX 5.3.

So any one can please help me to get the password for the user name from LDAP directory? where user name will be the input parameter to the procedure.

Thanks in advance.

Ratheesh Nellikkal
Reply With Quote
  #2 (permalink)  
Old 05-05-09, 09:38
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
This has nothing to do with the LDAP plugin. You need to write a generic (presumably Java) stored procedure. Google will help you find plenty of tutorials on how to access LDAP from Java.
Reply With Quote
  #3 (permalink)  
Old 05-06-09, 03:32
ratheeshnellikkal ratheeshnellikkal is offline
Registered User
 
Join Date: Mar 2009
Posts: 5
Exclamation

Quote:
Originally Posted by n_i
This has nothing to do with the LDAP plugin. You need to write a generic (presumably Java) stored procedure. Google will help you find plenty of tutorials on how to access LDAP from Java.


Hi,
Thanks for your suggestion Nick.
I can do that in java stored procedure and use it as a external stored procedure in db2.


I am currently in a data migration project , in which i am converting the oracle stored procedure in to db2 stored procedures.

One stored procedure is already there in oracle which gets the password from LDAP by utilizing some oracle packages like
DBMS_LDAP , so i thought some alternatives should be there in db2 too...


Looking forward to hearing from you friends..
Thanks in advance.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On