]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9823 Move to a place that is better associated with accesslog
authorOndřej Kuzník <ondra@mistotebe.net>
Tue, 30 Jan 2024 14:56:11 +0000 (14:56 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 15 Feb 2024 17:55:05 +0000 (17:55 +0000)
servers/slapd/overlays/syncprov.c

index 5504c9743d56d0d2389bf2fc9bb8c8216a1b9916..7f7419d702152c2c7ce5080ca98b1012f92c7750 100644 (file)
@@ -3864,14 +3864,14 @@ sp_cf_gen(ConfigArgs *c)
                break;
        case SP_NOPRES:
                si->si_nopres = c->value_int;
-               break;
-       case SP_USEHINT:
-               si->si_usehint = c->value_int;
-               if ( si->si_usehint ) {
+               if ( si->si_nopres ) {
                        /* Consider we might be a delta provider, but it's ok if not */
                        (void)syncprov_setup_accesslog();
                }
                break;
+       case SP_USEHINT:
+               si->si_usehint = c->value_int;
+               break;
        case SP_LOGDB:
                if ( si->si_logs ) {
                        Debug( LDAP_DEBUG_ANY, "syncprov_config: while configuring "