}
}
- if ( b->a_url_pat != NULL ) {
- Debug( LDAP_DEBUG_ARGS, "<= check a_url_pat: %s\n",
- b->a_url_pat, 0, 0 );
+ if ( b->a_sockurl_pat != NULL ) {
+ Debug( LDAP_DEBUG_ARGS, "<= check a_sockurl_pat: %s\n",
+ b->a_sockurl_pat, 0, 0 );
- if ( strcmp( b->a_url_pat, ".*" ) != 0 &&
- !regex_matches( b->a_url_pat, conn->c_listener_url,
+ if ( strcmp( b->a_sockurl_pat, ".*" ) != 0 &&
+ !regex_matches( b->a_sockurl_pat, conn->c_listener_url,
edn, matches ) )
{
continue;
continue;
}
- if ( strcasecmp( left, "url" ) == 0 ) {
- if( b->a_url_pat != NULL ) {
+ if ( strcasecmp( left, "sockurl" ) == 0 ) {
+ if( b->a_sockurl_pat != NULL ) {
fprintf( stderr,
- "%s: line %d: url pattern already specified.\n",
+ "%s: line %d: sockurl pattern already specified.\n",
fname, lineno );
acl_usage();
}
regtest(fname, lineno, right);
- b->a_url_pat = ch_strdup( right );
+ b->a_sockurl_pat = ch_strdup( right );
continue;
}
"<attrlist> ::= <attr> | <attr> , <attrlist>\n"
"<attr> ::= <attrname> | entry | children\n"
"<who> ::= [ * | anonymous | self | dn=<regex> ]\n"
- "\t[dnattr=<attrname>]\t"
+ "\t[dnattr=<attrname>]\n"
"\t[group[/<objectclass>[/<attrname>]]=<regex>]\n"
"\t[peername=<regex>] [sockname=<regex>]\n"
"\t[domain=<regex>] [sockurl=<regex>]\n"
fprintf( stderr, " domain=%s", b->a_domain_pat );
}
- if ( b->a_url_pat != NULL ) {
- fprintf( stderr, " url=%s", b->a_url_pat );
+ if ( b->a_sockurl_pat != NULL ) {
+ fprintf( stderr, " sockurl=%s", b->a_sockurl_pat );
}
fprintf( stderr, "\n" );