Hello, I set up yet another DC via a renamed and cleaned clone, following previous discussions in https://lists.samba.org/archive/samba/2020-December/233699.html and https://lists.samba.org/archive/samba/2020-December/233750.html. The clone does respond to queries, however with systemctl status samba-ad-dc I get Jul 17 13:26:39 synapta samba[720]: daemon 'samba' : Starting process... Jul 17 13:26:41 synapta systemd[1]: Started Samba AD Daemon. Jul 17 13:26:41 synapta samba[720]: [2024/07/17 13:26:41.825566, 0] source4/samba/process_prefork.c:630(prefork_child_pipe_han> Jul 17 13:26:41 synapta samba[720]: prefork_child_pipe_handler: Parent 720, Child 827 exited with status 0 Jul 17 13:26:42 synapta smbd[826]: [2024/07/17 13:26:42.323220, 0] source3/smbd/server.c:1746(main) Jul 17 13:26:42 synapta smbd[826]: smbd version 4.19.7-Ubuntu started. Jul 17 13:26:42 synapta smbd[826]: Copyright Andrew Tridgell and the Samba Team 1992-2023 Jul 17 13:26:42 synapta winbindd[881]: [2024/07/17 13:26:42.936752, 0] source3/winbindd/winbindd.c:1441(main) Jul 17 13:26:42 synapta winbindd[881]: winbindd version 4.19.7-Ubuntu started. Jul 17 13:26:42 synapta winbindd[881]: Copyright Andrew Tridgell and the Samba Team 1992-2023 One difference I am aware of is that the clone uses DHCP as it is planned to be moved to a different network. How can I figure out what process is dying? What should I check? Thanks, Joachim
For the effort of ?cloning? a VM (using virt-sysprep is the only right way to do it in my opinion), I?d just install a LXC (privileged) from new in 1 minute, and have binaries installed in another minute. Why the hassle ? By the way I don?t think a DC will work fine on DHCP, you really need to assign a fixed IP. On Jul 17, 2024 at 14:59 +0100, Luis Peromarta <lperoma at icloud.com>, wrote:> > For the effort of ?cloning? a VM (using virt-sysprep is the only right way to do it in my opinion), I?d just install a LXC (privileged) from new in 1 minute, and have binaries installed in another minute. > > Why the hassle ? > > By the way I don?t think a DC will work fine on DHCP, you really need to assign a fixed IP.
On Wed, 17 Jul 2024 15:48:06 +0200 Joachim Lindenberg via samba <samba at lists.samba.org> wrote:> Hello, > > I set up yet another DC via a renamed and cleaned clone, following > previous discussions in > https://lists.samba.org/archive/samba/2020-December/233699.html and > https://lists.samba.org/archive/samba/2020-December/233750.html.I didn't think it was a good idea then and I still don't, even Andrew said that the 'clone' would have to be re-joined, so what do you gain ? Rowland