免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123下一页
最近访问板块 发新帖
查看: 12274 | 回复: 24
打印 上一主题 下一主题

[ldap] 装apache的认证模块mod_auth_ldap [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-05-14 14:39 |只看该作者 |正序浏览
小弟最近在安装apache的认证模块mod_auth_ldap,可是怎么都装不上.
我先是下了rpm的包,有两个版本mod_auth_ldap-2.4.1-1.i386.rpm和mod_auth_ldap2-2.12-1.i386.rpm.这两个版本我都安装过,mod_auth_ldap-2.4.1-1.i386.rpm安装后启动apache时的提示错误是undefind....ap_... ! mod_auth_ldap2-2.12-1.i386.rpm 安装后启动apache时的提示错误是apache的版本太低! 然后我就下了高版本的apache. httpd-2.0.49-1.i386.rpm,但是又装不上,我又下了httpd-2.0.49.tar.gz,这个版本在安装时可以加上--enable mod_auth_ldap 这个参数,可是安装后没有这个模块!

我用./configure --with-activate --with-apxs=/usr/sbin/apxs --with-ldap --enable-ldap --enable-auth-ldap
make
make install


libtool: install: warning: `modules/aaa/mod_access.la' has not been installed in
`/usr/local/apache2/modules'
libtool: install: warning: `modules/aaa/mod_auth.la' has not been installed in `
/usr/local/apache2/modules'
libtool: install: warning: `modules/filters/mod_include.la' has not been install
ed in `/usr/local/apache2/modules'
libtool: install: warning: `modules/loggers/mod_log_config.la' has not been inst
alled in `/usr/local/apache2/modules'
libtool: install: warning: `modules/metadata/mod_env.la' has not been installed
in `/usr/local/apache2/modules'
libtool: install: warning: `modules/metadata/mod_setenvif.la' has not been insta
lled in `/usr/local/apache2/modules'
libtool: install: warning: `modules/http/mod_mime.la' has not been installed in
`/usr/local/apache2/modules'
libtool: install: warning: `modules/generators/mod_status.la' has not been insta
lled in `/usr/local/apache2/modules'
libtool: install: warning: `modules/generators/mod_autoindex.la' has not been in
stalled in `/usr/local/apache2/modules'
libtool: install: warning: `modules/generators/mod_asis.la' has not been install
ed in `/usr/local/apache2/modules'
libtool: install: warning: `modules/generators/mod_cgi.la' has not been installe
d in `/usr/local/apache2/modules'
libtool: install: warning: `modules/mappers/mod_negotiation.la' has not been ins
talled in `/usr/local/apache2/modules'
libtool: install: warning: `modules/mappers/mod_dir.la' has not been installed i
n `/usr/local/apache2/modules'
libtool: install: warning: `modules/mappers/mod_imap.la' has not been installed
in `/usr/local/apache2/modules'
libtool: install: warning: `modules/mappers/mod_actions.la' has not been install
ed in `/usr/local/apache2/modules'
libtool: install: warning: `modules/mappers/mod_userdir.la' has not been install
ed in `/usr/local/apache2/modules'
libtool: install: warning: `modules/mappers/mod_alias.la' has not been installed
in `/usr/local/apache2/modules'

我实在是太郁闷啦!请各位大虾帮忙啊!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

论坛徽章:
0
25 [报告]
发表于 2007-08-14 18:24 |只看该作者
无语!!!!!!!!!!

[ 本帖最后由 cnchun 于 2007-8-14 18:28 编辑 ]

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
24 [报告]
发表于 2007-08-11 21:49 |只看该作者
原帖由 beejood 于 2007-8-10 12:56 发表
我的还不行

这都是哪年的帖子了,有问题重新开新贴吧

论坛徽章:
0
23 [报告]
发表于 2007-08-10 12:56 |只看该作者

回复 #1 sevensun 的帖子

我的还不行

论坛徽章:
0
22 [报告]
发表于 2004-05-29 18:38 |只看该作者

装apache的认证模块mod_auth_ldap

谢谢!我已经做了!太感谢啦!!!

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
21 [报告]
发表于 2004-05-29 17:59 |只看该作者

装apache的认证模块mod_auth_ldap

实在抱歉,最近要写论文了,特别忙,没时间亲自调试一遍,你按照那页说明试试,等我这里完事了我一定做一遍试试

论坛徽章:
0
20 [报告]
发表于 2004-05-26 19:39 |只看该作者

装apache的认证模块mod_auth_ldap

用mod_auth_ldap来实现!!!我不知道!!
你能告诉我怎么写限制语句吗?怎么实现?
谢谢!!!

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
19 [报告]
发表于 2004-05-24 22:12 |只看该作者

装apache的认证模块mod_auth_ldap

首先,上传好象不是apache能控制的,要用ldap结合proftpd实现了(当然只用proftpd自己的也可以)。
下载,也就是访问某个目录的某个文件,这个可以用mod_auth_ldap来实现,另外mod_auth_ldap支持filter,把限制语句写清楚就可以了。

论坛徽章:
0
18 [报告]
发表于 2004-05-24 19:40 |只看该作者

装apache的认证模块mod_auth_ldap

我已经看过了!但是我不知道怎么授权给用户!比如说怎么让用户只能上传,不能下载,只能访问部分文件!我不知道用什么控制,怎么写!ACL怎么用我不知道!
请您指导!谢谢!

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
17 [报告]
发表于 2004-05-22 18:16 |只看该作者

装apache的认证模块mod_auth_ldap

恩,ACL也只能配合mod_auth_ldap模块来实现。

这里有你想要的东西,按照他说的如果有什么问题再贴出来
http://httpd.apache.org/docs-2.0/mod/mod_auth_ldap.html
  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP