Ignore:
Timestamp:
Jul 2, 2011, 4:01:14 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update vendor to version 3.5.9

Location:
vendor/current/source3/winbindd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/winbindd/winbindd.c

    r478 r597  
    10141014        int opt;
    10151015        TALLOC_CTX *frame = talloc_stackframe();
    1016         struct tevent_timer *te;
    10171016
    10181017        /* glibc (?) likes to print "User defined signal 1" and exit if a
     
    12611260        }
    12621261
    1263         te = tevent_add_timer(winbind_event_context(), NULL, timeval_zero(),
    1264                               rescan_trusted_domains, NULL);
    1265         if (te == NULL) {
    1266                 DEBUG(0, ("Could not trigger rescan_trusted_domains()\n"));
    1267                 exit(1);
     1262        if (lp_allow_trusted_domains()) {
     1263                if (tevent_add_timer(winbind_event_context(), NULL, timeval_zero(),
     1264                              rescan_trusted_domains, NULL) == NULL) {
     1265                        DEBUG(0, ("Could not trigger rescan_trusted_domains()\n"));
     1266                        exit(1);
     1267                }
    12681268        }
    12691269
  • vendor/current/source3/winbindd/winbindd_cache.c

    r414 r597  
    247247                smb_panic_fn("centry_uint16");
    248248        }
    249         ret = CVAL(centry->data, centry->ofs);
     249        ret = SVAL(centry->data, centry->ofs);
    250250        centry->ofs += 2;
    251251        return ret;
     
    758758{
    759759        centry_expand(centry, 2);
    760         SIVAL(centry->data, centry->ofs, v);
     760        SSVAL(centry->data, centry->ofs, v);
    761761        centry->ofs += 2;
    762762}
  • vendor/current/source3/winbindd/winbindd_pam.c

    r594 r597  
    10721072        }
    10731073
    1074         /* User does *NOT* know the correct password, modify info3 accordingly */
     1074        /* User does *NOT* know the correct password, modify info3 accordingly, but only if online */
     1075        if (domain->online == false) {
     1076                goto failed;
     1077        }
    10751078
    10761079        /* failure of this is not critical */
Note: See TracChangeset for help on using the changeset viewer.