[Samba] samba-tool error just after samba 4.8.0 install
Christophe Borivant
cborivant at devinlec.com
Wed Mar 14 09:40:05 UTC 2018
Hi all,
I just compiled and installed samba 4.8.0 on my centos 6.9 server.
After installation I wanted to run samba-tool dbcheck but it fails with the following message even when running samba-tool --help :
[root at frtlse-srv018 samba-4.8.0]# samba-tool --help
ERROR(<type 'exceptions.SyntaxError'>): uncaught exception - invalid syntax (ms_schema.py, line 280)
File "/usr/bin/samba-tool", line 44, in <module>
retval = cmd._run("samba-tool", subcommand, *args)
File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line 223, in _run
cmd = self.subcommands[cmd_name]
File "/usr/lib64/python2.6/site-packages/samba/netcmd/main.py", line 35, in __getitem__
fromlist=['cmd_%s' % attr]),
File "/usr/lib64/python2.6/site-packages/samba/netcmd/dbcheck.py", line 28, in <module>
from samba.dbchecker import dbcheck
File "/usr/lib64/python2.6/site-packages/samba/dbchecker.py", line 32, in <module>
from samba.descriptor import get_wellknown_sds, get_diff_sds
File "/usr/lib64/python2.6/site-packages/samba/descriptor.py", line 31, in <module>
from samba.schema import get_schema_descriptor
File "/usr/lib64/python2.6/site-packages/samba/schema.py", line 28, in <module>
from samba.ms_schema import read_ms_schema
here is the configure command I use : ./configure --enable-fhs --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib64 --with-lockdir=/var/cache/samba
---------------------------------------------
Christophe Borivant
More information about the samba
mailing list