On 2/8/05 1:56, Mike Whitaker <[EMAIL PROTECTED]> wrote:

> ...and fully expecting the answer 'you can't, Mike'.
> 
> I have two Net::LDAP::Entry's, which I would like, if possible, to
> call $entry->update without something being able to sneak in the gap
> between them and grab out of sync data.
> 
> Any suggestions? My current horrid hack idea is to convert 'em to
> LDIF and spawn ldapadd :)

You can't do it. Your horrid hack won't work either, because it just ends up
sending two add operations in protocol.

I think there are some (expired) internet drafts around which describe how
to implement transactions, but you'll have to look quite hard for servers
which implement them :-(

Cheers,

Chris


Reply via email to