How can i reset all settings to default?

Forums > General Discussion > How can i reset all settings to default? > Page 1

Post #1
1) How can i reset all settings to default?
2) I have Resara (very old, Ubuntu 10.04 based dist) PDC and want transfer it to new soft. Can RazDC join old domain as SDC and then be increased to PDC role? What i must enter in network settings in first start? Current domain name or it doesn't matter and i can type anything?
Can't wait manual for join domain i have. :)
Thank you.

Post #2
You Asked: How can i reset all settings to default?
*Under the system menu > firmware > Reset

You asked: I have Resara (very old, Ubuntu 10.04 based dist) PDC and want transfer it to new soft. Can RazDC join old domain as SDC and then be increased to PDC role?
*Short answer is Not directly, Resara uses an old beta version of Samba4 that is no longer compatible with newer version of Samba4.

*Long answer, Maybe but it would require manual migration:

You asked: Current domain name or it doesn't matter and i can type anything?

Use  a different hostname but SAME DOMAIN, then run setup to join as a secondary DC to the primary domain (Resara).

Then  you can disconnect Resara and seize FSMO roles.

Additional complications may include DNS configuration. You will need to set the Resara as a DNS on RazDC and manually create the DNS records for RazDC in Resara to allow replication (assuming the versions are compatible at all). Otherwise you could document the records or (dump them via command line) and import them or manually add them in RazDC via command line.

This is just a series of hints to get you started. Hopefully you can work it out from here.

Side note, I will do some testing to try find a migration path to document the process if its possible.
Bryan King

Post #3
I have managed to perform a test migration from Resara to RazDC but I still have issues with DNS. The DLZ zone was not created automatically so I am attempting to build it manually. IF this works, I will post a full Resara->RazDC how-to.
Bryan King

Post #4
Thanks so much! Waiting for the good results. ;)

Post #5
I have not forgotten your requests. I have been adding the required features to join Resara and perform a migration without having to use command line. I am also adding update and reset options to the console menu.
Bryan King

Post #6
Full resara migration has been posted. Make sure you have the latest OVA or a clean install from ISO!
How-To us posted here:
https://razdc.com/cgi-bin/account/secure.pl?f=HOWTO&t=3
Bryan King

Post #7
Great work!!! Thanks so much!

Post #8
Can you tell, will be added shared folders feature as it was on Resara in future builds? Or it's not planned?

Post #9
Hello again. Yes, shared folders will be in a future update for the RazDC interface. I will add it to the feature request section.
Bryan King

Post #10
Excellent! Now I'm just waiting for the instructions to add the SDC and start the migration. The main thing is not to make a mistake when setting up replication. IMHO :)
Thanks for your work!

Post #11
What happened? Five month without news. :'-(

Post #12
Sorry, tough to write software and docs as one person. Ran into a bug with SDC provision and firewall. I have been writing patches and pushing updates to resolve those issues as well as prepping for 22H2 bug samba upgrade for windows 11.
Bryan King

Post #13
Hello, Bryan! Have you solved the problem with Win 11 22H2? Now I found that Win11 cannot join the Resara domain. I understand that this is an old Samba issue, but I haven't migrated to RazDC yet. I think it's time :)

Post #14
The samba bug is fixed with Samba version 4.17+. RazDC was originally packaged with Samba 4.15 so I have been working on a patch to direct upgrade from the raz CLI menu. The manual upgrade instructions are not to lengthy, but I hope I can get the CLI option to perform all of these tasks:

Check Running Version:
/usr/local/samba/sbin/samba --version

Pull Samba 4.17:
wget https://download.samba.org/pub/samba/stable/samba-4.17.5.tar.gz

Extract new version to /opt:
tar -xzf  samba-4.17.5.tar.gz -C /opt

stop current samba service:
systemctl stop smb

bakup current samba install dir:
mv /usr/local/samba /usr/local/samba.BAK

cd to new install folder:
cd /opt/samba-4.17.5

Configure, build, install:
./configure
make -j  2
make install

Restore data:
cp -r /usr/local/samba.BAK/*  /usr/local/samba/ -n

Start  Samba:
systemctl start smb

Confirm version upgrade:
/usr/local/samba/sbin/samba --version

I will roll out a few test CLI patches today and post my findings.
Bryan King

Post #15
I've pushed a few updates for the initial testing of samba 22H2 upgrade fixes. I have to confirm these are working before switching it on in the raz command-line menu.But so far it looks like it worked as a shell script.
Bryan King