Univention Bugzilla – Bug 39079
Sysprep joins fail on Samba >= 4.2.0
Last modified: 2015-08-27 18:14:22 CEST
Several customers complained about trouble with unattended join of Windows clients: Ticket#2015021921000117 Ticket#2015040121000263 Ticket#2015080321000501 The last customer had some old logs at hand so a diff of working/not working log was finally possible and he pointed out to the line: -- NOT working NetpJoinDomainOnDs: Passed DC 'dc.customer.de' NOT verified as DNS name 'dc.customer.de' -- vs. working: NetpJoinDomainOnDs: Passed DC 'dc.customer.de' verified as DNS name '\\dc.customer.de' There is a similar report on samba-technical identifying the probably breaking commit as 927a1030d78c25dbc43b6470f9ffe8b5fe664835 <https://lists.samba.org/archive/samba-technical/2015-August/108878.html>
Customer reported that unattend join is possible again with 927a1030d78c25dbc43b6470f9ffe8b5fe664835 removed.
That should be fixed in v4-3-stable by https://git.samba.org/?p=samba.git;a=commit;h=459d1d3fb9a5282d19121eaacba9d611896b37ff which is not yet in v4-2-stable. It should work again in samba >= 4.3.0rc1. - dc_name[0] == '\\'? "\\\\":"", + dc_name[0] != '\\'? "\\\\":"",
Created attachment 7109 [details] reproduce.c For the record: Before I found the missing commit I identified the problem by writing this incredibly sophisticated code. Always a pleasure.
Added 4.0-0-0-ucs/2:4.2.3-1-errata4.0-3/99_bug39079.patch - dc_name[0] == '\\'? "\\\\":"", + dc_name[0] != '\\'? "\\\\":"", YAML: 2015-08-12-samba.yaml
Code review: OK Build log: OK ucs-test: OK YAML: OK
<http://errata.univention.de/ucs/4.0/289.html>