Hi, Andrew! Sure, I can do the follow-up. Shall we continue on the samba-technical or there is a more dedicated list for CTDB developers?
With best regards, Timur On Wed, Dec 13, 2017 at 6:50 AM, Andrew Bartlett <abart...@samba.org> wrote: > On Wed, 2017-12-13 at 06:03 +0100, Timur I. Bakeyev wrote: > > Hi, guys! > > (skip really helpful background) > > > I wonder, would it be possible to replace getsockopt(2) here with the > > sendmsg()/recvmsg() and 'SCM_CREDS' type of message, like described > > here, for ex: > > > > https://davejingtian.org/2015/02/17/retrieve-pid-from-the-packet-in-u > > nix-domain-socket-a-complete-use-case-for-recvmsgsendmsg/ > > > > This seems be less Linux-specific way of obtaining remote peer PID. > > Thanks Timur, > > Are you able to take charge of this, bring this up on samba-technical > and work with the CTDB folks to find a fix? > > Thanks, > > Andrew Bartlett > -- > Andrew Bartlett http://samba.org/~abartlet/ > Authentication Developer, Samba Team http://samba.org > Samba Developer, Catalyst IT http://catalyst.net.nz/ > services/samba > >