Re: [systemd-devel] RFC: Passing on initial client user in systemd-userdbd

2022-11-25 Thread Dominik George
Hi Lennart, thanks for your once again fast, yet very thoughtthrough answer! > Does that make sense? Absolutely, yes. The approach brings me a bit farther away from being able to implement it myself, but not too far I guess ;). Cheers, Nik

Re: [systemd-devel] RFC: Passing on initial client user in systemd-userdbd

2022-11-25 Thread Lennart Poettering
On Fr, 25.11.22 15:19, Dominik George ([email protected]) wrote: > Hi, > > I would like to extend the methods of the User/Group Lookup API[1] > with an optional argument "onBehalfOf" that carries the authenticated > user who made the initial method call. > > The argument must only be set by a pri

[systemd-devel] RFC: Passing on initial client user in systemd-userdbd

2022-11-25 Thread Dominik George
Hi, I would like to extend the methods of the User/Group Lookup API[1] with an optional argument "onBehalfOf" that carries the authenticated user who made the initial method call. The argument must only be set by a privileged client. When a client makes a lookup request to the multiplexer, the m