svn commit: samba r18657 - in branches/SAMBA_4_0/source/libnet: .

mimir at samba.org mimir at samba.org
Tue Sep 19 00:25:58 GMT 2006


Author: mimir
Date: 2006-09-19 00:25:55 +0000 (Tue, 19 Sep 2006)
New Revision: 18657

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18657

Log:
handle the case where rpc call went fine, but the result
not necessariy did.


rafal


Modified:
   branches/SAMBA_4_0/source/libnet/userinfo.c


Changeset:
Modified: branches/SAMBA_4_0/source/libnet/userinfo.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/userinfo.c	2006-09-19 00:24:41 UTC (rev 18656)
+++ branches/SAMBA_4_0/source/libnet/userinfo.c	2006-09-19 00:25:55 UTC (rev 18657)
@@ -62,6 +62,9 @@
 	/* receive samr_Lookup reply */
 	c->status = dcerpc_ndr_request_recv(s->req);
 	NT_STATUS_NOT_OK_RETURN(c->status);
+	
+	/* there could be a problem with name resolving itself */
+	NT_STATUS_NOT_OK_RETURN(s->lookup.out.result);
 
 	/* have we actually got name resolved
 	   - we're looking for only one at the moment */



More information about the samba-cvs mailing list