1
0
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:
Rafal Szczesniak 2006-12-13 23:36:34 +00:00 committed by Gerald (Jerry) Carter
parent 9f5f9ee9b4
commit 0c37360577

View File

@ -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);