Author: mimir Date: 2006-12-12 22:28:33 +0000 (Tue, 12 Dec 2006) New Revision: 20137
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20137 Log: return the proper status. rafal Modified: branches/SAMBA_4_0/source/libnet/userman.c Changeset: Modified: branches/SAMBA_4_0/source/libnet/userman.c =================================================================== --- branches/SAMBA_4_0/source/libnet/userman.c 2006-12-12 22:05:48 UTC (rev 20136) +++ branches/SAMBA_4_0/source/libnet/userman.c 2006-12-12 22:28:33 UTC (rev 20137) @@ -59,9 +59,12 @@ { c->status = dcerpc_ndr_request_recv(s->req); NT_STATUS_NOT_OK_RETURN(c->status); + + /* return the actual function call status */ + c->status = s->createuser.out.result; c->state = COMPOSITE_STATE_DONE; - return NT_STATUS_OK; + return c->status; }