svn commit: samba r4569 - in trunk/source/auth: .

vlendec at samba.org vlendec at samba.org
Thu Jan 6 15:33:00 GMT 2005


Author: vlendec
Date: 2005-01-06 15:33:00 +0000 (Thu, 06 Jan 2005)
New Revision: 4569

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

Log:
Fix compiler warning
Modified:
   trunk/source/auth/auth_util.c


Changeset:
Modified: trunk/source/auth/auth_util.c
===================================================================
--- trunk/source/auth/auth_util.c	2005-01-06 13:34:18 UTC (rev 4568)
+++ trunk/source/auth/auth_util.c	2005-01-06 15:33:00 UTC (rev 4569)
@@ -1483,7 +1483,6 @@
 	NTSTATUS nt_status = NT_STATUS_UNSUCCESSFUL;
 	SAM_TRUST_PASSWD *trust = NULL;
 	DOM_SID dom_sid;
-	BOOL ret;
 
 	/* no trusted domains for a standalone server */
 	if ( lp_server_role() == ROLE_STANDALONE )
@@ -1504,7 +1503,7 @@
 			dom_name ));
 		nt_status = pdb_gettrustpwnam(trust, dom_name);
 		unbecome_root();
-		if (ret) {
+		if (!NT_STATUS_IS_OK(nt_status)) {
 			trust->free_fn(&trust);
 			return True;
 		}



More information about the samba-cvs mailing list