Commit de998c35 authored by Howard Chu's avatar Howard Chu
Browse files

DirSync ctrl requires critical

parent a9bfce12
......@@ -104,7 +104,7 @@ ldap_create_dirsync_control(
flags, maxAttrCount, cookie, &value );
if ( ld->ld_errno == LDAP_SUCCESS ) {
ld->ld_errno = ldap_control_create( LDAP_CONTROL_X_DIRSYNC,
0, &value, 0, ctrlp );
1, &value, 0, ctrlp );
if ( ld->ld_errno != LDAP_SUCCESS ) {
LDAP_FREE( value.bv_val );
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment