On Wed, 2013-04-03 at 13:51 -0300, Celso Viana wrote:> Hi all,
>
> I have installed the Samba 4, i execute the "domain provision"
command, and
> also have disabled the password complexity and decreases the minimum
> password length to 3, then I joined a Windows Server 2008 as a DC for the
> domain samba. After a few minutes the password complexity and minimum
> values are reset to default. Anyone know why?
Very interesting!
My guess is that the Windows DC examined the group policy objects for
the domain (perhaps some it provided itself) and found that the password
policy was set.
Samba doesn't know about group policy as a DC, so can't use that as the
authoritative source, but it reads the setting in the directory that
Windows would update.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org