- 論壇徽章:
- 0
|
重新安裝openldap成功,數(shù)據(jù)也可以添加.但當(dāng)我使用如下查詢進(jìn)行測試時:
ldapsearch -x -b 'dc=lib,dc=com'時,總是報錯,信息為:
ldapsearch: invalid option -- x
usage: ldapsearch [options] filter [attributes...]
where:
filter RFC-1558 compliant LDAP search filter
attributes whitespace-separated list of attributes to retrieve
(if no attribute list is given, all are retrieved)
options:
-n show what would be done but don't actually search
......//以下是一些參數(shù)及其說明,但沒有參數(shù)x和X.而在man ldapsearch中有
我用ldapadd命令也存在同樣問題,只有去掉-x參數(shù)才能add成功.x是簡單認(rèn)證,而我在slapd.conf中也采用了默認(rèn)的明文rootpw.請問這是什么原因造成的?謝謝! |
|