资源简介
httpd-2.2.16.tar.gz
代码片段和文件信息
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License Version 2.0
* (the “License“); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an “AS IS“ BASIS
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include “ap_provider.h“
#include “httpd.h“
#include “http_config.h“
#include “http_core.h“
#include “http_log.h“
#include “http_protocol.h“
#include “http_request.h“
#include “util_ldap.h“
#include “mod_auth.h“
#include “apr_strings.h“
#include “apr_xlate.h“
#define APR_WANT_STRFUNC
#include “apr_want.h“
#include “apr_lib.h“
#if APR_HAVE_UNISTD_H
/* for getpid() */
#include
#endif
#include
#if !APR_HAS_LDAP
#error mod_authnz_ldap requires APR-util to have LDAP support built in. To fix add --with-ldap to ./configure.
#endif
typedef struct {
apr_pool_t *pool; /* Pool that this config is allocated from */
#if APR_HAS_THREADS
apr_thread_mutex_t *lock; /* Lock for this config */
#endif
int auth_authoritative; /* Is this auth method the one and only? */
/* int authz_enabled; Is ldap authorization enabled in this directory? */
/* These parameters are all derived from the AuthLDAPURL directive */
char *url; /* String representation of the URL */
char *host; /* Name of the LDAP server (or space separated list) */
int port; /* Port of the LDAP server */
char *basedn; /* base DN to do all searches from */
char *attribute; /* Attribute to search for */
char **attributes; /* Array of all the attributes to return */
int scope; /* Scope of the search */
char *filter; /* Filter to further limit the search */
deref_options deref; /* how to handle alias dereferening */
char *binddn; /* DN to bind to server (can be NULL) */
char *bindpw; /* Password to bind to server (can be NULL) */
int bind_authoritative; /* If true will return errors when bind fails */
int user_is_dn; /* If true connection->user is DN instead of userid */
char *remote_user_attribute; /* If set connection->user is this attribute instead of userid */
int compare_dn_on_server; /* If true will use server to do DN compare */
int have_
- 上一篇:2路VL53L0X测距.zip
- 下一篇:Zdanmaku.unitypackage
相关资源
- apache-tomcat-6.0.16
- org.apache.struts缺少所需包
- apache-ant-1.9.2-bin.tar.gz
- apache-tomcat-6.0.29.zip
- Linuxcentos下的Apache安装压缩包:httpd
- apache-tomcat-5.5.15.tar.gz
- JMail操作详解apache-james-2.3.2.zip
- apache-james-2.3.2.zip
- apache tomcat 7.0
-
Stream Processing with Apache Fli
nk - apache-tomcat-6
- apache-tomcat-7.0.29.tar.gz
- apache-hadoop-3.1.0-winutils-master本地开发调
- Apache Nifi 概念介绍、源码解析、开发
- apache 2.2
- apache-ant-1.9.1-bin.tar.gz
- Apache2.2.15
- Getting Started with Apache OFBiz Manufacturin
- apache httpd 权威指南第三版
- mbedtls-2.16.5-apache.tgz
- Apache pdfbox chm 官方帮助文档
- Apache Hive Essentials-Packt Publishing(2015)
- apache commons-lang API chm版
- Apache FTPServer的配置与使用&API
- Apache_Spark_Graph_Processing
- org.apache.tools.ant
- apache-hadoop-3.1.0-winutils-master.zip
- Apache Kafka Cookbook(PACKT2015)
- apache-maven-3.3.9.rar
- apache-tomcat-8.0.30.tar.gz
评论
共有 条评论