[Samba] Can't change password change dates with PDBEDIT

Boaz Bezborodko boaz at mirrotek.com
Fri Mar 16 15:10:32 GMT 2007

I'm setting up a Samba server using CentOS 4's (RedHat Enterprise Linux)
standard version (v.3.0101411).  I want to be able to force users to
change their password upon first logging in and to have to change them
after a certain period of time (per user, not system-wide).

The problem is that the pdbedit commands don't seem to be registering at
all in the database.  If I enter the following command:
pdbedit --pwd-must-change-time="2010-01-01" --time-format="%Y-%m-%d"

I still get:
Password last set:    Fri, 16 Mar 2007 10:02:06 GMT
Password can change:  Fri, 16 Mar 2007 10:02:06 GMT
Password must change: Mon, 18 Jan 2038 22:14:07 GMT

How do I control login times?

(I'm moving from a Novel Netware server where these kind of
administration tasks were very easy.  I'm disappointed that it is taking
me so long to get this done.)


More information about the samba mailing list