mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Reject slapadd -w if not supported (partial ITS#3979 fix)
This commit is contained in:
parent
a18543d1ff
commit
4faa77f440
@ -74,7 +74,11 @@ slapadd( int argc, char **argv )
|
||||
|
||||
if( !be->be_entry_open ||
|
||||
!be->be_entry_close ||
|
||||
!be->be_entry_put )
|
||||
!be->be_entry_put ||
|
||||
(update_ctxcsn &&
|
||||
(!be->be_dn2id_get ||
|
||||
!be->be_id2entry_get ||
|
||||
!be->be_entry_modify)) )
|
||||
{
|
||||
fprintf( stderr, "%s: database doesn't support necessary operations.\n",
|
||||
progname );
|
||||
|
Loading…
Reference in New Issue
Block a user