On 02/11/2022 17:20, Michael Tokarev wrote:> 02.11.2022 20:14, Rowland Penny via samba wrote: > .. >>> Some further comments report a new "join" is required before >>> restarting services. >>> Can this be a correct approach? >> >> If all else fails, it is worth trying, but 'leave' the domain first. > > Rowland, why 'leave' it? > > This way, the machine records will be deleted, including any > customizations, > say, uidNumber. Why can't it re-join "to" an existing machine object? > I experimented with that yesterday and it worked fine without a 'leave'. > > Thanks, > > /mjtnet ads leave --keep-account Rowland
On 02-11-2022 18:58, Rowland Penny via samba wrote:> > > On 02/11/2022 17:20, Michael Tokarev wrote: >> 02.11.2022 20:14, Rowland Penny via samba wrote: >> .. >>>> Some further comments report a new "join" is required before >>>> restarting services. >>>> Can this be a correct approach? >>> >>> If all else fails, it is worth trying, but 'leave' the domain first. >> >> Rowland, why 'leave' it? >> >> This way, the machine records will be deleted, including any >> customizations, >> say, uidNumber. Why can't it re-join "to" an existing machine object? >> I experimented with that yesterday and it worked fine without a 'leave'. >> >> Thanks, >> >> /mjt > > net ads leave --keep-account > > Rowland > >Samba seems to like to remove computer-accounts. I noticed that a computer-account gets removed when the domain join fails. It sounds logical when the join create the account. But pre-provisioned computer-accounts are also removed on a failing join... Is there a similar switch to prevent that behaviour? - Kees.
> net ads leave --keep-accountI had to take this approach, deleting *.tdb would make tdb ids pop up again at first share access. -- Lorenzo Milesi - lorenzo.milesi at yetopen.com CTO @ YetOpen Srl Corso Martiri della Liberazione 114 - 23900 Lecco - ITALY - | 4801 Glenwood Avenue - Suite 200 - Raleigh, NC 27612 - USA - Tel +39 0341 220 205 - info.it at yetopen.com | Phone +1 919-817-8106 - info.us at yetopen.com Think green - Non stampare questa e-mail se non necessario / Don't print this email unless necessary -------- D.Lgs. 196/2003 e GDPR 679/2016 -------- Tutte le informazioni contenute in questo messaggio sono riservate ed a uso esclusivo del destinatario. Tutte le informazioni ivi contenute, compresi eventuali allegati, sono da ritenere confidenziali e riservate secondo i termini del vigente D.Lgs. 196/2003 in materia di privacy e del Regolamento europeo 679/2016 - GDPR - e quindi ne e' proibita l'utilizzazione ulteriore non autorizzata. Nel caso in cui questo messaggio Le fosse pervenuto per errore, La invitiamo ad eliminarlo senza copiarlo, stamparlo, a non inoltrarlo a terzi e ad avvertirci non appena possibile. Grazie. Confidentiality notice: this email message including any attachment is for the sole use of the intended recipient and may contain confidential and privileged information; pursuant to Legislative Decree 196/2003 and the European General Data Protection Regulation 679/2016 - GDPR - any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recepient please delete this message without copying, printing or forwarding it to others, and alert us as soon as possible. Thank you.