~ubuntu-dev/ubuntu/lucid/dovecot/lucid-201002101901

« back to all changes in this revision

Viewing changes to src/auth/userdb-prefetch.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-06-28 08:45:43 UTC
  • mfrom: (1.10.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060628084543-pc6v7oikzlvnlnu3
Tags: 1.0.beta9-1ubuntu1
* Merge from debian unstable, resolved minor conflicts.
* debian/control: Removed unnecessary build dependency ssl-cert, add it as
  dovecot-common dependency.
* Remove debian/patches/prohibit_.._mbox_mask.dpatch, upstream now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
        bool uid_seen, gid_seen;
21
21
 
22
22
        if (auth_request->extra_fields == NULL) {
23
 
                auth_request_log_error(auth_request, "prefetch",
24
 
                                       "passdb didn't return userdb entries");
 
23
                if (auth_request->auth->userdbs->next == NULL) {
 
24
                        /* no other userdbs */
 
25
                        auth_request_log_error(auth_request, "prefetch",
 
26
                                "passdb didn't return userdb entries");
 
27
                } else {
 
28
                        /* more userdbs, they may know the user */
 
29
                        auth_request_log_info(auth_request, "prefetch",
 
30
                                "passdb didn't return userdb entries");
 
31
                }
25
32
                callback(NULL, auth_request);
26
33
                return;
27
34
        }