Hi, I'm using three Windows Server 2012R1 (1x Terminalserver-License-Server+Citrix Studio, 2x Terminalserver-Sessionhosts+Citrix VDA) and a debian Server with samba4 running on. I used the following How-To: http://blog.virtualarchitect.nl/2014/01/how-to-configure-rds-2012-licensing-in-a-citrix-xendesktop-7-scenario/comment-page-1/#comment-24342 But the two Terminalserver-Sessionhosts are not using the Terminalserver-License-Server for licensing and I don't know why. I already acitvated the RDP-CALs on the License-Server, and set the correct GPO entries to tell the Terminalserver-Sessionhosts to use the License-Server for licensing (I've tried hostname, ip, fqdn), and I already put the Terminalserver-Sessionhosts zu the local group "RDS-Endpointserver". The GPO settings are assumed (checked registry on the terminalservers). The following roles and features are installed on my windows servers: terminalserver-license-server: Remotedesktop-licensing, Remotedesktop-Sessionhost, IIS, RSAT-Tools terminalserver1: Remotedestkop-Sessionhost, RSAT-Tools terminalserver2: Remotedestkop-Sessionhost, RSAT-Tools I've also tried to delete the test-license registry-key as written in the How-To, but nothing changed. All three Windows Servers are members of the samba4 domain. Does anybody has an similar setup working ? Need help BR, martin
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: https://bugzilla.samba.org/show_bug.cgi?id=9810 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. Regards, Marc
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: https://bugzilla.samba.org/show_bug.cgi?id=9810 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. Regards, Marc -- 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