From 1fa9e994423b96cc6a13682f79e827cae6850553 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sat, 14 Aug 2010 17:10:59 +0200 Subject: s4:password_hash LDB module - improve an error message --- source4/dsdb/samdb/ldb_modules/password_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c index 112a493174..cf239fb903 100644 --- a/source4/dsdb/samdb/ldb_modules/password_hash.c +++ b/source4/dsdb/samdb/ldb_modules/password_hash.c @@ -1443,8 +1443,8 @@ static int check_password_restrictions(struct setup_password_fields_io *io) if (!io->og.nt_hash && !io->og.lm_hash) { ldb_asprintf_errstring(ldb, "check_password_restrictions: " - "You need to provide the old password " - "in order to change your password!"); + "You need to provide the old password in order " + "to change it!"); return LDB_ERR_UNWILLING_TO_PERFORM; } -- cgit