summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-04-09 20:48:48 +0000
committerJeremy Allison <jra@samba.org>1998-04-09 20:48:48 +0000
commitaf80d8e98f2f74939d680c6abc21e3f40b927f31 (patch)
treefdca9c39f0ce5ad080b57edbbfefb1c315539946 /source3/utils
parent9907a58ca63ec4a8c39709da4a275ddf0b6a3aa3 (diff)
downloadsamba-af80d8e98f2f74939d680c6abc21e3f40b927f31.tar.gz
samba-af80d8e98f2f74939d680c6abc21e3f40b927f31.tar.bz2
samba-af80d8e98f2f74939d680c6abc21e3f40b927f31.zip
Makefile, loadparm.c, server.c, smb.h, util.c: Patch from
stn@techfak.uni-kiel.de (Stefan Nehlsen) to get homes from the NIS+ map. smbpasswd.c: Tidy up of cli_state structure. Jeremy. (This used to be commit fc2295e0f5729585fdb3ee47edb290851d4071c5)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index 425308bec6..2433fa1bb4 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/utils/smbpasswd.c
@@ -693,7 +693,7 @@ int main(int argc, char **argv)
exit(1);
}
- cli.error = 0;
+ memset(&cli, '\0', sizeof(struct cli_state));
if (!cli_initialise(&cli) || !cli_connect(&cli, remote_machine, &ip)) {
fprintf(stderr, "%s: unable to connect to SMB server on machine %s. Error was : %s.\n",