[Thinlinc-technical] explicit_agentselection : get list from (large) file or LDAP-lookup ?

Peter Astrand astrand at cendio.se
Thu Nov 12 10:50:53 CET 2015


On Wed, 11 Nov 2015, Rob De Langhe wrote:

> hi all,
> 
> the config entry "explicit_agentselection" in the master server's file
> "/opt/thinlinc/etc/conf.d/vsmserver.hconf" currently takes space-delimited pairs of
> username:agentname
> combinations.
> 
> To keep this lovely method of explicit agent allocation per user scalable for many (!) users, could you please
> provide a way to get such list from an external (large) file, or -even much better- lookup the entries from an
> LDAP repository ?
> 
> Would be very cool to have TL work in combination with a user namespace from LDAP...

It's possible to have a separate file using the standard Hiveconf 
functionality:

* Comment out explicit_agentselection in vsmserver.hconf

* Create a new file, say x-agentselection.hconf, with:

[/vsmserver]
explicit_agentselection=username1:agentname1 username2:agentname2


Wrt LDAP support, we'd like to avoid having a dependency for a particular 
directory server in the product itself. One solution could be to create a 
cron job that generates the file from LDAP.


Br, 
---
Peter Astrand		ThinLinc Chief Developer
Cendio AB		https://cendio.com
Teknikringen 8		https://twitter.com/ThinLinc
583 30 Linkoping	https://facebook.com/ThinLinc
Phone: +46-13-214600	https://google.com/+CendioThinLinc



More information about the Thinlinc-technical mailing list