mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Add supportedACIMechanisms to root DSE (when compiling with ACIs enabled).
This commit is contained in:
parent
d93ef01ac7
commit
6b23a78ac1
@ -75,7 +75,6 @@ root_dse_info( Connection *conn, Operation *op, char **attrs, int attrsonly )
|
||||
|
||||
/* supportedExtension */
|
||||
for ( i=0; (val.bv_val = get_supported_extension(i)) != NULL; i++ ) {
|
||||
val.bv_val = get_supported_extension(i);
|
||||
val.bv_len = strlen( val.bv_val );
|
||||
attr_merge( e, "supportedExtension", vals );
|
||||
}
|
||||
@ -97,6 +96,14 @@ root_dse_info( Connection *conn, Operation *op, char **attrs, int attrsonly )
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef SLAPD_ACI_ENABLED
|
||||
/* supportedACIMechanisms */
|
||||
for ( i=0; (val.bv_val = get_supported_acimech(i)) != NULL; i++ ) {
|
||||
val.bv_len = strlen( val.bv_val );
|
||||
attr_merge( e, "supportedACIMechanisms", vals );
|
||||
}
|
||||
#endif
|
||||
|
||||
if ( default_referral != NULL ) {
|
||||
attr_merge( e, "ref", default_referral );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user