mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ATTRSONLY doesn't take a value (ITS#4146, #4266)
This commit is contained in:
parent
3517bdf260
commit
e6f624b48a
@ -2822,8 +2822,8 @@ parse_syncrepl_line(
|
||||
Debug( LDAP_DEBUG_ANY, "%s: %s.\n", c->log, c->msg, 0 );
|
||||
return -1;
|
||||
}
|
||||
} else if ( !strncasecmp( c->argv[ i ], ATTRSONLYSTR "=",
|
||||
STRLENOF( ATTRSONLYSTR "=" ) ) )
|
||||
} else if ( !strncasecmp( c->argv[ i ], ATTRSONLYSTR,
|
||||
STRLENOF( ATTRSONLYSTR ) ) )
|
||||
{
|
||||
si->si_attrsonly = 1;
|
||||
} else if ( !strncasecmp( c->argv[ i ], ATTRSSTR "=",
|
||||
@ -3218,7 +3218,7 @@ syncrepl_unparse( syncinfo_t *si, struct berval *bv )
|
||||
}
|
||||
}
|
||||
if ( si->si_attrsonly ) {
|
||||
ptr = lutil_strcopy( ptr, " " ATTRSONLYSTR "=yes" );
|
||||
ptr = lutil_strcopy( ptr, " " ATTRSONLYSTR );
|
||||
}
|
||||
if ( si->si_anfile ) {
|
||||
ptr = lutil_strcopy( ptr, " " ATTRSSTR "=:include:" );
|
||||
|
Loading…
Reference in New Issue
Block a user