Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3285297
  • 博文数量: 815
  • 博客积分: 12898
  • 博客等级: 上将
  • 技术积分: 7883
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-25 09:57
文章分类

全部博文(815)

文章存档

2014年(1)

2011年(46)

2010年(192)

2009年(121)

2008年(70)

2007年(385)

分类:

2007-10-14 00:45:48

openldap log:
Oct 14 08:36:42 mail slapd[24028]: slapd stopped.
Oct 14 08:36:42 mail slapd[24028]: connections_destroy: nothing to destroy.
注意:
OpenLDAP 的数据目录的权限设置

# chown -R _openldap:_openldap /var/openldap-data
# chmod -R 700 /var/openldap-data
# ldapsearch -x -D 'cn=Manager,dc=atyu30,dc=com' -b 'dc=atyu30,dc=com' -W
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

添加区域后,却查询不到
检查database directory属主及权限
# chown -R _openldap:_openldap /var/openldap-data
# chmod -R 700 /var/openldap-data


# ldapsearch -x -D 'cn=Manager,dc=atyu30,dc=com' -b 'dc=atyu30,dc=com' -W
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# atyu30.com
dn: dc=atyu30,dc=com
objectClass: dcObject
objectClass: organization
dc: atyu30
o: atyu30

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
至此表示添加区域成功


阅读(2964) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~