summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-14 17:10:59 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-14 18:48:20 +0200
commit1fa9e994423b96cc6a13682f79e827cae6850553 (patch)
tree38e2c23d8d26ba1c9ca106d96d8d483c1d10a82c /source4
parent4b569d74a4be62a65e9c6ef1248eb83eae215831 (diff)
downloadsamba-1fa9e994423b96cc6a13682f79e827cae6850553.tar.gz
samba-1fa9e994423b96cc6a13682f79e827cae6850553.tar.bz2
samba-1fa9e994423b96cc6a13682f79e827cae6850553.zip
s4:password_hash LDB module - improve an error message
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/password_hash.c4
1 files 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;
}