Hi Martins,
----- Original Message -----
> Hi,
> I am trying to write some QA for hotproc and ran into a stumbling
> block with dbpma in how it treats permissions. I have a simple access
> check in hotproc where I check for the context of the requester to be
> root in order to allow stores and this seems to work fine with pmstore:
>
> [vagrant@pcptest pcpdec]$ pmstore hotproc.control.config "uid=0"
> hotproc.control.config old value="" new value="uid=0"
> hotproc.control.config: pmStore: No permission to perform requested
> operation
>
> [vagrant@pcptest pcpdec]$ sudo pmstore hotproc.control.config "uid=0"
> hotproc.control.config old value="" new value="uid=0"
> [vagrant@pcptest pcpdec]$ pmval -s 1 hotproc.control.config
>
>
> But I can't get this to work at all with dbpmda:
>
Ah - is the problem that you need to set the uid connection attribute?
e.g. the way Lukas has done it in qa/967? (the client credentials are
passed over the wire via "attribute" PDUs)
cheers.
--
Nathan
|