[Samba] sambaPwdMustChange

Collen Blijenberg <MLHJ> systeembeheer at hermanjordan.nl
Thu May 27 06:47:29 GMT 2004


Hmm.. i'm wondering the follow, there are some
passwd backends, where that lame usermanager from
micr0s0ft doen't work (https://bugzilla.samba.org/show_bug.cgi?id=892)

in that case, you need the pdbediter...
but "pdbedit -P "maximum password age" -C 7776000"
is that used for all users, or just 1.. ??
let's say that i issue the above command, does all my users have
to change after 90 day's ?? or just 1 dude.. (coz' there is no
username in the command..)

also, i still need the command for my GUI usermanager..!
l8r..
-----------------------------------------------------
Collen Blijenberg   (Montessori Lyceum Herman Jordan)

Wednesday, May 26, 2004, 10:16:56 PM, you wrote:

>> Oh,
>>
>> Its done by MS Windows. I think the counter start warns at 15 days before
>> password change.
>>
>> > Yes, I try it. It is cool, I set in samba to 90 days and I see it in
>> > usrmgr. :)
>> >
>> > But how can I send message to user (that he must change password) when
>>
>> user
>>
>> > log into?
>> >
>> > > Hi guy,
>> > >
>> > > You can use Micro$oft usrmgr to set account policies to you domain.
>> > > > Hi guys!
>> > > >
>> > > > I wanna to setup my 3.0.1 samba PDC (with tdbsam) to force user to
>>
>> change
>>
>> > > > password.
>> > > >
>> > > > I read this:
>> > > >
>> > > > "When I set password lifetime to, say 90 days using
>> > > > pdbedit -P "maximum password age" -C 7776000
>> > > >
>> > > > Attribute "Password must change" is calculated using this formula :
>> > > >
>> > > > sambaPwdMustChange = sambaPwdLastSet + 90 days.
>> > > >
>> > > > Is it possible to get "warning message" before actually force user to
>> > > > change their password, I mean is it possible to get this formula:
>> > > >
>> > > > sambaPwdMustChange = (sambaPwdLastSet + 90 days) - 10 days"
>> > > >
>> > > > pdbedit setting is okay.
>> > > >
>> > > > but what about sambaPwdMustChange? Should I write it to my smb.conf?
>> > > >
>> > > > But, I write it and testparm says:
>> > > >    Unknown parameter encountered: "sambaPwdMustChange"
>> > > >    Ignoring unknown parameter "sambaPwdMustChange"
>> > > >
>> > > > So, how can I do this?
>> > > >




More information about the samba mailing list