[Pdns-users] Status of the LDAP backend in 3.0 release

Christopher Wood christopher_wood at pobox.com
Mon May 16 21:22:21 UTC 2011


I must be dull or have a short attention span as I couldn't get 2193 to compile in CentOS5. Worked just fine in Debian Squeeze though.

I also confirm that I see logs in syslog in local time.

Is there anything else that I can test while I have this working? I don't actually have 3500 Euros under the sofa cushions, but I too would like the ldap backend to PowerDNS to continue.

On Mon, May 16, 2011 at 03:19:18PM +0200, Ralf van der Enden wrote:
> Hi Nick,
> 
> You need to use the --with-boost= option with ./configure and tell
> it where to find the includes and libraries (.ie
> --with-boost=/usr/local)
> 
> Best regards,
> 
> Ralf
> 
> On 16-5-2011 15:10, Nick Milas wrote:
> >On 16/5/2011 12:50 μμ, Imre Gergely wrote:
> >
> >>
> >>I think you need boost >=1.34, the default version in CentOS 5
> >>is not enough.
> >>
> >>
> >
> >Thank you. I thought "103400" meant v1.03.4 but it seems you are
> >right, it obviously means v1.34.
> >
> >So, I installed (from the EPEL repo) packages boost141 and
> >boost141-devel and compilation went better, but it still stops
> >later:
> >
> ># CXXFLAGS=-I/usr/include/boost141 ./configure
> >--with-modules="gmysql ldap"
> >...
> >checking for Boost headers version >= 103400... yes
> >checking for Boost's header version... BOOST_LIB_VERSION
> >configure: error: invalid value: boost_major_version=BOOSTLIB
> >
> >It seems I should declare more flags, and I don't know how.
> >
> >In the end, I decided and used packages boost-*-1.39.0-9.el5 from
> >the atrpms repo and after that (I also had to install
> >openldap-devel), configure finished OK. But make now has problems:
> >
> >smysql.cc: In constructor \u2018SMySQL::SMySQL(const string&,
> >const string&, uint16_t, const string&, const string&, const
> >string&)\u2019:
> >smysql.cc:22: error: cannot convert \u2018unsigned int*\u2019 to
> >\u2018const char*\u2019 for argument \u20183\u2019 to \u2018int
> >mysql_options(MYSQL*, mysql_option, const char*)\u2019
> >smysql.cc:23: error: cannot convert \u2018unsigned int*\u2019 to
> >\u2018const char*\u2019 for argument \u20183\u2019 to \u2018int
> >mysql_options(MYSQL*, mysql_option, const char*)\u2019
> >make[3]: *** [smysql.lo] Error 1
> >make[3]: Leaving directory
> >`/root/pdns-2193/pdns-3.0-rc2.20110514.2193/modules/gmysqlbackend'
> >make[2]: *** [all-recursive] Error 1
> >make[2]: Leaving directory
> >`/root/pdns-2193/pdns-3.0-rc2.20110514.2193/modules'
> >make[1]: *** [all-recursive] Error 1
> >make[1]: Leaving directory `/root/pdns-2193/pdns-3.0-rc2.20110514.2193'
> >make: *** [all] Error 2
> >
> >However I managed to compile/make/install using ldap only:
> >
> >   ./configure --with-modules="ldap"
> >
> >and now pdns works fine with ldap backend:
> >
> >May 16 15:44:33 vdev pdns[15898]: PowerDNS 3.0-rc2.20110514.2193
> >(C) 2001-2011 PowerDNS.COM BV (May 16 2011, 14:46:45, gcc 4.1.2
> >20080704 (Red Hat 4.1.2-50)) starting up
> >
> >Did some tests with queryperf and some AXFRs too. No errors and
> >Ticket 313 is handled (logging time by ldap backend is correct
> >local time).
> >
> >Anyone can tell me how to "make" including gmyslq backend?
> >
> >Nick
> >
> >
> >_______________________________________________
> >Pdns-users mailing list
> >Pdns-users at mailman.powerdns.com
> >http://mailman.powerdns.com/mailman/listinfo/pdns-users
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users



More information about the Pdns-users mailing list