[Samba] Windows prompt for password complexity
monyo at monyo.com
Mon Apr 25 11:32:52 MDT 2011
From: Tom Lobato <tomlobato at gmail.com>
Date: Sun, 24 Apr 2011 13:35:22 -0300
> On 24-04-2011 13:26, Tom Lobato wrote:
> > "check password script" cannot do more than return status 0 or != 0
> > to tell samba about check result. Would be nice if this could return the
> > custom error message to Samba, so it could tell the user properly.
> > Is there some way to customize this message?
No, Samba return only a status code such as
NT_STATUS_PASSWORD_RESTRICTION or DOMAIN_PASSWORD_COMPLEX ...
The error message is choosen by the client based on received status
code, so you cannnot customize it.
TAKAHASHI Motonobu <monyo at samba.gr.jp>
More information about the samba