[Samba] ldbmodify in multi-DCs environment.

Andrew Bartlett
Wed, 06 Jun 2018 09:34:31 -0000

On Wed, 2018-06-06 at 11:31 +0200, Prunk Dump via samba
wrote:
> Hello Samba Team !
>
> Just a little question. Is ldbmodify safe in a multi-DCs environment
> or there is something I forgot ? Can I launch the "ldbmodify"
command
> on any DC to edit my AD database ?
>
> Note :
>
> All my DCs are Samba 4.5.12. There is no Wndows DCs.
>
> Thanks !
>
> Baptiste.

Yes, the running server will pick up the modifications on the next sync
interval.  Just ensure you do it on the sam.ldb file, not some backend
file in sam.ldb.d/

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