Ignore:
Timestamp:
Jul 6, 2011, 8:21:13 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update trunk to 3.5.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/lib/system_smbd.c

    r454 r599  
    2828#ifndef HAVE_GETGROUPLIST
    2929
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
     66
     67
     68
     69
     70
     71
     72
     73
     74
     75
     76
     77
     78
     79
    3080/*
    3181  This is a *much* faster way of getting the list of groups for a user
     
    118168#endif
    119169}
    120 #endif
     170#endif /* HAVE_GETGRSET */
     171#endif /* HAVE_GETGROUPLIST */
    121172
    122173static int sys_getgrouplist(const char *user, gid_t gid, gid_t *groups, int *grpcnt)
     
    136187        retval = getgrouplist(user, gid, groups, grpcnt);
    137188#else
     189
     190
     191
    138192        become_root();
    139193        retval = getgrouplist_internals(user, gid, groups, grpcnt);
    140194        unbecome_root();
    141 #endif
     195#endif /* HAVE_GETGRSET */
     196#endif /* HAVE_GETGROUPLIST */
    142197
    143198        /* allow winbindd lookups, but only if they were not already disabled */
Note: See TracChangeset for help on using the changeset viewer.