From 50752e4527cf1900bc9be9cdaf4b913b9ff106b1 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Thu, 17 Apr 2014 17:13:41 -0700 Subject: [PATCH] Change samba password too https://sourceforge.net/p/webadmin/usermin-bugs/426/ --- password_change.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/password_change.cgi b/password_change.cgi index f86dc0f9d..691294484 100755 --- a/password_change.cgi +++ b/password_change.cgi @@ -190,10 +190,11 @@ else { # Change password in Usermin too if (&get_product_name() eq 'usermin' && &foreign_check("changepass")) { - # XXX remote user?? &foreign_require("changepass", "changepass-lib.pl"); &changepass::change_mailbox_passwords( $in{'user'}, $in{'old'}, $in{'new1'}); + &changepass::change_samba_password( + $in{'user'}, $in{'old'}, $in{'new1'}); } # Show ok page