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/source4/libnet/groupman.c

    r745 r862  
    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.