Add octetString syntax to undefined attribute type

This commit is contained in:
Kurt Zeilenga 2000-07-02 17:50:18 +00:00
parent b1172dc5ac
commit 2eb664f481
2 changed files with 8 additions and 0 deletions

View File

@ -256,6 +256,12 @@ schema_prep( void )
}
}
slap_at_undefined.sat_syntax = syn_find( SLAPD_OCTETSTRING_SYNTAX );
if( slap_at_undefined.sat_syntax == NULL ) {
fprintf( stderr,
"No octetString syntax \"" SLAPD_OCTETSTRING_SYNTAX "\"\n" );
return LDAP_INVALID_SYNTAX;
}
slap_schema.si_at_undefined = &slap_at_undefined;
++schema_init_done;

View File

@ -107,6 +107,8 @@ LDAP_BEGIN_DECL
#define SLAPD_ACI_SYNTAX "1.3.6.1.4.1.4203.666.2.1"
#define SLAPD_ACI_ATTR "OpenLDAPaci"
#define SLAPD_OCTETSTRING_SYNTAX "1.3.6.1.4.1.1466.115.121.1.40"
/* change this to "OpenLDAPset" */
#define SLAPD_ACI_SET_ATTR "template"