diff options
-rw-r--r-- | source3/passdb/passdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index fa9337ec10..1df94e0ee5 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -346,9 +346,9 @@ void pdb_sethexpwd(char *p, const unsigned char *pwd, uint32 acct_ctrl) slprintf(&p[i*2], 3, "%02X", pwd[i]); } else { if (acct_ctrl & ACB_PWNOTREQ) - safe_strcpy(p, "NO PASSWORDXXXXXXXXXXXXXXXXXXXXX", 33); + safe_strcpy(p, "NO PASSWORDXXXXXXXXXXXXXXXXXXXXX", 32); else - safe_strcpy(p, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", 33); + safe_strcpy(p, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", 32); } } |