Hello all;
I have some issue with samba4 ADDC in my network. I realized of it today.
When I run the samba- tool command I have this:
___________
root at gtmad1 samba]# samba-tool
ERROR(<class 'ImportError'>): uncaught exception -
/usr/local/samba/lib/private/libcli-smb-common-samba4.so: version
`SAMBA_4.13.2' not found (required by
/usr/local/samba/lib64/python3.6/site-packages/samba/samba3/libsmb_samba_internal.cpython-36m-x86_64-linux-gnu.so)
File "/usr/local/samba/bin/samba-tool", line 45, in <module>
retval = cmd._run("samba-tool", subcommand, *args)
File
"/usr/local/samba/lib64/python3.6/site-packages/samba/netcmd/__init__.py",
line 259, in _run
cmd = self.subcommands[cmd_name]
File
"/usr/local/samba/lib64/python3.6/site-packages/samba/netcmd/main.py",
line 36, in getitem
fromlist=['cmd_%s' % attr]),
File
"/usr/local/samba/lib64/python3.6/site-packages/samba/netcmd/delegation.py",
line 23, in <module>
from samba import provision
File
"/usr/local/samba/lib64/python3.6/site-packages/samba/provision/__init__.py",
line 76, in <module>
from samba.ntacls import setntacl, getntacl, dsacl2fsacl
File
"/usr/local/samba/lib64/python3.6/site-packages/samba/ntacls.py", line
35, in <module>
from samba.samba3 import libsmb_samba_internal as libsmb
__________
This Server run samba4.14.3
____________
[root at gtmad1 samba]# samba --version
Version 4.14.3
________________
The service is running without problems (I suppose that)
_________________
[root at gtmad1 samba]# systemctl status samba-ad-dc.service
? samba-ad-dc.service - Samba Active Directory Domain Controller
Loaded: loaded (/etc/systemd/system/samba-ad-dc.service; enabled; vendor
preset: disabled)
Active: active (running) since Mon 2021-05-31 10:54:10 CDT; 2min 25s ago
Process: 21637 ExecStart=/usr/sbin/samba -D (code=exited, status=0/SUCCESS)
Main PID: 21638 (samba)
Tasks: 58 (limit: 26213)
Memory: 241.8M
CGroup: /system.slice/samba-ad-dc.service
??21638 /usr/sbin/samba -D
??21639 /usr/sbin/samba -D
??21640 /usr/sbin/samba -D
??21641 /usr/sbin/samba -D
??21642 /usr/sbin/samba -D
??21643 /usr/sbin/samba -D
??21644 /sbin//smbd -D --option=server role check:inhibit=yes
--foreground
??21645 /usr/sbin/samba -D
??21646 /usr/sbin/samba -D
??21647 /usr/sbin/samba -D
??21648 /usr/sbin/samba -D
??21649 /usr/sbin/samba -D
??21650 /usr/sbin/samba -D
??21651 /usr/sbin/samba -D
??21652 /usr/sbin/samba -D
??21653 /usr/sbin/samba -D
??21654 /usr/sbin/samba -D
??21655 /usr/sbin/samba -D
??21656 /usr/sbin/samba -D
??21657 /usr/sbin/samba -D
??21658 /usr/sbin/samba -D
??21659 /usr/sbin/samba -D
??21660 /usr/sbin/samba -D
??21661 /usr/sbin/samba -D
??21662 /usr/sbin/samba -D
??21663 /usr/sbin/samba -D
??21664 /usr/sbin/samba -D
??21665 /usr/sbin/samba -D
??21666 /usr/sbin/samba -D
??21667 /usr/sbin/samba -D
??21668 /usr/sbin/samba -D
??21669 /usr/sbin/samba -D
??21670 /sbin//winbindd -D --option=server role check:inhibit=yes
--foreground
??21671 /usr/sbin/samba -D
??21672 /usr/sbin/samba -D
??21673 /usr/sbin/samba -D
??21677 /usr/sbin/samba -D
??21679 /usr/sbin/samba -D
??21680 /usr/sbin/samba -D
??21681 /usr/sbin/samba -D
??21682 /usr/sbin/samba -D
??21683 /usr/sbin/samba -D
??21684 /usr/sbin/samba -D
??21685 /usr/sbin/samba -D
??21686 /usr/sbin/samba -D
??21690 /sbin//smbd -D --option=server role check:inhibit=yes
--foreground
.....
_____________
What could be happening?
--
Rommel Rodriguez Toirac
rommelrt at nauta.cu