summaryrefslogtreecommitdiff
path: root/source3/passdb/secrets.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-04-06 12:59:53 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-04-06 12:59:53 +0000
commit00a8443a5127dc9ffe9da5c073756edf6397dcbd (patch)
treea98046e79560c214d00b58892b3aee3ca5b08e98 /source3/passdb/secrets.c
parentf82c61cefe4a30162b79c6b8226b5b7785df3133 (diff)
downloadsamba-00a8443a5127dc9ffe9da5c073756edf6397dcbd.tar.gz
samba-00a8443a5127dc9ffe9da5c073756edf6397dcbd.tar.bz2
samba-00a8443a5127dc9ffe9da5c073756edf6397dcbd.zip
Don't bail if we have a badly formed record, just move on to the next one.
(This used to be commit febd966b10b23238c93444256b8ad30b50b20ef8)
Diffstat (limited to 'source3/passdb/secrets.c')
-rw-r--r--source3/passdb/secrets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c
index 4c9802dd29..64fedc7284 100644
--- a/source3/passdb/secrets.c
+++ b/source3/passdb/secrets.c
@@ -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 */