summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2001-05-09 15:48:30 +0000
committerJean-François Micouleau <jfm@samba.org>2001-05-09 15:48:30 +0000
commit90fbea8cb5bc03e0e64f7a903ed1c73011f6b0c7 (patch)
tree93943fb9b4cc5ecb587ad9cca86bdf03a762f8ac /source3
parentbc776832834c2c973c6714c66901fe22f0679962 (diff)
downloadsamba-90fbea8cb5bc03e0e64f7a903ed1c73011f6b0c7.tar.gz
samba-90fbea8cb5bc03e0e64f7a903ed1c73011f6b0c7.tar.bz2
samba-90fbea8cb5bc03e0e64f7a903ed1c73011f6b0c7.zip
very nasty bug !
J.F. (This used to be commit c29dfdc46a2d642722da12739138c1a7d5ee9526)
Diffstat (limited to 'source3')
-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"));