]> git.sur5r.net Git - openldap/commitdiff
updateref should be allowed with syncrepl (without updatedn)
authorKurt Zeilenga <kurt@openldap.org>
Mon, 5 Apr 2004 23:08:24 +0000 (23:08 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 5 Apr 2004 23:08:24 +0000 (23:08 +0000)
servers/slapd/config.c

index 6bc90dcf46ee4a2ec8bcbd0880f9c556add80f84..3770917cce4ee08c2b6092f8db67134f43da9204 100644 (file)
@@ -2086,14 +2086,14 @@ read_config( const char *fname, int depth )
 #endif
                                return 1;
 
-                       } else if ( !be->be_update_ndn.bv_len ) {
+                       } else if ( !SLAP_SHADOW(be) ) {
 #ifdef NEW_LOGGING
                                LDAP_LOG( CONFIG, INFO, "%s: line %d: "
-                                       "updateref line must come after updatedn.\n",
+                                       "updateref line must come after syncrepl or updatedn.\n",
                                        fname, lineno , 0 );
 #else
                                Debug( LDAP_DEBUG_ANY, "%s: line %d: "
-                                       "updateref line must after updatedn.\n",
+                                       "updateref line must after syncrepl or updatedn.\n",
                                    fname, lineno, 0 );
 #endif
                                return 1;