Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > Oracle
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 13th, 2004, 10:38 AM
aas aas is offline
Authorized User
Join Date: Mar 2004
Location: Moscow, , Russia.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to aas
Default Need help to SSO&LDAP (Oracle 10g)

Hi all!

Who can help me:
1. how I can to get of any LDAP context from DB after connect?
2. how I can to identify of LDAP user and his LDAP-context?

We use are Oracle Application Server 10g and Oracle DB 10g.


  #2 (permalink)  
Old September 27th, 2004, 06:22 AM
Friend of Wrox
Join Date: Jul 2004
Location: , , India.
Posts: 345
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to gokul_blr Send a message via Yahoo to gokul_blr


Location and Naming of Files
tells you where to find the various files used in the directory integration profile and during synchronization.

Location and Names of Files

File File Name
Import DataFile $ORACLE_HOME/ldap/odi/data/import/Profile_Name.dat
Export Data File $ORACLE_HOME/ldap/odi/data/export/Profile_Name.dat
Additional Configuration Info $ORACLE_HOME/ldap/odi/conf /Profile_Name.cfg
Mapping Rules $ORACLE_HOME/ldap/odi/conf /Profile_Name.map

For example, the datafile name of the Oracle Human Resources connector is oraclehrprofile.dat.

Gokulan Ethiraj
  #3 (permalink)  
Old September 28th, 2004, 05:43 AM
aas aas is offline
Authorized User
Join Date: Mar 2004
Location: Moscow, , Russia.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to aas

2 gokul_blr

But We don't use a Java. We use PL/SQL and I want to get context with command SYS_CONTEXT().

  #4 (permalink)  
Old November 5th, 2004, 05:02 AM
Registered User
Join Date: Nov 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chensoft

Hello,I can use LDAP control user account log on,

  hr_session dbms_ldap.SESSION;
  retval PLS_INTEGER;
  unbind PLS_INTEGER;
  userdn VARCHAR2(256);
  userpasswd VARCHAR2(256);


  IF passwd IS NULL THEN
    RETURN 1;

  retval := 10;
----LDAP Server IP,Port
  hr_session := dbms_ldap.init('','389');

  userdn := 'uid=' || username || ',ou=sinomosaccounts,ou=people,dc=sinomos,dc=com';

  retval := DBMS_LDAP.simple_bind_s(hr_session,userdn,passwd);
  unbind := dbms_ldap.unbind_s(hr_session);
  RETURN retval;

   DBMS_OUTPUT.PUT_LINE(' Error code : ' || TO_CHAR(SQLCODE));
   DBMS_OUTPUT.PUT_LINE(' Error Message : ' || SQLERRM);
   RETURN 1;
END Checkcred;

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 Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to connect to ORACLE 10g Express Edition using matrixbegins Struts 1 June 22nd, 2009 05:38 AM
Java Class in Oracle Form 10g mmrz Oracle 0 August 19th, 2007 12:35 AM
Oracle 10g and ASP.NET Krishnakant Oracle ASP 1 February 20th, 2006 09:06 AM
C#, Negative Infinity, and Oracle 10g lost C# 0 January 17th, 2006 06:45 PM
Conectivity with oracle 10g Database mistry_bhavin ASP.NET 1.x and 2.0 Application Design 0 August 2nd, 2005 12:28 PM

All times are GMT -4. The time now is 02:41 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.