From: kaari on
Hi all,

I have setup O.LDAP and samba on SuSE. when i try to set policies
(password) the YAST tools won't work so then i found this "pdbedit" to
set policies. Really nice one.

My problem is.. i need to force my users (every one) to change their
default passwords at the first login. But there is no way i can do it
with pdbedit or YAST.

I set min pw length, min pw age (pw can change..value), max pw age but
i can't set the above option.

I need to set it to whole users but not only few. I have tried the
following but it also gave me nothing.

"pdbedit -u user --pwd-must-change-time 0"
followed by

"pdbedit -P "maximum password age" -C 0"

but the new user also didn't get any message regarding password
changing.

Please can anyone help me on this..

Thanks in Advance..