[Samba] Initial replication halts with "The handle is invalid." (msDS-NC-Replica-Locations corrupted?)
Andrew Bartlett
abartlet at samba.org
Tue Jan 17 19:46:18 UTC 2017
On Mon, 2017-01-16 at 15:15 -0500, Adam Tauno Williams via samba wrote:
> Quoting Rowland Penny via samba <samba at lists.samba.org>:
> > I 'think' you are meant to patch Samba, then totally recompile it
> > i.e. ./configure && make && make install, then run samba-tool.
>
> I did that
>
> git clone https://git.samba.org/samba.git
> cd samba/
> yum install gcc libacl-devel python-devel gnutls-devel openldap-
> devel
> ./configure
> make
> ls bin/samba-tool
>
> The patch mentioned in Bug#12385
> <https://bugzilla.samba.org/show_bug.cgi?id=12385> appears to
> already
> be applied to master; attempting to "patch -p1 < patchfile"
> results
> in an already-applied warning.
>
> I ran the tool as -
>
> bin/samba-tool domain tombstones expunge -d 10 -H
> /var/lib/samba/private/sam.ldb
>
> > From the way I read it, you are supposed to ignore bug 12297
>
> I only referred to that bug as Mr. Bartlett there said """This
> patch
> is to code used by both, but the test I was after just needs you to
> build and run 'bin/samba-tool domain tombstones expunge' from an
> in-tree build of master, after applying this.
> No install will be required for this step."""
This is all correct.
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
More information about the samba
mailing list