Ignore:
Timestamp:
Apr 10, 2007, 5:27:38 AM (14 years ago)
Author:
Paul Smedley
Message:

Updated source to 3.0.25rc1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/nsswitch/idmap_cache.c

    r22 r26  
    109109        char *idkey;
    110110        char *valstr;
     111
     112        /* Don't cache lookups in the S-1-22-{1,2} domain */
     113        if ( (id->xid.type == ID_TYPE_UID) &&
     114             sid_check_is_in_unix_users(id->sid) )
     115        {
     116                return NT_STATUS_OK;
     117        }
     118        if ( (id->xid.type == ID_TYPE_GID) &&
     119             sid_check_is_in_unix_groups(id->sid) )
     120        {
     121                return NT_STATUS_OK;
     122        }
     123       
    111124
    112125        ret = idmap_cache_build_sidkey(cache, &sidkey, id);
Note: See TracChangeset for help on using the changeset viewer.