Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overriding uid for tcp connections #75

Open
martenjacobs opened this issue May 12, 2021 · 1 comment
Open

Overriding uid for tcp connections #75

martenjacobs opened this issue May 12, 2021 · 1 comment

Comments

@martenjacobs
Copy link
Contributor

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.

@acrisci
Copy link
Member

acrisci commented Sep 20, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants