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

Re: olcAuthIDRewrite

Well, I just had my first experience with cvs, so I hope I did this correctly (using bash on Ubuntu):

export CVSROOT=:pserver:anonymous@cvs.OpenLDAP.org:/repo/OpenLDAP
cvs login
cvs -z3 checkout -P -rOPENLDAP_RELEASE ldap
cd ldap
./configure (gave an error: could not locate libtool ltdl.h)
sudo apt-get install libltdl-dev
./configure (gave an error: BDB/HDB: BerkeleyDB not available)
sudo apt-get install libdb4.7-dev
./configure (gave an error: Could not locate Cyrus SASL)
sudo apt-get install libsasl2-dev
make depend
sudo apt-get autoremove slapd (need to remove my older version)
sudo make install
It didn't seem to install it quite where I am used to, but I was able to get it running with: sudo /usr/local/libexec/slapd -F /etc/ldap/slapd.d/ -h 'ldap:/// ldapi:///' -u openldap -g openldap

I still get the same error when I try and put anything into olcAuthIDRewrite. Here's a snippet from the full debugging output during the command.

oc_check_allowed type "modifyTimestamp"
[slapd:0] unknown command ''
olcAuthIDRewrite: value #0: <olcAuthIDRewrite> handler exited with 1!
send_ldap_result: conn=0 op=7 p=3
send_ldap_result: err=80 matched="" text="<olcAuthIDRewrite> handler exited with 1"
send_ldap_response: msgid=8 tag=103 err=80

Any other thoughts? Did I even test the version that you wanted me to? I've never used cvs before today -- so I don't even know if I did that right. (Also, is there a proper way to do something like "make remove" -- opposite of "make install"?)



Quanah Gibson-Mount wrote:
--On Friday, November 20, 2009 1:05 AM -0700 Willie Gillespie <wgillespie@es2eng.com> wrote:

Using OpenLDAP 2.4.18:

Can you try with current RE24 CVS?



Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration