diff options
author | Jeremy Allison <jra@samba.org> | 1998-02-20 19:48:01 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-02-20 19:48:01 +0000 |
commit | e58ab3bbe6e939ba678ad5482e58e0191c8dcbcb (patch) | |
tree | d2ad651521fc2f734697770c775fd5d155c89d18 /source/passdb | |
parent | 0a535680077a9e436362fd7f1711f62b35317fa4 (diff) | |
download | samba-e58ab3bbe6e939ba678ad5482e58e0191c8dcbcb.tar.gz samba-e58ab3bbe6e939ba678ad5482e58e0191c8dcbcb.tar.xz samba-e58ab3bbe6e939ba678ad5482e58e0191c8dcbcb.zip |
nmbd_packets.c: nmbd_subnetdb.c: Patch from Andrey Alekseyev <fetch@muffin.arcadia.spb.ru>
to fix the fact that retransmit_or_expire_response_records() wasn't looking
at the WINS subnet.
server.c: Patch from jkf@soton.ac.uk to add %p (NIS server path) substitution.
smbpass.c: Fix to stop parsing failing on non-valid lines.
trans2.c: Fix for volume serial number code.
util.c: Patch from jkf@soton.ac.uk to add %p (NIS server path) substitution.
Fix for warnings under RH5. gcc 2.8.
Jeremy.
Diffstat (limited to 'source/passdb')
-rw-r--r-- | source/passdb/smbpass.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source/passdb/smbpass.c b/source/passdb/smbpass.c index ea386bfa9df..fbda8949bcb 100644 --- a/source/passdb/smbpass.c +++ b/source/passdb/smbpass.c @@ -225,9 +225,7 @@ struct smb_passwd *get_smbpwd_entry(char *name, int smb_userid) p++; /* Go past ':' */ if (!isdigit(*p)) { DEBUG(0, ("get_smbpwd_entry: malformed password entry (uid not number)\n")); - fclose(fp); - pw_file_unlock(lockfd); - return NULL; + continue; } uidval = atoi((char *) p); @@ -240,9 +238,7 @@ struct smb_passwd *get_smbpwd_entry(char *name, int smb_userid) if (*p != ':') { DEBUG(0, ("get_smbpwd_entry: malformed password entry (no : after uid)\n")); - fclose(fp); - pw_file_unlock(lockfd); - return NULL; + continue; } if (name != NULL) |