Re: [Fedora-directory-devel] How to configure new Backend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eswar S wrote:
Thank you for Replay. As per FAQ I need to write my own plug-in for storing
ldap entries into mssql/oracle database.
I have seen slapi to write Server plug-in and examples provided at
/opt/fedora-ds/plugins/slapd/slapi/examples. But I am not finding sample
code for writing plug-in for Backend databases.
Is there any sample code for writing plug-in for backend database?
I would suggest starting here - http://directory.fedora.redhat.com/wiki/Plugins

For a pure backend database plugin, your best bet would be to start with the source code for the chaining database (which is an LDAP backend).
http://cvs.fedora.redhat.com/viewcvs/ldapserver/ldap/servers/plugins/chainingdb/?root=dirsec

However, for your purposes, you might find it easier to write a data interoperability plugin. We had a Netscape customer who did this very same thing - write a data interop plugin which put an LDAP frontend on their Oracle backend database (really just a simple LDAP<->SQL converter) - and, in case you were wondering, no, the code is proprietary to that particular customer (this was a few years ago). There are some examples for data interop here - http://cvs.fedora.redhat.com/viewcvs/ldapserver/ldap/servers/slapd/test-plugins/?root=dirsec
I am referring this link to write  plug-in.
http://www.redhat.com/docs/manuals/dir-server/plugin/7.1/pluginTOC.html

Thank you Eswar S
****************************************************************************
****************************
 This e-mail and attachments contain confidential information from HUAWEI,
which is intended only for the person or entity whose address is listed
above. Any use of the information contained herein in any way (including,
but not limited to, total or partial disclosure, reproduction, or
dissemination) by persons other than the intended recipient's) is
prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

Date: Mon, 05 Mar 2007 08:39:45 -0700
From: Richard Megginson <rmeggins@xxxxxxxxxx>
Subject: Re: [Fedora-directory-devel] How to configure new Backend
	database
To: "Fedora Directory server developer discussion."
	<fedora-directory-devel@xxxxxxxxxx>
Message-ID: <45EC39C1.2050306@xxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

Eswar S wrote:
Hi
I have configured my fedora LDAP with LDBM (as Default Installation) on
Red
Hat machine. If I wanted to change my backed database. How can I change? Means how can I change to msSql /oracle/BDB..........
http://directory.fedora.redhat.com/wiki/FAQ#Can_I_replace_Sleepycat_with_Ora
cle.2C_or_Postgres.2C_etc..3F
I observed that we need to add an entry under config tree of Fedora-ds
with plug-in xxxx.so file with initialize function name.
But for other database what is that xxxxxxx.so file and corresponding
Function name??

I am posting same second time ...... Please help me to configure fedora-ds 7.1 ldap.

Regards,
Eswar S
--
Fedora-directory-devel mailing list
Fedora-directory-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
Url :
https://www.redhat.com/archives/fedora-directory-devel/attachments/20070305/
15a75bc4/smime.bin

------------------------------

--
Fedora-directory-devel mailing list
Fedora-directory-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-devel


End of Fedora-directory-devel Digest, Vol 21, Issue 5
*****************************************************


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-devel mailing list
Fedora-directory-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-devel

[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux