Changeset 176

Show
Ignore:
Timestamp:
07/03/03 11:48:02 (10 years ago)
Author:
ahu
Message:

2.9.10

Location:
trunk/pdns
Files:
8 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/configure.in

    r174 r176  
    11dnl intro 
    22AC_INIT(pdns/receiver.cc) 
    3 AM_INIT_AUTOMAKE(pdns, 2.9.9) 
     3AM_INIT_AUTOMAKE(pdns, 2.9.10) 
    44AC_CANONICAL_HOST 
    55AM_CONFIG_HEADER(config.h) 
  • trunk/pdns/debian/changelog

    r174 r176  
     1pdns (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 
    17pdns (2.9.9-1) unstable; urgency=low 
    28 
  • trunk/pdns/modules/ldapbackend/ldapbackend.cc

    r175 r176  
    147147 
    148148                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 ); 
    150150        } 
    151151        catch( LDAPException &e ) 
  • trunk/pdns/modules/ldapbackend/powerldap.cc

    r174 r176  
    7373 
    7474 
    75 int PowerLDAP::search(const string& base, const string& filter, const char **attr) 
     75int PowerLDAP::search(const string& base, int scope, const string& filter, const char **attr) 
    7676{ 
    7777  int msgid; 
    7878 
    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 ) 
    8080    throw LDAPException("Starting LDAP search: "+getError()); 
    8181 
  • trunk/pdns/modules/ldapbackend/powerldap.hh

    r165 r176  
    3434  PowerLDAP(const string &host="127.0.0.1", u_int16_t port=389); 
    3535  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); 
    3737  bool getSearchEntry(int msgid, sentry_t &entry); 
    3838  void getSearchResults(int msgid, sresult_t &result); 
  • trunk/pdns/pdns.spec

    r170 r176  
    11Buildroot: /tmp/pdns 
    22Name: pdns-static 
    3 Version: 2.9.8 
     3Version: 2.9.10 
    44Release: 1 
    55Summary: extremely powerful and versatile nameserver 
  • trunk/pdns/pdns/docs/pdns.sgml

    r175 r176  
    1212    </author> 
    1313     
    14     <PubDate>v2.1 $Date: 2003/06/28 16:46:01 $</PubDate> 
     14    <PubDate>v2.1 $Date: 2003/07/03 09:48:02 $</PubDate> 
    1515     
    1616    <Abstract> 
     
    8282        file. 
    8383      </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> 
    87102        </para> 
    88103        <para> 
     
    90105            <listitem> 
    91106              <para> 
    92                 2.9.8 was prone to crash on adding additional records. Thanks to excelent debugging by PowerDNS users worldwide, the bug was found 
     107                2.9.8 was prone to crash on adding additional records. Thanks to excellent debugging by PowerDNS users worldwide, the bug was found 
    93108                quickly and is in fact present in all earlier PowerDNS releases, but for some reason doesn't cause crashes there. 
    94109              </para> 
     
    108123            <listitem> 
    109124              <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) 
    116137              </para> 
    117138            </listitem> 
     
    129150              <para> 
    130151                LDAP: code cleanup of lookup() (Norbert Sendetzky) 
     152              </para> 
     153            </listitem> 
     154            <listitem> 
     155              <para> 
     156                LDAP: added support for scoped searches (Norbert Sendetzky) 
    131157              </para> 
    132158            </listitem> 
     
    47854811          <term><anchor id="allow-axfr-ips">allow-axfr-ips=...</term> 
    47864812          <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. 
    47884816            </para> 
    47894817          </listitem></varlistentry> 
     
    48264854          <varlistentry><term>disable-axfr=...</term> 
    48274855            <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. 
    48294857              </para></listitem></varlistentry> 
    48304858          <varlistentry><term>disable-tcp=...</term> 
     
    76107638            </listitem> 
    76117639          </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> 
    76127648        </variablelist> 
    76137649      </para> 
  • trunk/pdns/pdns/pdns_recursor.cc

    r174 r176  
    4444  int sem_post(sem_t*){return 0;} 
    4545  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;} 
    4747  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; } 
    4850 
    4951}