On Thu, June 4, 2020 12:08, Rowland penny wrote:> I think your problem is that you removed /var/db/samba4 and Samba > expects it to exist and the provision fails when it tries to create > /var/db/samba4/private > > RowlandHowever, does 'samba-tool domain provision' not have to create that directory in the first instance? As far as I am aware there is no /var/db/samba4/ before provisioning for the first time. So why should a missing /var/db/samba4/ be a problem when restarting from scratch? -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3
On 05/06/2020 14:45, James B. Byrne wrote:> However, does 'samba-tool domain provision' not have to create that directory > in the first instance? As far as I am aware there is no /var/db/samba4/ before > provisioning for the first time. So why should a missing /var/db/samba4/ be a > problem when restarting from scratch?It appears to be failing at the creation of the 'private' dir e.g. mkdir /path/to/private It expects '/path/to' to exist at that point. Normally '/path/to' does exist, at least on Debian it does. Rowland
On Fri, June 5, 2020 09:45, James B. Byrne wrote:> > > On Thu, June 4, 2020 12:08, Rowland penny wrote: > >> I think your problem is that you removed /var/db/samba4 and Samba >> expects it to exist and the provision fails when it tries to create >> /var/db/samba4/private >> >> Rowland >I failed to grasp that this directory is created by the installation process. Thank you for you patience. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3