资源简介
Linux(centos)下的Apache安装压缩包:httpd-2.2.34.tar.gz,结合我的博客http://blog.csdn.net/jing12062011/article/details/76850284使用,留存一下便于以后搭建系统用
代码片段和文件信息
/* 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_
- 上一篇:Ansoft Rmxprt12 使用指南
- 下一篇:大漠7.1830
相关资源
- apache-tomcat-5.5.15.tar.gz
- rtl8188eu_USB_linux.tar.gz
- 操作系统设计与实现PDF
- hdf5 Linux下的安装包 以及make文件
- Linux内核源代码情景分析(上下全册高
- centos7离线安装vim
- centos6.9重装yum软件包及步骤
- Realtek瑞昱 rtl8188cus linux驱动
- JMail操作详解apache-james-2.3.2.zip
- 软件调试的艺术
- Ubuntu Linux 指南
- 一个通用的线程池实现代码(Windows
- linux下串口监控的方法和工具
- Linux基于Live555获取rstp实时264视频流并
- apache-james-2.3.2.zip
- apache tomcat 7.0
- yocto 超详细教程,看完必会搭建linu
- 25000Linux集群完整版去后门生成器.ra
- 鸟哥的Linux私房菜基础学习篇第四版
- Linux系统下的数码相框
- Linux二进制分析
-
Stream Processing with Apache Fli
nk - fcitx.tar.gz
- 华为4G模块Linux驱动
- 嵌入式LINUX计算器的实现
- 系统性能优化(第二版)
- 最权威的Linux BASH Shell 编程中文官方文
- linux内核技术手册中文版
- olsrd-0.6.4.1源码
- 2019Linux运维入门课程:基于centos7.6讲
评论
共有 条评论