LXD container in multi-user systems. Users from AD

I have setup the multi-user container system following this guide


I tried with local users and it works fine.

But my computer is member of an AD domain (joined via SSSD), I have added the domain users to the “users” group, but when I execute lxd info I get this error:

Error: Get "http://unix.socket/1.0": read unix @->/var/snap/lxd/common/lxd-user/unix.socket: read: connection reset by peer

Yeah, there’s an issue with Go’s nss package and accessing SSSD from within the snap environment. I think I have an idea on how to solve that and may take a stab at it today.

Did you found something to solve it?

It’s next on my todo