guelfey / go.dbus

Native Go bindings for D-Bus
BSD 2-Clause "Simplified" License
124 stars 42 forks source link

Send uid rather than username when authenticating via EXTERN #48

Open alexlarsson opened 10 years ago

alexlarsson commented 10 years ago

This helps in docker where the /etc/passwd on the container side may not match the host one, so verification will fail. There is no advantage of giving the username here anyway, its just less efficient.

philips commented 10 years ago

lgtm!

crosbymichael commented 10 years ago

Any update on this PR?

alexlarsson commented 10 years ago

@crosbymichael Its not really required for current docker. It was needed when i used dbus to talk to the dockerinit. Still, I think it is the right thing to do.

philips commented 10 years ago

This has been merged into github.com/godbus/dbus.