From: Evgeny Sinelnikov <sin@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: [devel] Samba 4.7.0rc4 - Openchange -> Sisyphus? Date: Tue, 22 Aug 2017 06:45:50 +0400 Message-ID: <CAK42-GocdtPZhLyeLpcG-kLMcVFUFhJ0Zp9nBik_imTh10dC4g@mail.gmail.com> (raw) Здравствуйте, Я подготовил для сизифа и частично (насколько это возможно в локальных условиях) проверил 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)
next reply other threads:[~2017-08-22 2:45 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-08-22 2:45 Evgeny Sinelnikov [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CAK42-GocdtPZhLyeLpcG-kLMcVFUFhJ0Zp9nBik_imTh10dC4g@mail.gmail.com \ --to=sin@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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