Created attachment 330052 [details] /etc/init.d/samba Provided by net-fs/samba-4.0.0_rc4 init script not situable for full samba-3 replacement.
Created attachment 330054 [details] /etc/conf.d/samba
+*samba-4.0.0_rc5 (24 Nov 2012) + + 24 Nov 2012; Lars Wendler <polynomial-c@gentoo.org> +files/4.0/samba4.confd, + +files/4.0/samba4.initd-r1, -samba-4.0.0_rc3.ebuild, +samba-4.0.0_rc5.ebuild: + non-maintainer commit: Version bump. Removed old. Fixed samba4 init scripts + (bug #444016). Thanks to Aleksandr Yakimov who reported the bug and provided + the files. +
Created attachment 330922 [details, diff] Patch for the previously supplied samba4.confd (In reply to comment #1) > Created attachment 330054 [details] > /etc/conf.d/samba Sorry for being a bit picky, but the advice about filling up daemon_list in this file is wrong. You can't just add "samba4", you have to replace the previous entries. The reason for that is that samba4 controls both smbd and nmbd by itself, since the daemons share common network sockets. I tried to update the conf.d's comment to elaborate that. Feel free to change the wording, but please, leave the message intact. :-)
(In reply to comment #3) > Sorry for being a bit picky, but the advice about filling up daemon_list in > this file is wrong. You can't just add "samba4", you have to replace the > previous entries. The reason for that is that samba4 controls both smbd and > nmbd by itself, since the daemons share common network sockets. That's right - samba4 only for AD controller. smbd&nmbd it's classic samba3 behavior.
+ 30 Nov 2012; Lars Wendler <polynomial-c@gentoo.org> files/4.0/samba4.confd: + Fixed comments in conf.d file. Thanks to Torsten Kurbad for providing a patch + in bug #444016. +