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

Hudson FAS hudsonfas at gmail.com
Thu Nov 12 19:06:36 UTC 2015


After created the container  "dcserv", and install "samba smbclient
krb5-user", the following command resulted errors:

root at dcserv:/etc/samba# samba-tool domain provision --use-rfc2307
--interactive
Realm: MYDOM.NET
 Domain [MYDOM]: MYDOM
 Server Role (dc, member, standalone) [dc]: dc
 DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE)
[SAMBA_INTERNAL]:
 DNS forwarder IP address (write 'none' to disable forwarding)
[10.192.168.11]:
Administrator password:
Retype password:
You are not root or your system do not support xattr, using tdb backend for
attributes.
not using extended attributes to store ACLs and other metadata. If you
intend to use this provision in production, rerun the script as root on a
system supporting xattrs                       .
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up share.ldb
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Adding DomainDN: DC=mydom,DC=net
Adding configuration container
Setting up sam.ldb schema
Setting up sam.ldb configuration data
Setting up display specifiers
Modifying display specifiers
Adding users container
Modifying users container
Adding computers container
Modifying computers container
Setting up sam.ldb data
Setting up well known security principals
Setting up sam.ldb users and groups
Setting up self join
process_usershare_file: share name unknown service (snum == -1) contains
invalid characters (any of %<>*?|/\+=;:",)
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!
PANIC (pid 5392): Security context active token stack underflow!
BACKTRACE: 42 stack frames:
 #0 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(log_stack_trace+0x1a)
[0x7f4d2fc0c12a]
 #1 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x20)
[0x7f4d2fc0c200]
 #2 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x2f)
[0x7f4d3f3fdb7f]
 #3
/usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(sec_ctx_active_token+0x6a)
[0x7f4d2dab89ca]
 #4 /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(try_chown+0xa9)
[0x7f4d2dac4229]
 #5 /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(set_nt_acl+0x13e)
[0x7f4d2dac43be]
 #6 /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(+0x1c1bd1)
[0x7f4d2db7bbd1]
 #7
/usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(smb_vfs_call_fset_nt_acl+0x2d)
[0x7f4d2dabca2d]
 #8 /usr/lib/x86_64-linux-gnu/samba/vfs/acl_xattr.so(+0x41ef)
[0x7f4d1af5f1ef]
 #9
/usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(smb_vfs_call_fset_nt_acl+0x2d)
[0x7f4d2dabca2d]
 #10 /usr/lib/python2.7/dist-packages/samba/samba3/smbd.so(+0x24b4)
[0x7f4d2deca4b4]
 #11 /usr/bin/python2.7(PyEval_EvalFrameEx+0x79ab) [0x4c15ab]
 #12 /usr/bin/python2.7(PyEval_EvalCodeEx+0x416) [0x4b7986]
 #13 /usr/bin/python2.7(PyEval_EvalFrameEx+0x58e9) [0x4bf4e9]
 #14 /usr/bin/python2.7(PyEval_EvalFrameEx+0x550f) [0x4bf10f]
 #15 /usr/bin/python2.7(PyEval_EvalCodeEx+0x416) [0x4b7986]
 #16 /usr/bin/python2.7(PyEval_EvalFrameEx+0x58e9) [0x4bf4e9]
 #17 /usr/bin/python2.7(PyEval_EvalCodeEx+0x416) [0x4b7986]
 #18 /usr/bin/python2.7(PyEval_EvalFrameEx+0x58e9) [0x4bf4e9]
 #19 /usr/bin/python2.7(PyEval_EvalCodeEx+0x416) [0x4b7986]
 #20 /usr/bin/python2.7() [0x4d3cf3]
 #21 /usr/bin/python2.7(PyObject_Call+0x3e) [0x4a45de]
 #22 /usr/bin/python2.7(PyEval_EvalFrameEx+0x2dbc) [0x4bc9bc]
 #23 /usr/bin/python2.7(PyEval_EvalCodeEx+0x416) [0x4b7986]
 #24 /usr/bin/python2.7() [0x4d3bb9]
 #25 /usr/bin/python2.7(PyObject_Call+0x3e) [0x4a45de]
 #26 /usr/bin/python2.7(PyEval_EvalFrameEx+0x2dbc) [0x4bc9bc]
 #27 /usr/bin/python2.7(PyEval_EvalCodeEx+0x416) [0x4b7986]
 #28 /usr/bin/python2.7() [0x4d3bb9]
 #29 /usr/bin/python2.7(PyObject_Call+0x3e) [0x4a45de]
 #30 /usr/bin/python2.7(PyEval_EvalFrameEx+0x2dbc) [0x4bc9bc]
 #31 /usr/bin/python2.7(PyEval_EvalCodeEx+0x416) [0x4b7986]
 #32 /usr/bin/python2.7() [0x4d3bb9]
 #33 /usr/bin/python2.7(PyObject_Call+0x3e) [0x4a45de]
 #34 /usr/bin/python2.7(PyEval_EvalFrameEx+0x2dbc) [0x4bc9bc]
 #35 /usr/bin/python2.7(PyEval_EvalCodeEx+0x416) [0x4b7986]
 #36 /usr/bin/python2.7() [0x4e8f3f]
 #37 /usr/bin/python2.7(PyRun_FileExFlags+0x82) [0x4e3b02]
 #38 /usr/bin/python2.7(PyRun_SimpleFileExFlags+0x186) [0x4e22e6]
 #39 /usr/bin/python2.7(Py_Main+0x5e1) [0x490fe1]
 #40 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)
[0x7f4d4039aa40]
 #41 /usr/bin/python2.7(_start+0x29) [0x490919]
Can not dump core: corepath not set up
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20151112/a36deae1/attachment.html>


More information about the lxc-users mailing list