From 5b0236f4aed4126693823ac8dc103e4b3e93f3ac Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 13 Dec 2003 23:41:44 +0000 Subject: [PATCH] Add u: comment --- servers/slapd/saslauthz.c | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/servers/slapd/saslauthz.c b/servers/slapd/saslauthz.c index f914fbfdda..8eb69e8318 100644 --- a/servers/slapd/saslauthz.c +++ b/servers/slapd/saslauthz.c @@ -35,12 +35,10 @@ #define LDAP_X_SCOPE_SUBTREE ((ber_int_t) 0x0040) /* - * IDs in DN form can now have a type specifier, that influences - * how they are used in related operations. + * IDs in DNauthzid form can now have a type specifier, that + * influences how they are used in related operations. * - * syntax: - * - * dn[.{exact|regex}]: + * syntax: dn[.{exact|regex}]: * * dn.exact: the value must pass normalization and is used * in exact DN match. @@ -52,13 +50,22 @@ * it is not normalized nor validated; it is used * in exact or regex comparisons based on the * context. + * + * IDs in DNauthzid form can now have a type specifier, that + * influences how they are used in related operations. + * + * syntax: u[.mech[/realm]]: + * + * where mech is a SIMPLE, AUTHZ, or a SASL mechanism name + * and realm is mechanism specific realm (separate to those + * which are representable as part of the principal). */ typedef struct sasl_regexp { - char *sr_match; /* regexp match pattern */ - char *sr_replace; /* regexp replace pattern */ - regex_t sr_workspace; /* workspace for regexp engine */ - int sr_offset[SASLREGEX_REPLACE+2]; /* offsets of $1,$2... in *replace */ + char *sr_match; /* regexp match pattern */ + char *sr_replace; /* regexp replace pattern */ + regex_t sr_workspace; /* workspace for regexp engine */ + int sr_offset[SASLREGEX_REPLACE+2]; /* offsets of $1,$2... in *replace */ } SaslRegexp_t; static int nSaslRegexp = 0; -- 2.39.5