mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r20162: Always return some error string.
rafal
This commit is contained in:
parent
9f5f9ee9b4
commit
0c37360577
@ -804,6 +804,9 @@ NTSTATUS libnet_UserInfo_recv(struct composite_context *c, TALLOC_CTX *mem_ctx,
|
||||
r->out.acct_flags = info->acct_flags;
|
||||
|
||||
r->out.error_string = talloc_strdup(mem_ctx, "Success");
|
||||
|
||||
} else {
|
||||
r->out.error_string = talloc_asprintf(mem_ctx, "Error: %s", nt_errstr(status));
|
||||
}
|
||||
|
||||
talloc_free(c);
|
||||
|
Loading…
Reference in New Issue
Block a user