node-dbus-next
node-dbus-next copied to clipboard
Overriding uid for tcp connections
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.
I would accept this, but not as an env var, but an arg to the message bus constructor options called authUid.