[PATCH] fix for bug 11600

Stefan Metzmacher metze at samba.org
Fri Nov 13 13:43:16 UTC 2015


Hi Rowland,

> A user changed the name of the default domain policy, when he tried to
> add another a DC, the join failed. This patch will fix this, it changes
> the search from the displayname (which can change) to the name (which
> cannot change). The patch also changes the  default domain controllers
> policy search, for the same reason.

Can you please use

expression="(name=%s)" % DEFAULT_POLICY_GUID,

DEFAULT_POLICY_GUID and DEFAULT_DC_POLICY_GUID are already defined
in python/samba/provision/__init__.py

Thanks!
metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20151113/6bb17819/signature.sig>


More information about the samba-technical mailing list