summaryrefslogtreecommitdiff
path: root/source3/passdb/smbpasschange.c
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
commit6a4239c8b06e4ed9e6ff4863d1dc16cfc0dc4c9b (patch)
tree706c9583132a235d32dabf558454af60a2124f34 /source3/passdb/smbpasschange.c
parent2aadefe8ccb84414988e8c195619c97216c19ae2 (diff)
downloadsamba-6a4239c8b06e4ed9e6ff4863d1dc16cfc0dc4c9b.tar.gz
samba-6a4239c8b06e4ed9e6ff4863d1dc16cfc0dc4c9b.tar.bz2
samba-6a4239c8b06e4ed9e6ff4863d1dc16cfc0dc4c9b.zip
static password space needed.
(This used to be commit 5b1d0789007bfcb09326643eb271746cee386846)
Diffstat (limited to 'source3/passdb/smbpasschange.c')
-rw-r--r--source3/passdb/smbpasschange.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/passdb/smbpasschange.c b/source3/passdb/smbpasschange.c
index 27bb26e0b3..f266e937de 100644
--- a/source3/passdb/smbpasschange.c
+++ b/source3/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;