~ubuntu-branches/ubuntu/precise/nss-pam-ldapd/precise-security

« back to all changes in this revision

Viewing changes to nslcd/myldap.c

  • Committer: Bazaar Package Importer
  • Author(s): Arthur de Jong
  • Date: 2011-05-13 15:00:00 UTC
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20110513150000-evnhjevo5rr17tyw
Tags: 0.8.3
* support using the objectSid attribute to provide numeric user and group
  ids, based on a patch by Wesley Mason
* check shadow account and password expiry properties (similarly to what
  pam_unix does) in the PAM handling code
* implement attribute mapping functionality in pynslcd
* relax default for validnames option to allow user names of only two
  characters (closes: #620235)
* make user and group name validation errors a little more informative
* small portability improvements
* general code improvements and refactoring in pynslcd
* some simplifications in the protocol between the PAM module and nslcd
  (without actual protocol changes so far)
* fix debconf LDAP search base suggestion when domain has more than two
  parts (patch by Per Carlson) (closes: #626571)
* search for LDAP server by looking for SRV _ldap._tcp DNS records and
  try to query LDAP server for base DN during package configuration
  (based on work by Petter Reinholdtsen for the sssd package)
* upgrade to standards-version 3.9.2 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
582
582
          log_log(LOG_DEBUG,"ldap_abandon()");
583
583
          if (ldap_abandon(session->searches[i]->session->ld,session->searches[i]->msgid))
584
584
          {
585
 
            if (ldap_get_option(session->ld,LDAP_OPT_ERROR_NUMBER,&rc)==LDAP_SUCCESS)
 
585
            if (ldap_get_option(session->ld,LDAP_OPT_ERROR_NUMBER,&rc)!=LDAP_SUCCESS)
586
586
              rc=LDAP_OTHER;
587
587
            log_log(LOG_WARNING,"ldap_abandon() failed to abandon search: %s",ldap_err2string(rc));
588
588
          }