Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2019 13:13:23 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        timur@FreeBSD.org, freebsd-ports@freebsd.org
Subject:   Status of samba ports
Message-ID:  <adfc315a-8f79-7b64-3bfc-14be00615fb0@netfence.it>

next in thread | raw e-mail | index | archive | help
Hello.

I'd like some information WRT to the status of samba ports, what is 
[not] working, what *should* be working and what is planned.



I'm using samba48 at several sites and I'm obviously encountering the 
problem described in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239480



Today I tried a classicupgrade (with samba48) and it ended with a core 
dump of python2.7.
I wasn't surprised at all, of course.

Since this is (at least for now) a test, I decided to try 4.10: I was 
surprised to see a similar error!
I know the problems with ACL/ZFS/etc... (in the past I had to apply 
patches and add extra argument to "samba-tool domain classicupgrade" or 
"samba-tool domain provision" to work around this).
However, I wasn't expecting this to fail in a way similar to how 4.8 
does, i.e. with the messages:
> INFO 2019-09-12 13:06:52,919 pid:4760 /usr/local/lib/python3.6/site-packages/samba/provision/__init__.py #2286: Setting up share.ldb
> Unable to find backend for '/var/db/samba4/private/share.ldb' - do you need to set LDB_MODULES_PATH?
> ERROR(ldb): uncaught exception - None
>   File "/usr/local/lib/python3.6/site-packages/samba/netcmd/__init__.py", line 185, in _run
>     return self.run(*args, **kwargs)
>   File "/usr/local/lib/python3.6/site-packages/samba/netcmd/domain.py", line 1690, in run
>     useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
>   File "/usr/local/lib/python3.6/site-packages/samba/upgrade.py", line 743, in upgrade_from_samba3
>     use_ntvfs=use_ntvfs, skip_sysvolacl=True)
>   File "/usr/local/lib/python3.6/site-packages/samba/provision/__init__.py", line 2287, in provision
>     share_ldb = Ldb(paths.shareconf, session_info=session_info, lp=lp)
>   File "/usr/local/lib/python3.6/site-packages/samba/__init__.py", line 115, in __init__
>     self.connect(url, flags, options)

  If I understand correctly, the above problem with 4.8 is due to its 
dependency on Python 2.7; I thought 4.10, which is using Python 3.6, 
would not exhibit this behaviour...
Any comment on this?



I know I can try and build 4.8 with external dependencies; in fact I 
tried, but had no luck so far.
Since Samba 4.8 will stop being supported in a very short time, I'd like 
to stop wasting my time with it and start moving to 4.10.

Is it supposed to be production ready?
What does and what does not work?
Is there some page (wiki or whatever) that outlines the status of Samba 
on FreeBSD?
Is there anything we can do to help?

  bye & Thanks
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?adfc315a-8f79-7b64-3bfc-14be00615fb0>