https://bugs.koozali.org/show_bug.cgi?id=10874
--- Comment #17 from bunkobugsy <[email protected]> ---
(In reply to bunkobugsy from comment #12)
> Working almost as expected on V9 production server (I'm sure v10 would be
> same).
>
> Old password gets added to /etc/security/opasswd file only when changed from
> user-password link (not when reset by admin or changed via samba/Ctr-Alt-Del
> change password in domain).
Same thing on sme10, password history only works from user-password link.
Changing password via samba/Ctr-Alt-Del change password in domain has no
effect.
Not even after running pdbedit -P "password history" -C 100
Though it updates /var/lib/samba/account_policy.tdb, old passwords don't seem
to be stored anywhere.
https://samba.samba.narkive.com/qQwWUs3a/samba-2-x-and-password-history
suggests having 'pam password change = yes' in smb.conf, so that samba will use
pam to change the password instead of running the passwd chat.
SME10 has 'pam password change = yes', 'passwd
program' and 'passwd chat' set in smb.conf
But according to
https://lists.samba.org/archive/samba/2002-November/055729.html when 'pam
password change' is set, samba uses PAM rather than 'passwd program' to do the
change.
However if 'pam password change = yes', and if Samba is configured with
--with-pam, PAM is allowed to handle password changes from clients, instead of
using the program defined by the passwd program parameter.
https://www.oreilly.com/library/view/using-samba-second/0596002564/re182.html
# /usr/sbin/smbd --with-pam
Invalid option --with-pam: unknown option
--
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/