Re: [Thinstation-developer] Fix for ICA bug in Thinstation 2.2.1rc3
Brought to you by:
doncuppjr
From: S. J. v. H. <sv...@dd...> - 2007-09-27 09:54:31
|
On Thu, 2007-09-27 at 09:03 +1000, Trevor Batley wrote: > Quoting "S. J. van Harmelen" <sv...@dd...>: >=20 > > As it turnes out the behavior of the DISABLECTRLALTDEL setting changed > > from ica 9 and up. See the following link for what got me started: > > https://support.citrix.com/article/CTX107919&parentCategoryID=3D147 > > > > When searching some more it turnes out that the behavior is exactly the > > other way around. So forget my first fix, but the file > > packages/ica/etc/rc5.d/S10ica.init should be changed between lines 129 > > and 133 so it lookes like this: > > > > # Enable Smart Card Support > > if [ "`make_caps $ICAX_SMARTCARD`" =3D "ON" ] ; then > > ICAX_DISABLECTRLALTDEL=3D"OFF" > > touch /tmp/smartcard > > else > > ICAX_DISABLECTRLALTDEL=3D"ON" > > fi > > > > Then it works like a charm :) >=20 > Except if you want to set ICA_DISABLECTRLALTDEL... >=20 > Will look at the default being "ON" except when smartcard whilst still =20 > allowing manual entry. >=20 > Is there any time that ICA_SMARTCARD & ICA_DISABLECTRLALTDEL can be =20 > "ON" at the same time? In that case we may still need the dependency... Not according to Citrix: "Setting the value to DisableCtrlAltDel=3DOn, prevents the bypass of the Presentation Server=E2=80=99s initial Ctrl-Alt-D= el dialog (as required for Smart Cards)." So when ICA_DISABLECTRLALTDEL is "ON", it prevents the bypass which is required for Smart Cards and so you then can not use Smart Card Logons. I guess that (at least from Citix's point of view) this setting is only used to enable/disable the use of Smart Card logons. Why else should the Citrix Clients request the file libpcsclite.so as soon as you turn this setting of. IMHO it means that they then expect there to be a Smard Card and so the driver must be loaded. Or (that's the other possibilty) it's a bug in the Citrix client for Linux. I will post this on a Citrix forum and see if it turnes out anything. Sander >=20 > Trevor B > > > > Sorry that this isn't a nice patch you can just add to the package, but > > I don't know how to make such a patch. > > > > Sander > > > > > > > > > > > > On Wed, 2007-09-26 at 12:27 +0200, S. J. van Harmelen wrote: > >> Whoeps... I was just a bit to fast with this. I'll check again and get > >> back to you later. > >> > >> > >> On Wed, 2007-09-26 at 11:40 +0200, S. J. van Harmelen wrote: > >> > Trevor, > >> > > >> > I found a bug in the ICA package. When buiding TS2.2.1 me and Miles > >> > decided to make the pcscd package a dependency of the ica package > >> > because whatever options we chose, ica always asked for libpcsclite.= so. > >> > > >> > libpcsclite.so is only used for smartcard logon, but even if you > >> > disabled that, it still gave a popup requesting the file. > >> > > >> > Now I did a little more searching an found why it keeps wanting this > >> > file. > >> > > >> > The line DisableCtrlAltDel=3D$ICAX_DISABLECTRLALTDEL in the > >> > appsrv.ini.extra.tpl is causing the problem. This is because there i= s no > >> > variable $ICAX_DISABLECTRLALTDEL in the thinstation.conf.xxx files b= y > >> > default. > >> > > >> > This causes the line to be DisableCtrlAltDel=3D in the appsrv.ini. A= nd > >> > only when is says DisableCtrlAltDel=3DOn it will not ask for > >> > libpcsclite.so. > >> > > >> > So I suggest that we add the line ICA_DISABLECTRLALTDEL=3DOn to the > >> > thinstation.conf.sample (and others?) so that by default it will not > >> > need the pcscd package. > >> > > >> > In addition we can then lose the dependency for pcscd in the ica > >> > package. > >> > > >> > Besides this point, I wondered why the line "ica_pnagent firefox" is= in > >> > the dependency file of the ica package. I tried it without this > >> > dependency and ica still worked great. So I quess this should not be > >> > there? > >> > > >> > Sander > >> > > >> > > >> > > >> > --------------------------------------------------------------------= ----- > >> > This SF.net email is sponsored by: Microsoft > >> > Defy all challenges. Microsoft(R) Visual Studio 2005. > >> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >> > _______________________________________________ > >> > Thinstation-developer mailing list > >> > Thi...@li... > >> > https://lists.sourceforge.net/lists/listinfo/thinstation-developer > >> > > > > > > -----------------------------------------------------------------------= -- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Thinstation-developer mailing list > > Thi...@li... > > https://lists.sourceforge.net/lists/listinfo/thinstation-developer > > >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Thinstation-developer mailing list > Thi...@li... > https://lists.sourceforge.net/lists/listinfo/thinstation-developer |