--- source/smbd/chgpasswd.c.old 2004-04-21 00:42:54.000000000 +0400 +++ source/smbd/chgpasswd.c 2004-09-17 15:35:51.492291360 +0400 @@ -794,11 +794,7 @@ } else { /* save pointers to passwords so we don't have to keep looking them up */ - if (lp_lanman_auth()) { - lanman_pw = pdb_get_lanman_passwd(sampass); - } else { - lanman_pw = NULL; - } + lanman_pw = pdb_get_lanman_passwd(sampass); nt_pw = pdb_get_nt_passwd(sampass); }