From 90fbea8cb5bc03e0e64f7a903ed1c73011f6b0c7 Mon Sep 17 00:00:00 2001 From: Jean-François Micouleau Date: Wed, 9 May 2001 15:48:30 +0000 Subject: very nasty bug ! J.F. (This used to be commit c29dfdc46a2d642722da12739138c1a7d5ee9526) --- source3/passdb/passdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 7b1ecdbc23..580cae0240 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -1518,7 +1518,7 @@ BOOL pdb_set_nt_passwd (SAM_ACCOUNT *sampass, uint8 *pwd) ********************************************************************/ BOOL pdb_set_lanman_passwd (SAM_ACCOUNT *sampass, uint8 *pwd) { - if (!sampass || !*pwd) return False; + if (!sampass || !pwd) return False; if (sampass->lm_pw!=NULL) DEBUG(0,("pdb_set_lanman_passwd: LM hash non NULL overwritting ?\n")); -- cgit