Using OpenLDAP 2.4.18: Anytime I try to put something/anything in the attribute olcAuthIDRewrite for dn: cn=config I get:
conn=1 op=8 MOD dn="cn=config" conn=1 op=8 MOD attr=olcAuthIDRewrite conn=1 op=8 RESULT tag=103 err=80 text=<olcAuthIDRewrite> handler exited with 1
Am I putting in the wrong data? I've tried all sorts of combinations, even simply: {0}authid-rewriteEngine "on"
I can't seem to find much documentation on the whole thing either.
Thanks for any pointers.
Willie
--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
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
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 make 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"?)
Thanks!
Willie
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
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc
Zimbra :: the leader in open source messaging and collaboration
--On Friday, November 20, 2009 7:16 PM -0700 Willie Gillespie wgillespie@es2eng.com wrote:
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
You want
cvs -z3 checkout -P -rOPENLDAP_REL_ENG_2_4 ldap
:)
That will give you the current 2.4 CVS tree.
Thanks!
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Quanah Gibson-Mount wrote:
You want
cvs -z3 checkout -P -rOPENLDAP_REL_ENG_2_4 ldap
Thanks for the tips.
cvs -z3 checkout -P -rOPENLDAP_REL_ENG_2_4 ldap cd ldap ./configure --enable-spasswd --enable-modules --enable-rwm --enable-sssvlv --enable-rewrite --enable-crypt make depend make sudo make install sudo /usr/local/libexec/slapd -F /etc/ldap/slapd.d/ -h 'ldap:/// ldapi:///' -u openldap -g openldap
conn=0 op=7 MOD dn="cn=config" conn=0 op=7 MOD attr=olcAuthIDRewrite conn=0 op=7 RESULT tag=103 err=80 text=<olcAuthIDRewrite> handler exited with 1
Same error as before when modifying olcAuthIDRewrite. Any other thoughts?
Willie
--On Friday, November 20, 2009 7:39 PM -0700 Willie Gillespie wgillespie@es2eng.com wrote:
Quanah Gibson-Mount wrote:
You want
cvs -z3 checkout -P -rOPENLDAP_REL_ENG_2_4 ldap
Thanks for the tips.
cvs -z3 checkout -P -rOPENLDAP_REL_ENG_2_4 ldap cd ldap ./configure --enable-spasswd --enable-modules --enable-rwm --enable-sssvlv --enable-rewrite --enable-crypt make depend make sudo make install sudo /usr/local/libexec/slapd -F /etc/ldap/slapd.d/ -h 'ldap:/// ldapi:///' -u openldap -g openldap
conn=0 op=7 MOD dn="cn=config" conn=0 op=7 MOD attr=olcAuthIDRewrite conn=0 op=7 RESULT tag=103 err=80 text=<olcAuthIDRewrite> handler exited with 1
Same error as before when modifying olcAuthIDRewrite. Any other thoughts?
File a bug at:
:)
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Quanah Gibson-Mount wrote:
Same error as before when modifying olcAuthIDRewrite. Any other thoughts?
File a bug at:
:)
--Quanah
Done. It is ITS#6392 for any who find their way to this thread in the future.
Thanks for your help, Quanah.
Willie
--On Friday, November 20, 2009 8:24 PM -0700 Willie Gillespie wgillespie@es2eng.com wrote:
Quanah Gibson-Mount wrote:
Same error as before when modifying olcAuthIDRewrite. Any other thoughts?
File a bug at:
:)
--Quanah
Done. It is ITS#6392 for any who find their way to this thread in the future.
Thanks for your help, Quanah.
Thanks for filing it! Hopefully it can be resolved by the next release.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org