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/libnet_join.c

    r745 r862  
    657657                                                              r->in.account_name, ln.out.rids->count);
    658658                        talloc_free(tmp_ctx);
    659                         return NT_STATUS_INVALID_PARAMETER;
    660                 }
    661                
     659                        return NT_STATUS_INVALID_NETWORK_RESPONSE;
     660                }
     661
     662                if (ln.out.types->count != 1) {
     663                        r->out.error_string = talloc_asprintf(mem_ctx,
     664                                                                "samr_LookupNames for [%s] returns %d RID TYPEs",
     665                                                                r->in.account_name, ln.out.types->count);
     666                        talloc_free(tmp_ctx);
     667                        return NT_STATUS_INVALID_NETWORK_RESPONSE;
     668                }
     669
    662670                /* prepare samr_OpenUser */
    663671                ZERO_STRUCTP(u_handle);
Note: See TracChangeset for help on using the changeset viewer.