[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: OpenLDAP & bdb transactions
- To: Howard Chu <hyc@symas.com>
- Subject: Re: OpenLDAP & bdb transactions
- From: Lia Tarta <marty3400@yahoo.com>
- Date: Mon, 25 Apr 2005 23:48:15 -0700 (PDT)
- Cc: OpenLDAP-software@OpenLDAP.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=TofUsgyPPA3mTzRTP+u7g+B9O79ngpfYGRUar8ly6RVRAu0pVkbV1uN68V+Xa4hFk6ivJ6Klf6FGNm7nBYDlvMgj/LIfDOH4N5urtBB/v9j9+dH6BJA5/E9A1MYssLXGaXOkbNPkt1hBxlgcy9Aq3lycS0e13Gj0jmHKl9rltWs= ;
- In-reply-to: 6667
Thanks for the reply.
Unfortunately, the provided solution is not an option
for me.
I have found this RFC:
LDAP: Grouping of Related Operations
<draft-zeilenga-ldap-grouping-06.txt>
and I am wondering if I could use grouped operations
for my application. Actually, the question is: when
performing 2 grouped operations, does OpenLDAP perform
them within a single bdb transaction, or in separate
transactions?
I am asking that because I figure that Openldap opens
a bdb transaction, for example, when it performs a
ldapadd operation.
Thanks
--- Howard Chu <hyc@symas.com> wrote:
> Lia Tarta wrote:
>
> >Hello
> >As I understand, OpenLDAP does not support
> >transactions in its current version. However, the
> bdb
> >backend is said to be transactional. My question
> is,
> >how do I use these transactions for bdb? Is there
> any
> >way of performing a transactional operation that
> makes
> >2 calls (e.g.: to ADD calls) to OpenLDAP?
> >Thanks
> >
> Not directly. back-bdb uses transactions within a
> single operation, to
> maintain the consistency of all the indices
> associated with a single
> entry. You still need a higher level control layer
> to enforce
> transactions across multiple operations. You could
> write an overlay to
> provide some form of transactional LDAP features, it
> doesn't need to be
> implemented in the backend itself. Of course, it
> would require a fair
> amount of effort to provide all of the
> recoverability features that one
> expects from a transactional system.
>
> --
> -- Howard Chu
> Chief Architect, Symas Corp. Director,
> Highland Sun
> http://www.symas.com
> http://highlandsun.com/hyc
> Symas: Premier OpenSource Development and Support
>
>
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/