Ignore:
Timestamp:
May 13, 2014, 11:39:04 AM (11 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update trunk to 3.6.23

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/auth/user_util.c

    r745 r862  
    426426
    427427        /*
    428          * Setup the last_from and last_to as an optimization so
     428         * If we didn't successfully map a user in the loop above,
     429         * setup the last_from and last_to as an optimization so
    429430         * that we don't scan the file again for the same user.
    430431         */
    431 
    432         set_last_from_to(user_in, user_in);
    433         store_map_in_gencache(ctx, user_in, user_in);
     432        if (!mapped_user) {
     433                DEBUG(8, ("The user '%s' has no mapping. "
     434                          "Skip it next time.\n", user_in));
     435                set_last_from_to(user_in, user_in);
     436                store_map_in_gencache(ctx, user_in, user_in);
     437        }
    434438
    435439        return mapped_user;
Note: See TracChangeset for help on using the changeset viewer.