Koozali.org: home of the SME Server

Migrating User Accounts

Staley W. Mims, III

Migrating User Accounts
« on: February 20, 2000, 11:00:17 PM »
Have installed E-Smith Server and Gateway in a high volume enterprise situation with
350 external subscribers that check in daily by www browsers and get their statistics.
Previous machine was RH Linux machine. Have transferred /home directories and
/etc/passwd files. Files

Is there a way to have the e-smith recognise the client directories/files without having to
manually add each user then have all clients send in there passwords and add them
manually. Also an issue is preserving http links within the subscriber web pages.

Thanks for any assistance.
Staley Mims

Charlie Brady

RE: Migrating User Accounts
« Reply #1 on: February 21, 2000, 01:17:21 PM »
Staley W. Mims, III wrote:

> Have installed E-Smith Server and Gateway in a high volume
> enterprise situation with 350 external subscribers that check
> in daily by www browsers and get their statistics. Previous
> machine was RH Linux machine. Have transferred /home
> directories and /etc/passwd files. Files
>
> Is there a way to have the e-smith recognise the client
> directories/files without having to manually add each user
> then have all clients send in there passwords and add them
> manually.

You need to be aware of what will or might need to be migrated.
In addition to the home directories and password files (/etc/shadow as well as /etc/passwd), you also need to migrate the LanManager/NT password files (/etc/smbpasswd), the Apache access password file (/etc/httpd/users), the LDAP directory
information and group membership information. You might be able to get by without some of that, but you will strike trouble somewhere down the line.

> Also an issue is preserving http links within the subscriber
> web pages.

If those links use "~" or ".." they should still be OK.

> Thanks for any assistance.

If you need further advice about the mechanics of migrating things then I think it had better be my email.

Charlie

Martin Bauer

Re: Migrating User Accounts
« Reply #2 on: September 30, 2003, 07:51:16 PM »
Hi, I am also trying to migrate a linux server to e-smith. Unfortunatly I have to migrate some more accounts than originally expected beacause we are having some troubles with our currend Hosting Provider.

I have to migrate about 700 Accounts and aliases, but I do not know the passwords.

Does anyone know a way how to make e-smith accept any password at first login? I know that this is insecure, but from the current Point of view there is no other way than this.

Thank you in advance for your replies

Martin

Michiel

Re: Migrating User Accounts
« Reply #3 on: September 30, 2003, 10:38:28 PM »
What you're looking for are the Lazy Admin Tools (http://mirror.contribs.org/smeserver/contribs/mblotwijk/Contribs/lazy-admin-tools/).

"lat-users -a -p -i=users.lst" will create all the users listed in users.lst, generate random passwords for them and write them to the file "passwords.new". You could than for example do a mail-merge and print for each user a sheet with his/her account details and new password.

You could also give all users the same password in users.lst, but I wouldn't recommend that.

Michiel

PS: Depending on the performance of your machine it might take up to 10 seconds per user. So if you're migrating 700 accounts, you better get yourself a good cup of coffee :-)

Denbert

Re: Migrating User Accounts
« Reply #4 on: December 14, 2003, 07:59:08 PM »
Hi there,

I’m trying to move 35 users from one SME 5.6 to a brand new Dell PowerEdge server running the new SME 6.0

And now I have some questions?

1.)   Are the Lazy_admin_tools able to generate the users.list file from existing users on a SME server?
2.)   How about the SME 6.0 server? It says “SMEServer >= 6.0 conflicts with e-smith-lazy_admin_tools-0.7.2-1”

I’ve tried with a backup to desktop on the 5.6 and then installing the 5.6 on the new hardware, and then again restore from desktop and after that, an upgrade to the Final 6.0 Server.

It didn’t vent well, the webmail doesn’t work now.

It says:

 “A fatal error has occurred:

DB Error: connect failed

[line 108 of /home/httpd/html/horde/lib/Prefs/sql.php]

Details have been logged for the administrator.”  

Anyone got a clue?

Cheers

Denbert

Michiel

Re: Migrating User Accounts
« Reply #5 on: December 16, 2003, 10:05:29 AM »
> 1.)   Are the Lazy_admin_tools able to generate the users.list
> file from existing users on a SME server?

lat-dump will create all the necessary config files to move accounts to a different server. See man lat-dump.

> 2.)   How about the SME 6.0 server? It says “SMEServer >= 6.0
> conflicts with e-smith-lazy_admin_tools-0.7.2-1”

There are some minor cosmetic issues with the tools on SME6.x. I'm trying to find time to fix them.

Michiel

Boris

Re: Migrating User Accounts
« Reply #6 on: December 16, 2003, 10:13:43 AM »
Denbert,
>
 “A fatal error has occurred:

DB Error: connect failed

[line 108 of /home/httpd/html/horde/lib/Prefs/sql.php]
>
It has been identified as bug and where is small fix for it.
Search recent posts on the forum.

[%sig%]

Tor Tveitane

Re: Migrating User Accounts
« Reply #7 on: December 16, 2003, 11:57:55 AM »
Michiel wrote:

> There are some minor cosmetic issues with the tools on
> SME6.x. I'm trying to find time to fix them.
>
Michiel

Can you please inform us with a post here or something when you have an upgrade which works as expected with SME6final?

regards

Tor