summaryrefslogtreecommitdiffstats
path: root/source/passdb
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-03-10 17:32:41 +0000
committerLuke Leighton <lkcl@samba.org>1999-03-10 17:32:41 +0000
commit5b1d0789007bfcb09326643eb271746cee386846 (patch)
tree57bdc7f8569b54c1c91719bbd7b03963e41cc470 /source/passdb
parentd8946f1cc7b77b06f346344ffdb4772e6d225396 (diff)
downloadsamba-5b1d0789007bfcb09326643eb271746cee386846.tar.gz
samba-5b1d0789007bfcb09326643eb271746cee386846.tar.xz
samba-5b1d0789007bfcb09326643eb271746cee386846.zip
static password space needed.
Diffstat (limited to 'source/passdb')
-rw-r--r--source/passdb/smbpasschange.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/passdb/smbpasschange.c b/source/passdb/smbpasschange.c
index 27bb26e0b32..f266e937de6 100644
--- a/source/passdb/smbpasschange.c
+++ b/source/passdb/smbpasschange.c
@@ -71,9 +71,9 @@ BOOL local_password_change(char *user_name,
{
struct passwd *pwd;
struct smb_passwd *smb_pwent;
- struct smb_passwd new_pwent;
- uchar new_p16[16];
- uchar new_nt_p16[16];
+ static struct smb_passwd new_pwent;
+ static uchar new_p16[16];
+ static uchar new_nt_p16[16];
fstring unix_name;
uid_t unix_uid;