node-dbus-next icon indicating copy to clipboard operation
node-dbus-next copied to clipboard

Overriding uid for tcp connections

Open martenjacobs opened this issue 4 years ago • 1 comments

Hi, I'm using node-dbus-next to connect to a remote dbus server from macOS. To successfully perform authentication, the correct uid (1000) must be passed with the EXTERNAL authentication handshake. However, the default user account id on macOS is 501. It would be really helpful if there would be some way of overriding the uid for authentication purposes, for example by passing an env var.

martenjacobs avatar May 12 '21 08:05 martenjacobs

I would accept this, but not as an env var, but an arg to the message bus constructor options called authUid.

acrisci avatar Sep 20 '21 00:09 acrisci