How can I Query/Update Novell eDirectory using Oracle PL/SQL Procedure?

Posted on 2008-01-25
Medium Priority
Last Modified: 2013-12-19

What is the best way to query/update Novell eDirectory using an Oracle PL/SQL procedure? I have an Oracle database with up-to-date employee status/location/contact information that I would like to synchronize with Novell eDirectory/GroupWise. I'm looking for an automated data push from Oracle to eDir. The Oracle database is running on an Intel/RedHat box and the eDirectory is running on a Novell server. I have full admin access to the database, but I don't have physical access to the eDirectory server. Just the ability to query/update via LDAP.

We don't use OID, so I'm thinking the best way would be to write an Oracle procedure to query/update Novell eDirectory using LDAP services. What about Novell IDM / DirXML or DBMS_LDAP?

Is this the best way to go? Any suggestions or site/software/reading recommendations?

Thanks and take care,
Question by:shaynegw
  • 2
LVL 35

Assisted Solution

ShineOn earned 75 total points
ID: 20746496
"A Novell server" tells us nothing.  That's like saying "on a Microsoft server" or "on an IBM server."

Please, what version/SP of NetWare or OES are you running, just so we aren't talking about capabilities you don't have?

Of course, if they won't give you anything but LDAP access, that's moot.   Have you checked to see if you _can_ make changes via LDAP?  I'd think it would have to be an authenticated, probably LDAPS (port 636, IIRC) connection in order for the LDAP service to permit any update to eDirectory.  There are alternative tools that also might work, like JDBC for example.  That might let you use a PL/SQL procedure, if you can attach eDirectory as a foreign database through JDBC.  I don't know if it *can* be done, I'm just thinking "out loud."

Once you have a clear understanding of what connectivity and level of authorization you're going to be able to squeeze from the NW Admins, use the resources at the Novell Developernet Wiki: http://developer.novell.com/wiki/index.php/Developer_Home


Author Comment

ID: 20746685

Our eDirectory services run under Netware v6.5 SP6 on a Dell/Intel server. Our source database is Oracle v10.2 running under RHEL ES 4, also on a Dell/Intel server.

Take care,
LVL 34

Accepted Solution

PsiCop earned 225 total points
ID: 20754309
I'm not sure you can *natively*. If OraclePL/SQL has an LDAP library, then I'd use that.

You *can* interact natively with eDirectory using Perl on NetWare. See this AppNote --> http://www.novell.com/coolsolutions/appnote/17230.html

You *can* make changes via the LDAP interface. You can do whatever the eDirectory Object you use to authenticate to the LDAP connection can do. There are a *few* limitations when using the LDAP interface - I don't recall them specifically, but I do recall there were a handful of things that you could not do via LDAP, only via a native connection.
LVL 34

Expert Comment

ID: 20754313
Note, that's Perl on *NetWare*. The necessary Perl modules to *natively* interact with eDirectory were released on NetWare. I've inquired with Novell and apparently they have no plans to release them on Linux. Don't ask me why, I don't understand it. Perl scripts on Linux, including OES-Linux, must use LDAP to interact with eDirectory.

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
Among the most obnoxious of Exchange errors is error 1216 – Attached Database Mismatch error of the Jet Database Engine. When faced with this error, users may have to suffer from mailbox inaccessibility and in worst situations, permanent data loss.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…
Suggested Courses

598 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question