mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Change samba password too https://sourceforge.net/p/webadmin/usermin-bugs/426/
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user