[Samba] samba4 and terminalserver licensing

Martin Feldbacher martin.feldbacher at stegbauer.info
Thu Feb 5 02:49:30 MST 2015

Hi Marc, 

I've already found that bug too, but I don't get this error in my windows event logs. the only entry in the event logs is: 

ID 1043 Warning System Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager 
The Remotedesktop-Sessionhostserver can't connect to the Remotedesktop-Licenseserver. Make sure that the Remotedesktop-Sessionhostserver is member of the Licenseservergroup "RDS-Endpointserver" on the Licenseserver. (self translated from german) 

But the Remotedesktop-Sessionhostservers are member of this local Group "RDS-Endpointserver" on the Licenseserver (checked with lusrmgr.msc) 

Von: "Marc Muehlfeld" <mmuehlfeld at samba.org> 
An: "Martin Feldbacher" <martin.feldbacher at stegbauer.info>, samba at lists.samba.org 
Gesendet: Mittwoch, 4. Februar 2015 19:33:49 
Betreff: Re: [Samba] samba4 and terminalserver licensing 

Hello Martin, 

Am 04.02.2015 um 11:43 schrieb Martin Feldbacher: 
> But the two Terminalserver-Sessionhosts are not using the 
> Terminalserver-License-Server for licensing and I don't know why. 

I don't know anything about Citrix, but maybe the following is the reason: 

Do you have the follwing error in the Windows event log? 
> TerminalServices-Licensing 4105 – The Terminal Services license server 
> cannot update the license attributes for user “<UserName>” in Active 
> Directory Domain “<DomainName>” 

The reason for that is, that Samba don't support the timestamp value the 
msTSExpireDate requires: 


There's a patch attached to the bug report, that applies also for 4.1, 
if you compile your DCs Samba by yourself. 4.2 will have it included. 


Firma Stegbauer datawork GmbH & Co. KG 
Oberjulbachring 9 
84387 Julbach 

Tel.: +49 8571 9251222 
E-Mail: martin.feldbacher at stegbauer.info 
Internet: www.stegbauer.info 

Unternehmenssitz: Julbach 
Handelsregister beim Amtsgericht: Landshut 
Handelsregister-Nummer: HRA 10671 

Persönlich haftende Gesellschafterin: 
Firma Stegbauer datawork Verwaltungs GmbH - Sitz: Julbach 
Handelsregister beim Amtsgericht: Landshut 
Handelsregisternummer: HRB 9147 
Geschäftsführer: Thomas Stegbauer 

More information about the samba mailing list