I'm integrating a custom schema in a Samba 4.2 server. This is working quiet well (using ldbmodify
) but I wonder if it is necessary to stop the samba service before running ldbmodify
. The Samba Wiki says so, also this answer suggests to run smbcontrol all reload-config
after running ldbmodify
. On the other hand on my test systems it worked pretty well without stopping or reloading samba at all. Still I fear that I could corrupt the ldb files.
So my question is basically: Should I
- just do the
ldbmodify
? - run
ldbmodify
, followed by asmbcontrol all reload-config
? - stop samba, run
ldbmodify
, start samba?