ldap增加資訊報錯,請高手解決!(轉)
ldap增加資訊報錯,請高手解決!(轉)[@more@]ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
# extended LDIF
#
# LDAPv3
# base <> with scope base
# filter: (objectclass=*)
# requesting: namingContexts
#
#
dn:
namingContexts: dc=it,dc=com
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
ldapadd -D "cn=root" -W
Enter LDAP Password:
SASL/GSSAPI authentication started
ldap_sasl_interactive_bind_s: Local error (-2)
additional info: SASL(-1): generic failure: GSSAPI Error: Miscellaneous failure (No credentials cache found)
各位高手,是哪裡的問題呢?
slap.conf
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/corba.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/dyngroup.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/misc.schema
include /usr/local/etc/openldap/schema/openldap.schema
include /usr/local/etc/openldap/schema/nis.schema
include /usr/local/etc/openldap/schema/java.schema
pidfile /usr/local/var/run/slapd.pid
argsfile /usr/local/var/run/slapd.args
access to dn="." by * read
access to dn="cn=root" by * read
access to *
by self write
by users read
by anonymous auth
database bdb
suffix "dc=it,dc=com"
rootdn "cn=root,dc=it,dc=com"
rootpw {SSHA}3MaXwW6l7fcmTCWbji3/YdlrtW7vNTav
directory /usr/local/var/openldap-data
index objectClass eq
# extended LDIF
#
# LDAPv3
# base <> with scope base
# filter: (objectclass=*)
# requesting: namingContexts
#
#
dn:
namingContexts: dc=it,dc=com
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
ldapadd -D "cn=root" -W
Enter LDAP Password:
SASL/GSSAPI authentication started
ldap_sasl_interactive_bind_s: Local error (-2)
additional info: SASL(-1): generic failure: GSSAPI Error: Miscellaneous failure (No credentials cache found)
各位高手,是哪裡的問題呢?
slap.conf
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/corba.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/dyngroup.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/misc.schema
include /usr/local/etc/openldap/schema/openldap.schema
include /usr/local/etc/openldap/schema/nis.schema
include /usr/local/etc/openldap/schema/java.schema
pidfile /usr/local/var/run/slapd.pid
argsfile /usr/local/var/run/slapd.args
access to dn="." by * read
access to dn="cn=root" by * read
access to *
by self write
by users read
by anonymous auth
database bdb
suffix "dc=it,dc=com"
rootdn "cn=root,dc=it,dc=com"
rootpw {SSHA}3MaXwW6l7fcmTCWbji3/YdlrtW7vNTav
directory /usr/local/var/openldap-data
index objectClass eq
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10617542/viewspace-959186/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 安裝時提示錯誤,請高手幫忙解決一下
- standby上增加tempfile報錯ORA-00604,ORA-16000解決方法
- 請問這個報錯該怎麼解決,謝謝
- 奇怪報錯資訊“db already exists with different case already have”解決方法
- mybatis報錯解決MyBatis
- 解決eslint報錯EsLint
- 轉發 安裝 scount 的 es 驅動,報錯解決
- 解決 Ajax 表單請求驗證失敗報 422 錯誤
- SS報錯的解決
- iText中文,報錯解決
- supervisor使用報錯解決
- npm install 報錯解決NPM
- 報錯內容解決
- centos7騰訊雲uwsgi安裝報錯解決CentOS
- dbfread報錯ValueError錯誤解決方法Error
- Go-Micro客戶端請求報500錯誤的解決方法Go客戶端
- VSCode中Flow報錯解決VSCode
- Windows分割槽報錯解決Windows
- minio報錯SignatureDoesNotMatch解決方案
- hive使用報錯解決方法Hive
- 解決啟動openfeign報錯
- 解決angular 報錯 url unsafeAngular
- 解決fitz模組報錯
- [轉]Android Studio匯入工程報錯 Error:Cause: peer not authenticated 解決方案AndroidError
- 視訊轉碼解決方案
- 短影片開源原始碼,報錯資訊顯示ID重複的解決方案原始碼
- 記一次使用 Windows 除錯套件 gflags 解決 CefSharp 載入報錯資訊模糊的問題Windows除錯套件
- 請求介面報錯
- cnpm link 報錯解決辦法NPM
- Android Studio 報錯解決方案 一Android
- docker系列-報錯以及解決指南Docker
- 解決 Inkscape 報錯 Duplicate 問題
- electron npm install 報錯解決方案NPM
- Qt 解決報錯registered using qRegisterMetaType()QT
- zabbix-server is not running 報錯解決Server
- mongodb find報錯怎麼解決MongoDB
- linux 安裝 jupyter報錯解決Linux
- Django 報錯資訊總結Django
- 支付寶轉賬介面HTTP/2 stream 0 was not closed close cleanly報錯解決HTTP