static password space needed.
authorLuke Leighton <lkcl@samba.org>
Wed, 10 Mar 1999 17:32:41 +0000 (17:32 +0000)
committerLuke Leighton <lkcl@samba.org>
Wed, 10 Mar 1999 17:32:41 +0000 (17:32 +0000)
(This used to be commit 5b1d0789007bfcb09326643eb271746cee386846)

source3/passdb/smbpasschange.c

index 27bb26e0b32f009270f49b1af11b14096007c0ea..f266e937de6094ae222dc711eaed3c60b29c4cb4 100644 (file)
@@ -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;