Koozali.org: home of the SME Server

anyway to synchronize the users and password b/w two SMEs?

helin16

anyway to synchronize the users and password b/w two SMEs?
« on: October 02, 2006, 04:21:17 AM »
Is there anyway to synchronize the users and password b/w two SMEs?

anyone experienced that before?

Offline calisun

  • *
  • 601
  • +0/-0
anyway to synchronize the users and password b/w two SMEs?
« Reply #1 on: October 02, 2006, 04:30:23 AM »
I am not sure about synchronizing, but you can duplicate information from one to another by doing a backup on one and using that backup to for a restore on the second one.
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

helin16

anyway to synchronize the users and password b/w two SMEs?
« Reply #2 on: October 02, 2006, 05:05:42 AM »
but I guess the backup is the backing up with everything, isn't it? but I've got a large mount of data on my server around 40G, I think it will took a long time to do it, if I am using the server-manager-->backup ..... do you think so? thank a lot anyway!

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: anyway to synchronize the users and password b/w two SME
« Reply #3 on: October 02, 2006, 10:00:14 AM »
Quote from: "helin16"
Is there anyway to synchronize the users and password b/w two SMEs?

anyone experienced that before?


Maybe this will help: HOWTO: RSYNC Server Migration
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

helin16

anyway to synchronize the users and password b/w two SMEs?
« Reply #4 on: October 04, 2006, 04:01:40 AM »
thanks so much....but I am wondering where dose SME keep its password files and userlist...and I just want to synchronize these....

Offline raem

  • *
  • 3,972
  • +4/-0
anyway to synchronize the users and password b/w two SMEs?
« Reply #5 on: October 04, 2006, 10:32:20 AM »
helin16

> where dose SME keep its password files and userlist

That information is in a variety of files, some of which (most) are not exclusively users details.
Do a backup to desktop (on a fairly empty system to keep your backup small) and see which files are included in the backup. View the backup file using rar or Winrar.

You will see though that files like the accounts db (/home/e-smith/db/accounts) have more than just user account details.

So it's not easily possible using the existing sme setup to just duplicate users only. You cannot use some files and not others either, as that will break the system.

There is the Lazy Admins Toolkit which you can use to selectively add, delete, users groups etc etc, but again it is not the absolute answer you want.

There was a post long ago (approx 2-3 years) by Charlie Brady answering this same question, where he suggested some programming was required to extract the required information from the various user lists and password files etc. It needed someone to sort out all the issues and do the programming work though, and was probably not such an easy task.

If you were willing to pay someone to do the work (eg Gordon Rowell), then it could probably happen.
...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: anyway to synchronize the users and password b/w two SME
« Reply #6 on: October 04, 2006, 10:42:44 AM »
helin16

> Is there anyway to synchronize the users and password b/w two SMEs?

The closest thing I'm aware of to achieve something like what you want is this.

On the server you want to duplicate:

mv /home/e-smith/files/ibays /tmp
mv /home/e-smith/files/users /tmp

Then perform a Backup to desktop (assuming the resultant file size will be less than 2Gb).
Note that /tmp is not included in the backup.
Verify the backup file to check it is good.

Use that backup file to restore to a freshly installed OS on another server.
Run the admin console & select Configure this server, and make any changes required for the new server
Run server manager and make any changes required eg workgroup settings etc

All your user accounts & ibays will be on the new server but they will be empty.

Delete ibays and users and any other configuration details you don't want on the new server.
...