diff options
author | Jeremy Allison <jra@samba.org> | 1998-05-11 17:53:37 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-05-11 17:53:37 +0000 |
commit | 05eb22f77c21f8027e64b0caddefa4d9f030f95f (patch) | |
tree | 53cd47eec284c3dc9d7b754168ad86769b590924 /source3/utils/smbpasswd.c | |
parent | 0518067c6e5ca3ebd7743a2a4f5ce6d63eec6812 (diff) | |
download | samba-05eb22f77c21f8027e64b0caddefa4d9f030f95f.tar.gz samba-05eb22f77c21f8027e64b0caddefa4d9f030f95f.tar.xz samba-05eb22f77c21f8027e64b0caddefa4d9f030f95f.zip |
reply.c: Added code to not overwrite sesssetup_user when in share level security
and null session setup done.
smbpasswd.c: Fix from Gerald Carter <cartegw@Eng.Auburn.EDU> to fix incorrect
use of pointer.
Jeremy.
(This used to be commit 69ace0760986a6e892cd5b25ca85930b65e38c45)
Diffstat (limited to 'source3/utils/smbpasswd.c')
-rw-r--r-- | source3/utils/smbpasswd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c index d58d6396c10..5060d80d3d5 100644 --- a/source3/utils/smbpasswd.c +++ b/source3/utils/smbpasswd.c @@ -646,7 +646,7 @@ int main(int argc, char **argv) vp = startsampwent(True); } } - if (!fp) { + if (!vp) { err = errno; fprintf(stderr, "%s: Failed to open password file %s.\n", prog_name, lp_smb_passwd_file()); |