RE: [Samba] Move Samba to another server

2005-08-23 Thread Kit Gerrits

At the moment, I am using simple passwd for local users, but I intend to set
up LDAP on the 'new server'.

However, due to the number of users (10), it might be simpler to re-create
the entire organisation from the ground up.

With a single auth system, it might be easier to manage samba, pop3-ssl
(different server), pop3 (another server) and other services.


-Oorspronkelijk bericht-
Van: Andrew Bartlett [mailto:[EMAIL PROTECTED] 
Verzonden: dinsdag 23 augustus 2005 12:35
Aan: Kit Gerrits
CC: 'Kit Gerrits'; samba@lists.samba.org
Onderwerp: RE: [Samba] Move Samba to another server

On Tue, 2005-08-23 at 12:16 +0200, Kit Gerrits wrote:
> Thanks for the reply!
> 
> Great, so I can just copy the Data...
> 
> Can you tell me how uer mapping is done?
> Does it map by username or by userID? (planning on some restructuring).

You should really try and keep the same usernames and userids.  It is
possible to change UIDs, and provided you used ldap or tdbsam (I think, but
I've never done it there) you can have arbitrary rids.  Keeping this
constant is the way to ask for less trouble...

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.http://suse.de
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Move Samba to another server

2005-08-23 Thread Kit Gerrits

Thanks for the reply!

Great, so I can just copy the Data...

Can you tell me how uer mapping is done?
Does it map by username or by userID? (planning on some restructuring).

Thnx,

Kit

-Oorspronkelijk bericht-
Van: Andrew Bartlett [mailto:[EMAIL PROTECTED] 
Verzonden: zondag 21 augustus 2005 23:37
Aan: Kit Gerrits
CC: samba@lists.samba.org
Onderwerp: Re: [Samba] Move Samba to another server

On Thu, 2005-08-18 at 22:15 +0200, Kit Gerrits wrote:
> Hello all,
> 
> I am intending to install a new server and migrate all my data to it 
> (the server was severely underpowered and the O/S needed to be upgraded
anyway).
> 
> Now, I need to move the user database and Samba Server.
> 
> I can easily move the data and (kinda) re-create the users, but I 
> don't know what data needs to be migrated to the new server?
> It would be nice to migrate things like Profiles, et al.
> Would it be better to create a new domain or should I build the new 
> server next to the old one.

The best option is to copy the whole lot - every Samba TDB (but particularly
secrets.tdb, passdb.tdb), every user directory, as well as the system user
database (if using /etc/passwd, just the non-system entries).

If you are a DC, then it should just 'drop in', once you get the users back
in place.

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.http://suse.de
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Move Samba to another server

2005-08-23 Thread Andrew Bartlett
On Tue, 2005-08-23 at 12:16 +0200, Kit Gerrits wrote:
> Thanks for the reply!
> 
> Great, so I can just copy the Data...
> 
> Can you tell me how uer mapping is done?
> Does it map by username or by userID? (planning on some restructuring).

You should really try and keep the same usernames and userids.  It is
possible to change UIDs, and provided you used ldap or tdbsam (I think,
but I've never done it there) you can have arbitrary rids.  Keeping this
constant is the way to ask for less trouble...

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.http://suse.de
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Move Samba to another server

2005-08-21 Thread Andrew Bartlett
On Thu, 2005-08-18 at 22:15 +0200, Kit Gerrits wrote:
> Hello all,
> 
> I am intending to install a new server and migrate all my data to it (the
> server was severely underpowered and the O/S needed to be upgraded anyway).
> 
> Now, I need to move the user database and Samba Server.
> 
> I can easily move the data and (kinda) re-create the users, but I don't know
> what data needs to be migrated to the new server?
> It would be nice to migrate things like Profiles, et al.
> Would it be better to create a new domain or should I build the new server
> next to the old one.

The best option is to copy the whole lot - every Samba TDB (but
particularly secrets.tdb, passdb.tdb), every user directory, as well as
the system user database (if using /etc/passwd, just the non-system
entries).

If you are a DC, then it should just 'drop in', once you get the users
back in place.

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.http://suse.de
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] Move Samba to another server

2005-08-18 Thread Kit Gerrits

Hello all,

I am intending to install a new server and migrate all my data to it (the
server was severely underpowered and the O/S needed to be upgraded anyway).

Now, I need to move the user database and Samba Server.

I can easily move the data and (kinda) re-create the users, but I don't know
what data needs to be migrated to the new server?
It would be nice to migrate things like Profiles, et al.
Would it be better to create a new domain or should I build the new server
next to the old one.


Any thoughts would be appreciated.

Kit

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba