ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Samba 4.7.0rc4 - Openchange -> Sisyphus?
@ 2017-08-22  2:45 Evgeny Sinelnikov
  2017-08-22  6:51 ` Alexander Bokovoy
  0 siblings, 1 reply; 8+ messages in thread
From: Evgeny Sinelnikov @ 2017-08-22  2:45 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Здравствуйте,

Я подготовил для сизифа и частично (насколько это возможно в локальных
условиях) проверил Samba-4.7.0rc4.

Сборка эта интересна тем, что:
"After four years of development, Samba finally supports compiling and
running Samba AD with MIT Kerberos."

Ну, и это не всё:
https://wiki.samba.org/index.php/Samba_4.7_Features_added/changed


При этом с Openchange снова возникли проблемы. Всего их две и обе
описаны в вышеуказанном документе:

1. Removal of lpcfg_register_defaults_hook()

The undocumented and unsupported function
lpcfg_register_defaults_hook() that was used by external projects to
call into Samba and modify smb.conf default parameter settings has
been removed. If your project was using this call please raise the
issue on samba-technical@lists.samba.org in order to design a
supported way of obtaining the same functionality.

2. Change of loadable module interface

The _init function of all loadable modules in Samba has changed from:

NTSTATUS _init(void);

to:

NTSTATUS _init(TALLOC_CTX *);

This allows a program loading a module to pass in a long-lived talloc
context (which must be guaranteed to be alive for the lifetime of the
module). This allows modules to avoid use of the
talloc_autofree_context() (which is inherently thread-unsafe) and
still be valgrind-clean on exit. Modules that don't need to free
long-lived data on exit should use the NULL talloc context.


Вторую я как-то решил. По схеме "Modules that don't need to free
long-lived data on exit should use the NULL talloc context."


Первая решается откатом для патча:

commit 1e8e048bf01447148ffa89ec237e2f9f58ff0ab6
Author: Jeremy Allison <jra@samba.org>
Date:   Tue Apr 18 10:21:50 2017 -0700

    lib: param: Remove lpcfg_register_defaults_hook().

    Completely unused functionality. Gets rid of another
    talloc_autofree_context(). Updated WHATSNEW to make
    this clear.

    Signed-off-by: Jeremy Allison <jra@samba.org>
    Reviewed-by: Alexander Bokovoy <ab@samba.org>

Для адаптации нужно, видимо, "raise the issue on
samba-technical@lists.samba.org in order to design a supported way of
obtaining the same functionality."


-- 
Sin (Sinelnikov Evgeny)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-08-22 19:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-22  2:45 [devel] Samba 4.7.0rc4 - Openchange -> Sisyphus? Evgeny Sinelnikov
2017-08-22  6:51 ` Alexander Bokovoy
2017-08-22 14:34   ` Evgeny Sinelnikov
2017-08-22 14:51     ` Mikhail Efremov
2017-08-22 15:51       ` Alexander Bokovoy
2017-08-22 16:09         ` Mikhail Efremov
2017-08-22 18:03           ` Evgeny Sinelnikov
2017-08-22 19:46             ` Alexander Bokovoy

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git