Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
33516fa9
Commit
33516fa9
authored
Feb 18, 2002
by
Kurt Zeilenga
Browse files
#ifdef ACI/authpasswd schema
parent
348e489b
Changes
2
Hide whitespace changes
Inline
Side-by-side
servers/slapd/schema_init.c
View file @
33516fa9
...
...
@@ -64,8 +64,12 @@
#define protocolInformationMatch NULL
#define integerFirstComponentMatch NULL
#ifdef SLAPD_ACI_ENABLED
#define OpenLDAPaciMatch NULL
#endif
#ifdef SLAPD_AUTHPASSWD
#define authPasswordMatch NULL
#endif
/* recycled indexing/filtering routines */
#define dnIndexer caseExactIgnoreIndexer
...
...
@@ -4264,10 +4268,12 @@ static struct syntax_defs_rec {
#endif
/* OpenLDAP Experimental Syntaxes */
#ifdef SLAPD_ACI_ENABLED
{
"( 1.3.6.1.4.1.4203.666.2.1 DESC 'OpenLDAP Experimental ACI' )"
,
SLAP_SYNTAX_HIDE
,
UTF8StringValidate
/* THIS WILL CHANGE FOR NEW ACI SYNTAX */
,
NULL
,
NULL
},
#endif
#ifdef SLAPD_AUTHPASSWD
/* needs updating */
...
...
@@ -4580,12 +4586,14 @@ static struct mrule_defs_rec {
NULL
},
#endif
#ifdef SLAPD_ACI_ENABLED
{
"( 1.3.6.1.4.1.4203.666.4.2 NAME 'OpenLDAPaciMatch' "
"SYNTAX 1.3.6.1.4.1.4203.666.2.1 )"
,
SLAP_MR_EQUALITY
,
NULL
,
NULL
,
OpenLDAPaciMatch
,
NULL
,
NULL
,
NULL
},
#endif
{
"( 1.2.840.113556.1.4.803 NAME 'integerBitAndMatch' "
"SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )"
,
...
...
servers/slapd/slap.h
View file @
33516fa9
...
...
@@ -136,7 +136,10 @@ LDAP_BEGIN_DECL
#define SLAPD_ROLE_ATTR "roleOccupant"
#define SLAPD_ROLE_CLASS "organizationalRole"
#ifdef SLAPD_ACI_ENABLED
#define SLAPD_ACI_SYNTAX "1.3.6.1.4.1.4203.666.2.1"
#endif
#define SLAPD_OCTETSTRING_SYNTAX "1.3.6.1.4.1.1466.115.121.1.40"
/* change this to "OpenLDAPset" */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment