Elias Pereira
2023-Dec-12 17:17 UTC
[Samba] Failed to store repsFrom - Indexed and full searches both failed!
> > Sorry to be late in replying to this, got a bit swamped.No problem! :D Then it doesn't matter what Samba is running on, the easiest> fix is to fully demote the faulty DC and create a new one, you may be > able to fix the existing DC, but it will undoubtedly take longer.I created a new VM, keeping the same hostname and IP, I did all the procedure in the wiki to add a DC to an existing AD, but the same error occurred. Failed to store repsFrom - Indexed and full searches both failed! About this fix you mention, how could I do it? On Tue, Dec 12, 2023 at 8:55?AM Rowland Penny via samba < samba at lists.samba.org> wrote:> On Sat, 9 Dec 2023 14:10:40 -0300 > Elias Pereira via samba <samba at lists.samba.org> wrote: > > > Thanks for the help, Rowland!! > > > > if so, you do not 'provision', you 'join' a new DC. > > > Can you please post the exact command you used. > > > > > > Yes, I misspelled it! It's domain join!!! :D > > samba-tool domain join campus.sertao.ifrs.edu.br DC -U > > "CAMPUS\Administrator" --option='idmap_ldb:use rfc2307 = yes' > > > > Not sure why you are doing that, if you are going to use Bind9, why > > not > > > just join with '--dns-backend=BIND9_DLZ' ? > > > > > > You're right. I forgot that I could have put that option in the > > command above. > > > > Provided that there are no records in AD for the DC, you should be > > able > > > to use the old hostname and IP. > > > > > > The best thing then is to set up a new VM, right? > > > > Sorry to be late in replying to this, got a bit swamped. > > If you are having problems with a single Samba AD DC in a multiple DC > domain i.e. the problem occurs only on one DC and the others have no > problems. Then it doesn't matter what Samba is running on, the easiest > fix is to fully demote the faulty DC and create a new one, you may be > able to fix the existing DC, but it will undoubtedly take longer. > > Rowland > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Elias Pereira
Rowland Penny
2023-Dec-12 17:30 UTC
[Samba] Failed to store repsFrom - Indexed and full searches both failed!
On Tue, 12 Dec 2023 14:17:51 -0300 Elias Pereira via samba <samba at lists.samba.org> wrote:> > > > Sorry to be late in replying to this, got a bit swamped. > > > No problem! :D > > Then it doesn't matter what Samba is running on, the easiest > > fix is to fully demote the faulty DC and create a new one, you may > > be able to fix the existing DC, but it will undoubtedly take longer. > > > I created a new VM, keeping the same hostname and IP, I did all the > procedure in the wiki to add a DC to an existing AD, but the same > error occurred.Well it shouldn't, which means that either there is something wrong with your VM setup, or worse, something is wrong in your AD database.> > Failed to store repsFrom - Indexed and full searches both failed! > > About this fix you mention, how could I do it? > >I don't know, because I was talking generally, it is usually faster and easier to create a new DC than fix a faulty one. I suggest you try creating another DC, but this time with a new name and IP, if that works, it gives you a direction to look at. I would also check your AD database with samba-tool. Rowland