4
我使用的是Ubuntu 10.4服務器,我試圖將OpenLDAP配置爲SVN和其他服務的身份驗證協議。但我不明白如何ldap的作品,並設置了一個示例配置後,我試圖填充它沒有成功。這是錯誤:OpenLDAP配置錯誤ldap_bind:無效的憑據(49)
ldap_bind: Invalid credentials (49)
這似乎是示例配置問題,更確切地說與管理配置。不過,我嘗試使用加密密碼更改它,但沒有得到任何結果。代碼配置波紋管
# Load modules for database type
dn: cn=module,cn=config
objectclass: olcModuleList
cn: module
olcModuleLoad: back_bdb.la
# Create directory database
dn: olcDatabase=bdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcBdbConfig
olcDatabase: bdb
# Domain name (e.g. home.local)
olcSuffix: dc=home,dc=local
# Location on system where database is stored
olcDbDirectory: /var/lib/ldap
# Manager of the database
olcRootDN: cn=admin,dc=home,dc=local
olcRootPW: admin
# Indices in database to speed up searches
olcDbIndex: uid pres,eq
olcDbIndex: cn,sn,mail pres,eq,approx,sub
olcDbIndex: objectClass eq
# Allow users to change their own password
# Allow anonymous to authenciate against the password
# Allow admin to change anyone's password
olcAccess: to attrs=userPassword
by self write
by anonymous auth
by dn.base="cn=admin,dc=home,dc=local" write
by * none
# Allow users to change their own record
# Allow anyone to read directory
olcAccess: to *
by self write
by dn.base="cn=admin,dc=home,dc=local" write
by * read