Lines Matching refs:dn
87 char *dn; /* The saved dn from a successful search */
456 binddn = req->dn;
514 const char *dn = NULL;
590 &dn, &(req->vals));
636 req->dn = apr_pstrdup(r->pool, dn);
640 r->user = req->dn;
671 const char *dn = NULL;
683 sec->scope, sec->attributes, filtbuf, &dn, &(req->vals));
692 req->dn = apr_pstrdup(r->pool, dn);
757 if (req->dn == NULL || strlen(req->dn) == 0) {
776 result = util_ldap_cache_compare(r, ldc, sec->url, req->dn, sec->attribute, require);
798 result = util_ldap_cache_compare(r, ldc, sec->url, req->dn, sec->attribute, w);
923 if (req->dn == NULL || strlen(req->dn) == 0) {
960 sec->group_attrib_is_dn ? req->dn : req->user, t);
963 sec->group_attrib_is_dn ? req->dn : req->user);
996 sec->group_attrib_is_dn ? req->dn : req->user,
1087 "auth_ldap authorize: require dn: Can't evaluate expression: %s",
1094 if (req->dn == NULL || strlen(req->dn) == 0) {
1096 "auth_ldap authorize: require dn: user's DN has not "
1101 result = util_ldap_cache_comparedn(r, ldc, sec->url, req->dn, t, sec->compare_dn_on_server);
1106 "require dn: authorization successful");
1113 "require dn \"%s\": LDAP error [%s][%s]",
1120 "auth_ldap authorize dn: authorization denied for "
1184 if (req->dn == NULL || strlen(req->dn) == 0) {
1208 result = util_ldap_cache_compare(r, ldc, sec->url, req->dn, w, value);
1253 const char *dn = NULL;
1293 if (req->dn == NULL || strlen(req->dn) == 0) {
1324 sec->scope, sec->attributes, filtbuf, &dn, &(req->vals));
1326 /* Make sure that the filtered search returned the correct user dn */
1329 "auth_ldap authorize: checking dn match %s", dn);
1335 result = util_ldap_cache_comparedn(r, ldc, sec->url, req->dn, dn,
1385 const char *dn = NULL;
1418 sec->scope, sec->attributes, t, &dn, &vals);
1420 /* Make sure that the filtered search returned a single dn */
1421 if (result == LDAP_SUCCESS && dn) {
1769 "Set to 'on' to force auth_ldap to do DN compares (for the \"require dn\" "
1991 ap_register_auth_provider(p, AUTHZ_PROVIDER_GROUP, "ldap-dn",