[Samba] "passwd program" directive and windows

Josh Kelley joshkel at gmail.com
Mon Dec 12 16:03:18 GMT 2005


On 12/9/05, Jerome Tournier <jerome.tournier at idealx.com> wrote:
> I'd like to know: if the passord is not conformed with the policy, is there
> a way to return to the windows's user a popup to tell him that there's one
> upper case missing, or ...
> If this is not possible, is there a way to just tell him that security
> policy is not reached ?

You can use the "check password script" smb.conf option to define a
password policy.  Users with too-simple passwords will get an error
message, however, it's not particularly helpful:

"Your password must be at least 8 characters, cannot repeat any of
your previous 0 passwords and must be at least 0 days old.  Please
type a different password.  Type a password which meets these
requirements in both text boxes."

I unfortunately don't know a way around that.

Josh Kelley


More information about the samba mailing list