[lxc-devel] LXD/LXC container: SAMBA AD installation fail during configuration

Serge Hallyn serge.hallyn at ubuntu.com
Fri Nov 13 17:25:25 UTC 2015

Quoting Hudson FAS (hudsonfas at gmail.com):
> After created the container  "dcserv", and install "samba smbclient
> krb5-user", the following command resulted errors:
> You are not root or your system do not support xattr, using tdb backend for
> attributes.

> xattr_tdb_removexattr() failed to get vfs_handle->data!
> process_usershare_file: share name unknown service (snum == -1) contains
> invalid characters (any of %<>*?|/\+=;:",)
> Security context active token stack underflow!

...  sounds like a bug in the xattr-tdb code in samba, though i could be
wrong.  Does it fix the issue if you run as a privileged container?

lxc config set sambacontainer security.privileged true

Do you happen to know which xattrs it is trying to set?


More information about the lxc-devel mailing list