Ignore:
Timestamp:
May 12, 2014, 8:58:38 PM (11 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.6: updated vendor to latest version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source4/libnet/groupman.c

    r740 r860  
    213213        /* what to do when there's no group account to delete
    214214           and what if there's more than one rid resolved */
    215         if (!s->lookupname.out.rids->count) {
    216                 c->status = NT_STATUS_NO_SUCH_GROUP;
    217                 composite_error(c, c->status);
    218                 return;
    219 
    220         } else if (!s->lookupname.out.rids->count > 1) {
    221                 c->status = NT_STATUS_INVALID_ACCOUNT_NAME;
     215        if (s->lookupname.out.rids->count != s->lookupname.in.num_names) {
     216                c->status = NT_STATUS_INVALID_NETWORK_RESPONSE;
     217                composite_error(c, c->status);
     218                return;
     219        }
     220        if (s->lookupname.out.types->count != s->lookupname.in.num_names) {
     221                c->status = NT_STATUS_INVALID_NETWORK_RESPONSE;
    222222                composite_error(c, c->status);
    223223                return;
Note: See TracChangeset for help on using the changeset viewer.