publish updateref...

This commit is contained in:
Pierangelo Masarati 2005-05-21 14:54:11 +00:00
parent be53e82650
commit f505aec4bc
3 changed files with 13 additions and 0 deletions

View File

@ -121,6 +121,7 @@ typedef struct monitor_info_t {
AttributeDescription *mi_ad_monitorConnectionStartTime;
AttributeDescription *mi_ad_monitorConnectionActivityTime;
AttributeDescription *mi_ad_monitorIsShadow;
AttributeDescription *mi_ad_monitorUpdateRef;
/*
* Generic description attribute

View File

@ -247,6 +247,11 @@ monitor_subsys_database_init(
(void)init_readOnly( mi, e, be->be_restrictops );
(void)init_restrictedOperation( mi, e, be->be_restrictops );
if ( SLAP_SHADOW( be ) && be->be_update_refs ) {
attr_merge_normalize( e, mi->mi_ad_monitorUpdateRef,
be->be_update_refs, NULL );
}
if ( oi != NULL ) {
slap_overinst *on = oi->oi_list,
*on1 = on;

View File

@ -1166,6 +1166,13 @@ monitor_back_initialize(
"SINGLE-VALUE "
"USAGE directoryOperation )", SLAP_AT_HIDE,
offsetof(monitor_info_t, mi_ad_monitorIsShadow) },
{ "monitorUpdateRef", "( 1.3.6.1.4.1.4203.666.1.53 "
"NAME 'monitorUpdateRef' "
"DESC 'update referral for shadow databases' "
"SUP monitoredInfo "
"SINGLE-VALUE "
"USAGE directoryOperation )", SLAP_AT_HIDE,
offsetof(monitor_info_t, mi_ad_monitorUpdateRef) },
{ NULL, NULL, 0, -1 }
};