state dir and samba-tool domain samba3upgrade

Matthias Dieter Wallnöfer mdw at
Wed Sep 14 02:14:21 MDT 2011

What do you think about this approach:;a=commitdiff;h=7e4fb523893e681659e2e64586f6bcf0af36a588?


Andrew Bartlett wrote:
> On Tue, 2011-09-13 at 17:55 +0200, Matthias Dieter Wallnöfer wrote:
>> Andrew,
>> I've found another issue: older versions than Samba 3.4 don't
>> incorporate the "state directory" parameter yet. Instead there has to be
>> used the "lock directory" directive. Could this patch work?
> I don't think that's the right place to do it.  If this varies by
> version of Samba 3.x that we are upgrading from, then this must have
> been inherited from the invocation of the testparm binary.
> If so, we should change that code to detect that the parameter was not
> found.
> "state directory" is a complex issue, as it essentially varied depending
> on if Samba 3.x was compiled with --enable-fhs, and even then it varied
> depending on if the user specified it - have a look at the tortured
> logic in source3/param/loadparm.c.
> Andrew Bartlett

More information about the samba-technical mailing list