iudemar
(usa Slackware)
Enviado em 11/12/2021 - 09:36h
Amarildo eu tentei hoje realizar a compilação normal como AD, seguindo o video postado. Na hora do provisionamento do AD tenho o seguinte erro:
samba-tool domain provision --use-rfc2307 --interactive
Realm: PROVES.LAN
Domain [PROVES]:
Server Role (dc, member, standalone) [dc]:
DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]:
DNS forwarder IP address (write 'none' to disable forwarding) [10.0.5.1]:
Administrator password:
Retype password:
INFO 2021-12-11 12:26:22,650 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #2105: Looking up IPv4 addresses
INFO 2021-12-11 12:26:22,651 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #2122: Looking up IPv6 addresses
WARNING 2021-12-11 12:26:22,651 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #2129: No IPv6 address will be assigned
INFO 2021-12-11 12:26:23,006 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #2273: Setting up share.ldb
INFO 2021-12-11 12:26:23,326 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #2277: Setting up secrets.ldb
INFO 2021-12-11 12:26:23,537 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #2282: Setting up the registry
INFO 2021-12-11 12:26:24,508 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #2285: Setting up the privileges database
INFO 2021-12-11 12:26:24,968 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #2288: Setting up idmap db
INFO 2021-12-11 12:26:25,293 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #2295: Setting up SAM db
INFO 2021-12-11 12:26:25,357 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #880: Setting up sam.ldb partitions and settings
INFO 2021-12-11 12:26:25,357 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #892: Setting up sam.ldb rootDSE
INFO 2021-12-11 12:26:25,414 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #1305: Pre-loading the Samba 4 and AD schema
Unable to determine the DomainSID, can not enforce uniqueness constraint on local domainSIDs
INFO 2021-12-11 12:26:25,546 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #1383: Adding DomainDN: DC=proves,DC=lan
INFO 2021-12-11 12:26:25,621 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #1415: Adding configuration container
INFO 2021-12-11 12:26:25,691 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #1430: Setting up sam.ldb schema
INFO 2021-12-11 12:26:29,574 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #1448: Setting up sam.ldb configuration data
INFO 2021-12-11 12:26:29,785 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #1489: Setting up display specifiers
INFO 2021-12-11 12:26:32,382 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #1497: Modifying display specifiers and extended rights
INFO 2021-12-11 12:26:32,432 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #1504: Adding users container
INFO 2021-12-11 12:26:32,434 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #1510: Modifying users container
INFO 2021-12-11 12:26:32,435 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #1513: Adding computers container
INFO 2021-12-11 12:26:32,436 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #1519: Modifying computers container
INFO 2021-12-11 12:26:32,437 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #1523: Setting up sam.ldb data
INFO 2021-12-11 12:26:32,628 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #1553: Setting up well known security principals
INFO 2021-12-11 12:26:32,685 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #1567: Setting up sam.ldb users and groups
INFO 2021-12-11 12:26:33,102 pid:371134 /usr/local/samba/lib/python3.7/site-packages/samba/provision/__init__.py #1575: Setting up self join
Repacking database from v1 to v2 format (first record CN=ms-TAPI-Protocol-Id,CN=Schema,CN=Configuration,DC=proves,DC=lan)
Repack: re-packed 10000 records so far
Repacking database from v1 to v2 format (first record CN=subnetContainer-Display,CN=40E,CN=DisplaySpecifiers,CN=Configuration,DC=proves,DC=lan)
Repacking database from v1 to v2 format (first record CN=2951353e-d102-4ea5-906c-54247eeec741,CN=Operations,CN=DomainUpdates,CN=System,DC=proves,DC=lan)
Security context active token stack underflow!
===============================================================
INTERNAL ERROR: Security context active token stack underflow! in pid 371134 (4.14.0)
If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider reporting this bug, see
https://wiki.samba.org/index.php/Bug_Reporting
===============================================================
PANIC (pid 371134): Security context active token stack underflow! in 4.14.0
BACKTRACE: 64 stack frames:
#0 /usr/local/samba/lib/libsamba-util.so.0(log_stack_trace+0x2e) [0x7f939fb33685]
#1 /usr/local/samba/lib/libsamba-util.so.0(smb_panic_log+0x1b1) [0x7f939fb3360a]
#2 /usr/local/samba/lib/libsamba-util.so.0(smb_panic+0x18) [0x7f939fb33625]
#3 /usr/local/samba/lib/private/libsmbd-base-samba4.so(sec_ctx_active_token+0x92) [0x7f939ceed0e9]
#4 /usr/local/samba/lib/private/libsmbd-base-samba4.so(get_current_nttok+0x2e) [0x7f939cecf67b]
#5 /usr/local/samba/lib/private/libsmbd-base-samba4.so(try_chown+0x7a) [0x7f939cf004b1]
#6 /usr/local/samba/lib/private/libsmbd-base-samba4.so(set_nt_acl+0x3c8) [0x7f939cf009d7]
#7 /usr/local/samba/lib/private/libsmbd-base-samba4.so(+0x2a8685) [0x7f939d029685]
#8 /usr/local/samba/lib/private/libsmbd-base-samba4.so(smb_vfs_call_fset_nt_acl+0x58) [0x7f939cef3c42]
#9 /usr/local/samba/lib/private/libsmbd-base-samba4.so(+0x29e2e7) [0x7f939d01f2e7]
#10 /usr/local/samba/lib/private/libsmbd-base-samba4.so(fset_nt_acl_common+0x4f7) [0x7f939d01fc25]
#11 /usr/local/samba/lib/vfs/acl_xattr.so(+0x2087) [0x7f939a64d087]
#12 /usr/local/samba/lib/private/libsmbd-base-samba4.so(smb_vfs_call_fset_nt_acl+0x58) [0x7f939cef3c42]
#13 /usr/local/samba/lib/python3.7/site-packages/samba/samba3/smbd.cpython-37m-x86_64-linux-gnu.so(+0x2ed5) [0x7f939d175ed5]
#14 /usr/local/samba/lib/python3.7/site-packages/samba/samba3/smbd.cpython-37m-x86_64-linux-gnu.so(+0x443e) [0x7f939d17743e]
#15 /usr/bin/python3(_PyMethodDef_RawFastCallKeywords+0x305) [0x5d8985]
#16 /usr/bin/python3() [0x54b330]
#17 /usr/bin/python3(_PyEval_EvalFrameDefault+0x13ae) [0x54f45e]
#18 /usr/bin/python3(_PyEval_EvalCodeWithName+0x252) [0x54bcc2]
#19 /usr/bin/python3(_PyFunction_FastCallKeywords+0x482) [0x5d94f2]
#20 /usr/bin/python3() [0x54b1f0]
#21 /usr/bin/python3(_PyEval_EvalFrameDefault+0x13ae) [0x54f45e]
#22 /usr/bin/python3(_PyEval_EvalCodeWithName+0x8b8) [0x54c328]
#23 /usr/bin/python3(_PyFunction_FastCallKeywords+0x482) [0x5d94f2]
#24 /usr/bin/python3(_PyEval_EvalFrameDefault+0x4fc) [0x54e5ac]
#25 /usr/bin/python3(_PyEval_EvalCodeWithName+0x8b8) [0x54c328]
#26 /usr/bin/python3(_PyFunction_FastCallKeywords+0x482) [0x5d94f2]
#27 /usr/bin/python3(_PyEval_EvalFrameDefault+0x4fc) [0x54e5ac]
#28 /usr/bin/python3(_PyEval_EvalCodeWithName+0x252) [0x54bcc2]
#29 /usr/bin/python3(_PyFunction_FastCallKeywords+0x482) [0x5d94f2]
#30 /usr/bin/python3() [0x54b1f0]
#31 /usr/bin/python3(_PyEval_EvalFrameDefault+0x13ae) [0x54f45e]
#32 /usr/bin/python3(_PyEval_EvalCodeWithName+0x252) [0x54bcc2]
#33 /usr/bin/python3(_PyFunction_FastCallKeywords+0x482) [0x5d94f2]
#34 /usr/bin/python3() [0x54b1f0]
#35 /usr/bin/python3(_PyEval_EvalFrameDefault+0x13ae) [0x54f45e]
#36 /usr/bin/python3(_PyEval_EvalCodeWithName+0x252) [0x54bcc2]
#37 /usr/bin/python3(_PyFunction_FastCallDict+0x34e) [0x5da6fe]
#38 /usr/bin/python3() [0x4d97e2]
#39 /usr/bin/python3(PyObject_Call+0x56) [0x5dc4f6]
#40 /usr/bin/python3(_PyEval_EvalFrameDefault+0x18d7) [0x54f987]
#41 /usr/bin/python3(_PyEval_EvalCodeWithName+0x252) [0x54bcc2]
#42 /usr/bin/python3(_PyFunction_FastCallDict+0x34e) [0x5da6fe]
#43 /usr/bin/python3() [0x4d97e2]
#44 /usr/bin/python3(PyObject_Call+0x56) [0x5dc4f6]
#45 /usr/bin/python3(_PyEval_EvalFrameDefault+0x18d7) [0x54f987]
#46 /usr/bin/python3(_PyEval_EvalCodeWithName+0x252) [0x54bcc2]
#47 /usr/bin/python3(_PyFunction_FastCallDict+0x34e) [0x5da6fe]
#48 /usr/bin/python3() [0x4d97e2]
#49 /usr/bin/python3(PyObject_Call+0x56) [0x5dc4f6]
#50 /usr/bin/python3(_PyEval_EvalFrameDefault+0x18d7) [0x54f987]
#51 /usr/bin/python3(_PyEval_EvalCodeWithName+0x252) [0x54bcc2]
#52 /usr/bin/python3(_PyFunction_FastCallDict+0x34e) [0x5da6fe]
#53 /usr/bin/python3() [0x4d97e2]
#54 /usr/bin/python3(PyObject_Call+0x56) [0x5dc4f6]
#55 /usr/bin/python3(_PyEval_EvalFrameDefault+0x18d7) [0x54f987]
#56 /usr/bin/python3(_PyEval_EvalCodeWithName+0x252) [0x54bcc2]
#57 /usr/bin/python3(PyEval_EvalCode+0x23) [0x54e0a3]
#58 /usr/bin/python3() [0x630ce2]
#59 /usr/bin/python3(PyRun_FileExFlags+0x97) [0x630d97]
#60 /usr/bin/python3(PyRun_SimpleFileExFlags+0x17f) [0x6319ff]
#61 /usr/bin/python3() [0x65432e]
#62 /usr/bin/python3(_Py_UnixMain+0x2e) [0x65468e]
#63 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f93a049509b]
Can not dump core: corepath not set up
****** Só uma observação, essa máquina que estou usando é um servidor dentro de um PROXMOX ******
Complicado, parece que vai mas num vai..