[Pdns-dev] Re: PowerLDAP DN extension

bert hubert ahu at ds9a.nl
Sat Jul 5 16:03:01 CEST 2003


On Tue, Jul 01, 2003 at 05:18:05PM +0200, Norbert Sendetzky wrote:
Content-Description: clearsigned data
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Bert
> 
> The file attached contains a patch to extend the PowerLDAP class to 
> return DNs if necessary (required for the LDAP AXFR patch which will 
> be coming soon).

This patch doesn't compile here:
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -D_GNU_SOURCE -Wall -O2 -c
ldapbackend.cc -MT ldapbackend.lo -MD -MP -MF .deps/ldapbackend.TPlo  -fPIC
-DPIC -o .libs/ldapbackend.lo
ldapbackend.cc: In member function irtual bool 
   LdapBackend::get(DNSResourceRecord&)':
ldapbackend.cc:221: no matching function for call to
owerLDAP::getSearchEntry
   (int&, std::map<std::string, std::vector<std::string, 
   std::allocator<std::string> >, std::less<std::string>, 
   std::allocator<std::pair<const std::string, std::vector<std::string, 
   std::allocator<std::string> > > > >&)'
powerldap.hh:37: candidates are: bool PowerLDAP::getSearchEntry(int, 
   std::map<std::string, std::vector<std::string,
std::allocator<std::string> 
   >, std::less<std::string>, std::allocator<std::pair<const std::string, 
   std::vector<std::string, std::allocator<std::string> > > > >&, bool)

I committed your patch to cvs, you could perhaps fix it from there?



> 
> 
> Norbert
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iEYEARECAAYFAj8BpjEACgkQxMLs5v5/7eB+xgCcC2dQ3G5hCruGCUspsLBRKoPX
> Xe0An16ks5zGOIvt/rpfXhkp2LhBdZkY
> =6Bwy
> -----END PGP SIGNATURE-----



-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


More information about the Pdns-dev mailing list