[PATCH] Fix Windows Server 2008 R2 Foundation memberserver reboot

Arvid Requate requate at univention.de
Mon Feb 16 07:03:13 MST 2015


Hello,

systems running "Windows Server 2008 R2 Foundation" joined as memberserver 
into a Samba 4.2 ADDS show this error popup:

    The server did not finish checking the license compliance.
    If the server is joined to a domain, make sure that the server
    can connect to a domain controller. If the license compliant
    check cannot be completed, the server will automatically
    shut down in 9 day(s), 7 hour(s) 30 minute(s).

The attached patch fixed this issue for us. Details about the patch can be 
found in the commit message. Attached you may also find the corresponding 
client log entries exported from the MS Event Viewer, for the failure as well 
as for the success case.

Since I didn't find detailed documentation about the behavior expected from a 
GC LDAP in this case (e.g. in [MS-ADTS]), my patch attempts to be very specific 
about the scope of the modified response to minimize collateral effects. 
Probably more research is required in this area, but patch helps to address 
this issue.

Cheers,
Arvid

-- 
Arvid Requate
Open Source Software Engineer

Univention GmbH
be open.
Mary-Somerville-Str.1
28359 Bremen
Tel. : +49 421 22232-52
Fax : +49 421 22232-99

requate at univention.de
http://www.univention.de

Geschäftsführer: Peter H. Ganten
HRB 20755 Amtsgericht Bremen
Steuer-Nr.: 71-597-02876
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-S4-dsdb-GC-LDAP-should-not-return-objects-from-Domai.patch
Type: text/x-patch
Size: 4595 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150216/5faa84e8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Server Infrastructure Licensing - fail.log
Type: text/x-log
Size: 1712 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150216/5faa84e8/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Server Infrastructure Licensing - success.log
Type: text/x-log
Size: 840 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150216/5faa84e8/attachment-0002.bin>


More information about the samba-technical mailing list