Don't bail if we have a badly formed record, just move on to the next one.
authorAndrew Bartlett <abartlet@samba.org>
Sun, 6 Apr 2003 12:59:53 +0000 (12:59 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 6 Apr 2003 12:59:53 +0000 (12:59 +0000)
source/passdb/secrets.c

index 4c9802dd29887a05fa79920c8f05cd778c80d02e..64fedc7284eaac26b52494a7069ba6287bf6a95f 100644 (file)
@@ -537,7 +537,7 @@ NTSTATUS secrets_get_trusted_domains(TALLOC_CTX* ctx, int* enum_ctx, unsigned in
                        DEBUG(2, ("Secrets record %s is invalid!\n", secrets_key));
                        if (size) SAFE_FREE(packed_pass);
 
-                       return NT_STATUS_UNSUCCESSFUL;
+                       continue;
                }
                
                /* packed representation isn't needed anymore */