[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#4076) rewriteContext bindDN not work



Full_Name: Reinin Oyama
Version: 2.3.10
OS: Fedora Core 3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (211.8.239.130)


rewriteContext bindDN not work in slapd-relay.
It shows 'Invalid credentials' all the time.
And a strange error appears, such as
bdb_dn2entry("uid=test_ooyama,ou=auth1,dc=hasiru,dc=net")
=> bdb_dn2id(",ou=auth1,dc=hasiru,dc=net")
<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30990)
My rewrite rule is
rewriteContext  bindDN
rewriteRule "^(.+,)ou=samba1,dc=hasiru,dc=net$"
            "$1ou=auth1,dc=hasiru,dc=net"
            ":"