Hello, server-p:/# net sam policy set "maximum password age" 4294967294 Account policy "maximum password age" value was: -2 Account policy "maximum password age" value is now: -2
Is that Output Normal? Kind Regards -------- Original-Nachricht -------- > Datum: Thu, 11 Mar 2010 12:58:44 -0500 > Von: "Michael B. Trausch" <[email protected]> > An: [email protected] > Betreff: Re: [Samba] Your password expires today problem > On 03/11/2010 02:04 AM, Richard Lamboj wrote: > > i got this Problem with Samba 3.4.6 and 3.5.1 and yes i know there is > > already a bug report. > > > > Your workaround doesn't work for me. Is there another solution? > > > > This don't work: pdbedit -P "maximum password age" -C 4294967294 > > > > I'am using LDAP. We have Upgraded from 3.2.14. The LDAP Schema Files > > don't have changed, or? > > I was told on IRC not to use pdbedit for changing the password aging > information in Samba, but to instead use "net sam" to set policy. > > You should be able to set the maximum password age using the following > command: > > # net sam policy set "maximum password age" 4294967294 > > You can set the following policy attributes this way (this is output > from "net sam policy list"): > > min password length > password history > user must logon to change password > maximum password age > minimum password age > lockout duration > reset count minutes > bad lockout attempt > disconnect time > refuse machine password change > > HTH, > Mike > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
