svn commit: samba r8207 - branches/SAMBA_3_0/source/lib trunk/source/lib

gd at samba.org gd at samba.org
Thu Jul 7 14:19:51 GMT 2005


Author: gd
Date: 2005-07-07 14:19:51 +0000 (Thu, 07 Jul 2005)
New Revision: 8207

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

Log:
Fix my NT_STATUS_IS_OK mismatch.

Guenther

Modified:
   branches/SAMBA_3_0/source/lib/smbldap_util.c
   trunk/source/lib/smbldap_util.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/smbldap_util.c
===================================================================
--- branches/SAMBA_3_0/source/lib/smbldap_util.c	2005-07-07 13:47:12 UTC (rev 8206)
+++ branches/SAMBA_3_0/source/lib/smbldap_util.c	2005-07-07 14:19:51 UTC (rev 8207)
@@ -194,7 +194,7 @@
 			goto failed;
 
 		status = add_new_domain_info(ldap_state, domain_name);
-		if (NT_STATUS_IS_OK(status)) {
+		if (!NT_STATUS_IS_OK(status)) {
 			DEBUG(0, ("Adding domain info for %s failed with %s\n", 
 				domain_name, nt_errstr(status)));
 			goto failed;

Modified: trunk/source/lib/smbldap_util.c
===================================================================
--- trunk/source/lib/smbldap_util.c	2005-07-07 13:47:12 UTC (rev 8206)
+++ trunk/source/lib/smbldap_util.c	2005-07-07 14:19:51 UTC (rev 8207)
@@ -272,14 +272,14 @@
 			goto failed;
 
 		status = add_new_domain_info(ldap_state, domain_name);
-		if (NT_STATUS_IS_OK(status)) {
+		if (!NT_STATUS_IS_OK(status)) {
 			DEBUG(0, ("Adding domain info for %s failed with %s\n", 
 				domain_name, nt_errstr(status)));
 			goto failed;
 		}
 			
 		status = add_new_domain_account_policies(ldap_state, domain_name);
-		if (NT_STATUS_IS_OK(status)) {
+		if (!NT_STATUS_IS_OK(status)) {
 			DEBUG(0, ("Adding domain account policies for %s failed with %s\n", 
 				domain_name, nt_errstr(status)));
 			goto failed;



More information about the samba-cvs mailing list