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 a smbcontrol all reload-config?
  • stop samba, run ldbmodify, start samba?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.