[Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

Jeffrey Chan goofrider at gmail.com
Thu Oct 13 23:31:18 MDT 2011


I've commented out #defaultMaxPasswordAge months ago. I also used "pdbedit"
and "net sam policy" to set "Maximum Password Age" to -1. When I run pdbedit
-Lv on each user, it all says "Password Must Change: never".

- Jeff



On Wed, Oct 12, 2011 at 11:39 PM, upen <upendra.gandhi at gmail.com> wrote:

> I also had similar issues. I remember if you change those settings in
> configuration files, the new users will get the settings right but the
> users created before that configuration change willl not be affected.
>
> One more thing to check is defaultMaxPasswordAge setting in
> /etc/smbldap-tools/smbldap.conf file. What is it set to?
>
> I have commented out that entry in my SAMBA+LDAP setup.
>
> Thanks,
> Up
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list