While trying to resolve the loss of prefix for full_audit, I attempted to update from Samba 4.3.9 to 4.4.5. Its a very simple environment, standalone server running on i386 built from source. After performing the build and installation, I was informed that passdb backend = samba_dsdb was no longer supported, so I commented out the line, to find which default I should use. testparm advises it should be: passdb backend = tdbsam Is there a mechanism/tool to convert the backend samba_dsdb to tdbsam? Regards, Dewayne.
On Mon, 2016-07-25 at 23:11 +1000, Dewayne Geraghty wrote:> While trying to resolve the loss of prefix for full_audit, I > attempted to > update from Samba 4.3.9 to 4.4.5. Its a very simple environment, > standalone server running on i386 built from source. > > After performing the build and installation, I was informed that > passdb backend = samba_dsdb > was no longer supported, so I commented out the line, to find which > default > I should use. testparm advises it should be: > passdb backend = tdbsam > > Is there a mechanism/tool to convert the backend samba_dsdb to > tdbsam?samba_dsdb is still a core and required aspect of the AD DC. Perhaps you built without AD DC support? Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
On 26 July 2016 at 05:19, Andrew Bartlett <abartlet at samba.org> wrote:> On Mon, 2016-07-25 at 23:11 +1000, Dewayne Geraghty wrote: > > While trying to resolve the loss of prefix for full_audit, I > > attempted to > > update from Samba 4.3.9 to 4.4.5. Its a very simple environment, > > standalone server running on i386 built from source. > > > > After performing the build and installation, I was informed that > > passdb backend = samba_dsdb > > was no longer supported, so I commented out the line, to find which > > default > > I should use. testparm advises it should be: > > passdb backend = tdbsam > > > > Is there a mechanism/tool to convert the backend samba_dsdb to > > tdbsam? > > samba_dsdb is still a core and required aspect of the AD DC. Perhaps > you built without AD DC support? > > Andrew Bartlett > > -- > Andrew Bartlett http://samba.org/~abartlet/ > Authentication Developer, Samba Team http://samba.org > Samba Developer, Catalyst IT > http://catalyst.net.nz/services/samba > > > >Thank-you Andrew. I mistakenly used my member-server build which as you point out was not built with AD DC options (instead AD client support, CUPS ...). As a side note - if anyone (else) "blindly" comments out their passdb backend statement to see what testparms says is the default, and mistakenly tries to run smbd, be prepared to restore your backend. Pointy-hat award!