Issue 5069 - SyncRepl on request
Summary: SyncRepl on request
Status: VERIFIED SUSPENDED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-01 21:53 UTC by hadmut@danisch.de
Modified: 2021-08-03 17:59 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description hadmut@danisch.de 2007-08-01 21:53:21 UTC
Full_Name: Hadmut Danisch
Version: 2.3.35
OS: linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (85.180.64.215)


This is an enhancement request:

When having a distributed LDAP structure with a master and several SyncRepl
clients, the clients can do the SyncRepl only on fixed refresh intervals (e.g.
type=refreshOnly,
interval=00:00:20:00)

However, there are many situations where this is inappropriate, e.g. on dial-on
connections, roaming notebooks, and things like that.

Therefore, slapd should have a client mode where the SyncRepl process is
performed only on request, but then immediately. There should be an external
trigger to pull, e.g. send a signal oder do a special LDAP request. slapd should
then start a SyncRepl.

E.g. this could be put in scripts run at connect-time (pppd provides that kind
of scripting), or when notebook autoconfiguration detects (e.g. with tools like
guessnet) that it is connected to the home network to update it's local slapd. 

regards
Hadmut




Comment 1 Buchan Milne 2007-08-03 10:16:02 UTC
On Wednesday 01 August 2007 23:53:22 hadmut@danisch.de wrote:
> Full_Name: Hadmut Danisch
> Version: 2.3.35
> OS: linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (85.180.64.215)
>
>
> This is an enhancement request:
>
> When having a distributed LDAP structure with a master and several SyncRepl
> clients, the clients can do the SyncRepl only on fixed refresh intervals
> (e.g. type=refreshOnly,
> interval=00:00:20:00)
>
> However, there are many situations where this is inappropriate, e.g. on
> dial-on connections, roaming notebooks, and things like that.
>
> Therefore, slapd should have a client mode where the SyncRepl process is
> performed only on request, but then immediately. There should be an
> external trigger to pull, e.g. send a signal oder do a special LDAP
> request. slapd should then start a SyncRepl.
>
> E.g. this could be put in scripts run at connect-time (pppd provides that
> kind of scripting), or when notebook autoconfiguration detects (e.g. with
> tools like guessnet) that it is connected to the home network to update
> it's local slapd.

While I'm not saying this feature should not be implemented, I note that there 
are other solutions for doing off-line authentication on (e.g.) laptops that 
don't expose the whole DIT (but only credentials that have already been used 
on the client).

Comment 2 ando@openldap.org 2007-08-06 11:47:51 UTC
changed notes
moved from Incoming to Software Enhancements
Comment 3 ando@openldap.org 2007-08-20 17:42:01 UTC
changed notes
Comment 4 ando@openldap.org 2007-09-12 19:52:08 UTC
changed notes
Comment 5 ando@openldap.org 2007-09-12 19:52:18 UTC
changed notes
changed state Open to Suspended
Comment 6 ando@openldap.org 2007-09-12 19:52:40 UTC
hadmut@danisch.de wrote:

> Therefore, slapd should have a client mode where the SyncRepl process is
> performed only on request, but then immediately. There should be an external
> trigger to pull, e.g. send a signal oder do a special LDAP request. slapd should
> then start a SyncRepl.

A simple approach to performing what require is to use back-config to
re-configure syncrepl for the consumer database; this should trigger an
immediate sync.  The trigger would then be a LDAPModify replace on the
olcSyncrepl attribute of the database entry.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it
---------------------------------------


Comment 7 OpenLDAP project 2014-08-01 21:04:52 UTC
syncrepl
enhancement request
use back-config?