Hi Samba-Package Team, Description of problem: ImportError: cannot import name 'smb' from 'samba' (/usr/lib64/python3.7/site-packages/samba/init.py) In this case, running /usr/libexec/fleet-commander-admin crashes with the above error A simple >> from samba import smb in python cmd triggers the same error How reproducible: >> from samba import smb Actual results: smb module missing (this works for example on rhel7) Expected results: smb should be loadable Additional info: fleetcommander upstrem github issue created (https://github.com/fleet-commander/fc-admin/issues/237) Thanks and Regards, David
The problem is python3-samba package has not the smb module in it.
The SMB client bindings which came from the Samba AD code have been removed, as they don't support SMB2+. You should use the client bindings we offer for Samba FS which support SMB1, SMB2 and SMB3. from samba import libsmb Those are available since 2012.