求助:怎么找不到slapd.conf这个配置文件呢?[已解决]

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
inzed
帖子: 6
注册时间: 2009-10-06 17:21

求助:怎么找不到slapd.conf这个配置文件呢?[已解决]

#1

帖子 inzed » 2009-10-06 17:34

:em21 如题。
系统:Ubuntu server 9.04
安装命令:sudo aptitude install slapd和sudo aptitude install ldap-utils
就是找不到slapd.conf文件,用find / -name slapd.conf这个命令也找不到正确的,难道要自己创建?不像啊,我找到的文章都没说要创建啊。

先说下题外话,刚才我明明回了两次贴了。怎么看不到呢?算了,写简略点吧。
没人回答,就用google搜索,搜索到这个帖子:http://www.linuxquestions.org/questions ... nf-721784/
直到六楼,才明白。
看来不能害怕E文,其实我自己看技术性的E文,猜都能猜个七八,再用词典,没什么好害怕的。
上次由 inzed 在 2009-10-07 17:01,总共编辑 2 次。
inzed
帖子: 6
注册时间: 2009-10-06 17:21

Re: 求助:怎么找不到slapd.conf这个配置文件呢?

#2

帖子 inzed » 2009-10-07 16:51

等了一天,没人回答,没办法了,自己用google搜索:slapd.conf create,只搜索英文网页,搜索到一个帖子:
http://www.linuxquestions.org/questions ... nf-721784/
硬着头皮看我不怎么熟悉的E文,看到六楼时,才知道方向:https://help.ubuntu.com/8.10/serverg...ap-server.html,这才是真的正确的Ubuntu9.04安装openldap的方法,虽然是E文。

说到这里,我也疑惑,就没多少中国人用Ubuntu9.04安装openldap吗?或者到了寻找slapd.conf文件这个步骤时放弃了?看来要学linux,就不能害怕E文!!!!!!!!!!不管了,先把这个网址收藏起来:
Ubuntu Server Guide: https://help.ubuntu.com/9.04/serverguide/C/index.html
inzed
帖子: 6
注册时间: 2009-10-06 17:21

Re: 求助:怎么找不到slapd.conf这个配置文件呢?[已解决]

#3

帖子 inzed » 2009-10-07 17:00

先说下题外话,刚才我明明回了贴了。怎么看不到呢?算了,再写一个,简略点吧。
没人回答,就用google搜索,搜索到这个帖子:http://www.linuxquestions.org/questions ... nf-721784/
直到六楼,才明白。
看来不能害怕E文,其实我自己看技术性的E文,猜都能猜个七八,再用词典,没什么好害怕的。
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46

Re: 求助:怎么找不到slapd.conf这个配置文件呢?[已解决]

#4

帖子 hcym » 2009-10-07 17:21

:em21

发那么多啊

删的手抽筋
inzed
帖子: 6
注册时间: 2009-10-06 17:21

Re: 求助:怎么找不到slapd.conf这个配置文件呢?[已解决]

#5

帖子 inzed » 2009-10-09 16:34

对不起,我也不知道怎么回事,发表了就是看不到,我正纳闷呢,怎么回贴了就是看不到跟帖,到后来,编辑主题后,竟然看不到帖子,我以为见鬼了?!!!!!!!!!!今天一来,没想到又看到了,斑竹不要以为我发水帖啊。
pengbo
帖子: 2
注册时间: 2009-10-09 22:53

Re: 求助:怎么找不到slapd.conf这个配置文件呢?[已解决]

#6

帖子 pengbo » 2009-10-09 22:55

请你说到详细一点!
我正在用UBUNTU9 来安装LDAP, 发现来相同到问题 我找到你说到网页 , 没有看到什么有用信息 。
能够给我QQ 或者 详细到 讲解下 安装 过程?
谢谢!!!!
pengbo
帖子: 2
注册时间: 2009-10-09 22:53

Re: 求助:怎么找不到slapd.conf这个配置文件呢?[已解决]

#7

帖子 pengbo » 2009-10-09 22:59

我没有解决这个问题 !
请给个 联系方式!! 谢谢!!
QQ 或者 详细到讲解下!
inzed
帖子: 6
注册时间: 2009-10-06 17:21

Re: 求助:怎么找不到slapd.conf这个配置文件呢?[已解决]

#8

帖子 inzed » 2009-10-10 9:39

在Ubuntu9.04里自动安装LDAP没有slapd.conf(好象8.10之后的也没有),配置都是写入数据库的,简单的设置是一个图形界面的程序,输入sudo dpkg-reconfigure slapd就会弹出一个图形界面。我也没有完全装完,问题多多,郁闷。
大家都在学,交流交流!我的q是810611871,但是我不常开,最好还是发邮件:inzed@163.com.
yzhkpli
帖子: 113
注册时间: 2008-11-20 15:08

Re: 求助:怎么找不到slapd.conf这个配置文件呢?[已解决]

#9

帖子 yzhkpli » 2011-03-25 0:16

受教了!果然是没有。
8.10 uses the new openldap configuration(http://www.ubuntu.com/getubuntu/rele...n=config%27%27)

openldap is moving to storing its configuration in and ldap backend. It will no longer use the single file slapd.conf.

Right now I have not been able to find much documentation on this new configuration. If you want you can still use the old method. You just have to create a slapd.conf file. Then change the file /etc/default/slapd. Point the var: SLAPD_CONF to your slapd.conf
回复