summaryrefslogtreecommitdiff
path: root/source3/passdb/passdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb/passdb.c')
-rw-r--r--source3/passdb/passdb.c2
1 files changed, 1 insertions, 1 deletions
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"));