Hi Gasper,
Gasper Jansa wrote:
I have been doing some testes with R.3.14.9-pre1 and gateway. I have no
problems with alarm acknowledgments trough gateway.
Great - thanks.
But I have another problem related to access security. Access file
looks like this:
HAG(GATEWAYS) { CSL85 }
ASG(DEFAULT) {
RULE(1,READ) {
HAG(GATEWAYS) }
}
This works (I can read from CSL85) with R.3.14.8.2 but I don't have read
access from CSL85 if I build gateway with R.3.14.9-pre1 (it is the same
also with R2.14.8 from CVS from 17.11). I saw in release notes that
something was changed in access security but I am unsure what should I
change in this access file to have read access again with R.3.14.9-pre1.
This access file is used on gateway not on the ioc. Ioc has no access
security switched on.
That is a bug I inadvertently introduced during my changes to asLib,
which I discovered while running Marty Kraimer's test suite and fixed a
few days ago. The following diff shows the change you need, in src/as:
Index: asLibRoutines.c
===================================================================
RCS file: /net/phoebus/epicsmgr/cvsroot/epics/base/src/as/asLibRoutines.c,v
diff -u -b -r1.35.2.10 -r1.35.2.11
--- asLibRoutines.c 16 Nov 2006 17:26:38 -0000 1.35.2.10
+++ asLibRoutines.c 28 Nov 2006 15:32:06 -0000 1.35.2.11
@@ -1177,7 +1177,7 @@
if (!phag) return 0;
phagname = asCalloc(1, sizeof(HAGNAME)+strlen(host)+1);
phagname->host = (char *)(phagname+1);
- for (i = 0; i < strlen(phagname->host); i++) {
+ for (i = 0; i < strlen(host); i++) {
phagname->host[i] = (char)tolower((int)host[i]);
}
ellAdd(&phag->list, (ELLNODE *)phagname);
Please let me know if this does /not/ fix the problem.
Thanks again,
- Andrew
--
There is considerable overlap between the intelligence of the smartest
bears and the dumbest tourists -- Yosemite National Park Ranger
- Replies:
- Re: Next R3.14.9 version: -pre2 or -RC1? Gasper Jansa
- References:
- Next R3.14.9 version: -pre2 or -RC1? Andrew Johnson
- Navigate by Date:
- Prev:
Re: Next R3.14.9 version: -pre2 or -RC1? Ralph Lange
- Next:
Re: Next R3.14.9 version: -pre2 or -RC1? Andrew Johnson
- Index:
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Possible delay to R3.14.9-pre2 Andrew Johnson
- Next:
Re: Next R3.14.9 version: -pre2 or -RC1? Gasper Jansa
- Index:
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|