diff options
| author | Rich Megginson <rmeggins@redhat.com> | 2009-01-14 15:07:58 +0000 |
|---|---|---|
| committer | Rich Megginson <rmeggins@redhat.com> | 2009-01-14 15:07:58 +0000 |
| commit | b3799947308f45e3dac391bb73c09ecf359fdb92 (patch) | |
| tree | 037aabe2ebef7d5d7c19a5883594fc77a94bfb9e /ldap/servers/plugins/replication/repl_globals.c | |
| parent | d7d5d7f0ed55f5edbfa10a5911e8cbf44084e7ae (diff) | |
| download | ds-b3799947308f45e3dac391bb73c09ecf359fdb92.tar.gz ds-b3799947308f45e3dac391bb73c09ecf359fdb92.tar.xz ds-b3799947308f45e3dac391bb73c09ecf359fdb92.zip | |
Resolves: bug 222055
Bug Description: DirSync interval should be configurable
Reviewed by: nhosoi (Thanks!)
Fix Description: Added a new config attribute - winSyncInterval - this is how often to run the dirsync search, in seconds. The default is 600 (5 minutes) which was the old hard coded value. Due to the way it's coded, the change only takes effect when the agreement is created or restarted, so the value cannot really be dynamically changed.
Platforms tested: RHEL5
Flag Day: no
Doc impact: yes - document the new attribute
Diffstat (limited to 'ldap/servers/plugins/replication/repl_globals.c')
| -rw-r--r-- | ldap/servers/plugins/replication/repl_globals.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ldap/servers/plugins/replication/repl_globals.c b/ldap/servers/plugins/replication/repl_globals.c index 48329fc4..ed7f801c 100644 --- a/ldap/servers/plugins/replication/repl_globals.c +++ b/ldap/servers/plugins/replication/repl_globals.c @@ -126,13 +126,14 @@ const char *type_nsds5ReplicaTimeout = "nsds5ReplicaTimeout"; const char *type_nsds5ReplicaBusyWaitTime = "nsds5ReplicaBusyWaitTime"; const char *type_nsds5ReplicaSessionPauseTime = "nsds5ReplicaSessionPauseTime"; -/* windows sync specifica attributes */ +/* windows sync specific attributes */ const char *type_nsds7WindowsReplicaArea = "nsds7WindowsReplicaSubtree"; const char *type_nsds7DirectoryReplicaArea = "nsds7DirectoryReplicaSubtree"; const char *type_nsds7CreateNewUsers = "nsds7NewWinUserSyncEnabled"; const char *type_nsds7CreateNewGroups = "nsds7NewWinGroupSyncEnabled"; const char *type_nsds7WindowsDomain = "nsds7WindowsDomain"; const char *type_nsds7DirsyncCookie = "nsds7DirsyncCookie"; +const char *type_winSyncInterval = "winSyncInterval"; /* To Allow Consumer Initialisation when adding an agreement - */ const char *type_nsds5BeginReplicaRefresh = "nsds5BeginReplicaRefresh"; |
