[Samba] samba-tool error just after samba 4.8.0 install

Christophe Borivant cborivant at devinlec.com
Wed Mar 14 15:21:07 UTC 2018


Ok, for what i understand, this is a compatibility issue with python 2.6.
This seems to be in relation with Dict Comprehensions (https://www.python.org/dev/peps/pep-0274/).

So yet, samba 4.8 cannot run on any rhel 6 like distribution.

Was it intended ?

Christophe Borivant

----- Mail original -----
De: "samba" <samba at lists.samba.org>
À: "samba" <samba at lists.samba.org>
Envoyé: Mercredi 14 Mars 2018 15:31:26
Objet: Re: [Samba] samba-tool error just after samba 4.8.0 install

Could it be a python 2.6 compatibility issue ?

Christophe Borivant

----- Mail original -----
De: "samba" <samba at lists.samba.org>
À: "samba" <samba at lists.samba.org>
Envoyé: Mercredi 14 Mars 2018 10:40:05
Objet: [Samba] samba-tool error just after samba 4.8.0 install

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


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list