Changeset 176
- Timestamp:
- 07/03/03 11:48:02 (10 years ago)
- Location:
- trunk/pdns
- Files:
-
- 8 modified
-
configure.in (modified) (1 diff)
-
debian/changelog (modified) (1 diff)
-
modules/ldapbackend/ldapbackend.cc (modified) (1 diff)
-
modules/ldapbackend/powerldap.cc (modified) (1 diff)
-
modules/ldapbackend/powerldap.hh (modified) (1 diff)
-
pdns.spec (modified) (1 diff)
-
pdns/docs/pdns.sgml (modified) (8 diffs)
-
pdns/pdns_recursor.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/configure.in
r174 r176 1 1 dnl intro 2 2 AC_INIT(pdns/receiver.cc) 3 AM_INIT_AUTOMAKE(pdns, 2.9. 9)3 AM_INIT_AUTOMAKE(pdns, 2.9.10) 4 4 AC_CANONICAL_HOST 5 5 AM_CONFIG_HEADER(config.h) -
trunk/pdns/debian/changelog
r174 r176 1 pdns (2.9.10-1) unstable; urgency=low 2 3 * fill in the blanks 4 5 -- Wichert Akkerman <wakkerma@debian.org> Thu, 3 Jul 2003 20:16:16 +0100 6 1 7 pdns (2.9.9-1) unstable; urgency=low 2 8 -
trunk/pdns/modules/ldapbackend/ldapbackend.cc
r175 r176 147 147 148 148 L << Logger::Info << backendname << " Search = basedn: " << getArg( "basedn" ) << ", filter: " << filter << ", qtype: " << qtype.getName() << endl; 149 m_msgid = m_pldap->search( getArg("basedn"), filter, (const char**) attributes );149 m_msgid = m_pldap->search( getArg("basedn"), LDAP_SCOPE_SUBTREE, filter, (const char**) attributes ); 150 150 } 151 151 catch( LDAPException &e ) -
trunk/pdns/modules/ldapbackend/powerldap.cc
r174 r176 73 73 74 74 75 int PowerLDAP::search(const string& base, const string& filter, const char **attr)75 int PowerLDAP::search(const string& base, int scope, const string& filter, const char **attr) 76 76 { 77 77 int msgid; 78 78 79 if( ( msgid = ldap_search( d_ld, base.c_str(), LDAP_SCOPE_SUBTREE, filter.c_str(),const_cast<char **>(attr),0 ) ) == -1 )79 if( ( msgid = ldap_search( d_ld, base.c_str(), scope, filter.c_str(),const_cast<char **>(attr),0 ) ) == -1 ) 80 80 throw LDAPException("Starting LDAP search: "+getError()); 81 81 -
trunk/pdns/modules/ldapbackend/powerldap.hh
r165 r176 34 34 PowerLDAP(const string &host="127.0.0.1", u_int16_t port=389); 35 35 void simpleBind(const string &ldapbinddn="", const string& ldapsecret=""); 36 int search(const string& base, const string& filter, const char **attr=0);36 int search(const string& base, int scope, const string& filter, const char **attr=0); 37 37 bool getSearchEntry(int msgid, sentry_t &entry); 38 38 void getSearchResults(int msgid, sresult_t &result); -
trunk/pdns/pdns.spec
r170 r176 1 1 Buildroot: /tmp/pdns 2 2 Name: pdns-static 3 Version: 2.9. 83 Version: 2.9.10 4 4 Release: 1 5 5 Summary: extremely powerful and versatile nameserver -
trunk/pdns/pdns/docs/pdns.sgml
r175 r176 12 12 </author> 13 13 14 <PubDate>v2.1 $Date: 2003/0 6/28 16:46:01$</PubDate>14 <PubDate>v2.1 $Date: 2003/07/03 09:48:02 $</PubDate> 15 15 16 16 <Abstract> … … 82 82 file. 83 83 </para> 84 <sect2 id="changelog-2-9-9"><title>Version 2.9.9</title> 85 <para> 86 Small bugfixes, LDAP update. Released 21th of June 2003. Apologies for the long delay, real life keeps interfering. 84 <sect2 id="changelog-2-9-10"><title>Version 2.9.10</title> 85 <para> 86 Small bugfixes, LDAP update. Released 3rd of July 2003. Apologies for the long delay, real life keeps interfering. 87 </para> 88 <para> 89 <warning> 90 <para> 91 Do not use or try to use 2.9.9, it was a botched release! 92 </para> 93 </warning> 94 </para> 95 <para> 96 <warning> 97 <para> 98 There has been a change in behaviour whereby <command>disable-axfr</command> does what it means now! From now 99 on, setting <command>allow-axfr-ips</command> automatically disables AXFR from unmentioned subnets. 100 </para> 101 </warning> 87 102 </para> 88 103 <para> … … 90 105 <listitem> 91 106 <para> 92 2.9.8 was prone to crash on adding additional records. Thanks to excel ent debugging by PowerDNS users worldwide, the bug was found107 2.9.8 was prone to crash on adding additional records. Thanks to excellent debugging by PowerDNS users worldwide, the bug was found 93 108 quickly and is in fact present in all earlier PowerDNS releases, but for some reason doesn't cause crashes there. 94 109 </para> … … 108 123 <listitem> 109 124 <para> 110 LDAP: DNS TTLs were random values (Norbert Sendetzky) 111 </para> 112 </listitem> 113 <listitem> 114 <para> 115 LDAP: Now works with OpenLDAP 2.1(Norbert Sendetzky) 125 pdns_recursor may have logged empty lines for some users, fixed. Solution suggested by Norbert Sendetzky. 126 </para> 127 </listitem> 128 <listitem> 129 <para> 130 LDAP: DNS TTLs were random values (Norbert Sendetzky, Stefan Pfetzing). New <command>ldap-default-ttl</command> 131 option. 132 </para> 133 </listitem> 134 <listitem> 135 <para> 136 LDAP: Now works with OpenLDAP 2.1 (Norbert Sendetzky) 116 137 </para> 117 138 </listitem> … … 129 150 <para> 130 151 LDAP: code cleanup of lookup() (Norbert Sendetzky) 152 </para> 153 </listitem> 154 <listitem> 155 <para> 156 LDAP: added support for scoped searches (Norbert Sendetzky) 131 157 </para> 132 158 </listitem> … … 4785 4811 <term><anchor id="allow-axfr-ips">allow-axfr-ips=...</term> 4786 4812 <listitem> 4787 <para>When not allowing AXFR (disable-axfr), DO allow from these IP addresses or netmasks. 4813 <para>Behaviour pre 2.9.10: When not allowing AXFR (disable-axfr), DO allow from these IP addresses or netmasks. 4814 </para> 4815 <para>Behaviour post 2.9.10: If set, only these IP addresses or netmasks will be able to perform AXFR. 4788 4816 </para> 4789 4817 </listitem></varlistentry> … … 4826 4854 <varlistentry><term>disable-axfr=...</term> 4827 4855 <listitem><para> 4828 Do not allow zone transfers 4856 Do not allow zone transfers. Before 2.9.10, this could be overridden by allow-axfr-ips. 4829 4857 </para></listitem></varlistentry> 4830 4858 <varlistentry><term>disable-tcp=...</term> … … 7610 7638 </listitem> 7611 7639 </varlistentry> 7640 <varlistentry> 7641 <term>ldap-default-ttl</term> 7642 <listitem> 7643 <para> 7644 TTL for records with no dnsttl attribute. Defaults to 86400 seconds. 7645 </para> 7646 </listitem> 7647 </varlistentry> 7612 7648 </variablelist> 7613 7649 </para> -
trunk/pdns/pdns/pdns_recursor.cc
r174 r176 44 44 int sem_post(sem_t*){return 0;} 45 45 int sem_getvalue(sem_t*, int*){return 0;} 46 pthread_t pthread_self(void){ pthread_t tmp; return tmp;}46 pthread_t pthread_self(void){return (pthread_t) 0;} 47 47 int pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexattr){ return 0; } 48 int pthread_mutex_lock(pthread_mutex_t *mutex){ return 0; } 49 int pthread_mutex_unlock(pthread_mutex_t *mutex) { return 0; } 48 50 49 51 }