1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

r20162: Always return some error string.

rafal
(This used to be commit 0c373605776eb166ffe46db0dd21395efc3bb186)
This commit is contained in:
Rafal Szczesniak 2006-12-13 23:36:34 +00:00 committed by Gerald (Jerry) Carter
parent 1dd09da392
commit 5ff19e8ca4

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