Re: [Samba] Samba 3 to Samba 4 migration

2012-07-04 Thread Steve Thompson

On Wed, 4 Jul 2012, Andrew Bartlett wrote:


Either way, it needs full access to a running LDAP directory (as we
perform this migration using the passdb code in the same way that Samba3
used it).


Ah, got it. Thanks.

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


[Samba] Samba 3 to Samba 4 migration

2012-07-03 Thread Steve Thompson
I have a production Samba 3 installation with an LDAP backend. CentOS 5.8, 
OpenLDAP. Works well.


I have a new Samba 4 installation with a different domain name on a new 
CentOS 6.2 system, using Samba4.0.0beta and bind 9.9. This system does not 
have Samba 3 or OpenLDAP installed. This installation passes all of the 
initial kerberos, ldap and dns tests. The name was changed because this 
system is on the same network as the Samba 3 installation (changing the 
network is not an option).


I have a file containing a slapcat output from the Samba 3 domain. I have 
edited this file to change the domain SID to the new domain's value. I 
have also removed all machine entries from this file for testing purposes.


So: how do I import the slapcat data into Samba 4's LDAP server? The 
procedure documented in the Samba 4 HOWTO cannot possibly work in my 
situation (never mind the fact that it refers to /etc/ldap, which I have 
never heard of). Obviously missing something.


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


Re: [Samba] Samba 3 to Samba 4 migration

2012-07-03 Thread Andrew Bartlett
On Tue, 2012-07-03 at 16:02 -0400, Steve Thompson wrote:
 I have a production Samba 3 installation with an LDAP backend. CentOS 5.8, 
 OpenLDAP. Works well.
 
 I have a new Samba 4 installation with a different domain name on a new 
 CentOS 6.2 system, using Samba4.0.0beta and bind 9.9. This system does not 
 have Samba 3 or OpenLDAP installed. This installation passes all of the 
 initial kerberos, ldap and dns tests. The name was changed because this 
 system is on the same network as the Samba 3 installation (changing the 
 network is not an option).
 
 I have a file containing a slapcat output from the Samba 3 domain. I have 
 edited this file to change the domain SID to the new domain's value. I 
 have also removed all machine entries from this file for testing purposes.
 
 So: how do I import the slapcat data into Samba 4's LDAP server? The 
 procedure documented in the Samba 4 HOWTO cannot possibly work in my 
 situation (never mind the fact that it refers to /etc/ldap, which I have 
 never heard of). Obviously missing something.

Some of the extra instructions added here are a little distro-specific
it seems. 

You either need to start openldap on the new server, using the copied
data, or you need to point Samba at the old openldap server over TCP. 

I'm sure you can find the location of your OpenLDAP database to slapcat
from and to. 

Either way, it needs full access to a running LDAP directory (as we
perform this migration using the passdb code in the same way that Samba3
used it).

I hope this helps,

Andrew Bartlett
-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org

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


Re: [Samba] Samba 3 and Samba 4 migration

2010-05-22 Thread Amaru Netapshaak
No one has any answer?  :(

Thanks anyways :)

++AMARU






From: Amaru Netapshaak postfix_am...@yahoo.com
To: samba@lists.samba.org
Sent: Thu, May 20, 2010 10:11:41 AM
Subject: Samba 3 and Samba 4 migration


Greetings!

I am running a samba 3.0.31 PDC with a flat smbpasswd back-end, 
and am ready to make the jump over to Samba 4 and ldb.

I am planning on running both domains in parallel, while I migrate departments
and users to the new Samba 4 domain.   

The problem is that I have people who will log on to machines on both
domains in various locations, and I want to make sure they have access
to their data on the Samba 3 domain when logged onto Samba 4.   

I was thinking I could use NFS to accomplish this.  Maybe just have their
local samba 4 home directory be mounted via NFS to their actual home
directory on the old DC until all workstations are converted to the Samba 4 
domain
and then I'll sync up the data one last time and shut the old one off.

I was hoping there would be a better solution :)  Any ideas?

Thank you!

++AMARU


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


[Samba] Samba 3 and Samba 4 migration

2010-05-20 Thread Amaru Netapshaak
Greetings!

I am running a samba 3.0.31 PDC with a flat smbpasswd back-end, 
and am ready to make the jump over to Samba 4 and ldb.

I am planning on running both domains in parallel, while I migrate departments
and users to the new Samba 4 domain.   

The problem is that I have people who will log on to machines on both
domains in various locations, and I want to make sure they have access
to their data on the Samba 3 domain when logged onto Samba 4.   

I was thinking I could use NFS to accomplish this.  Maybe just have their
local samba 4 home directory be mounted via NFS to their actual home
directory on the old DC until all workstations are converted to the Samba 4 
domain
and then I'll sync up the data one last time and shut the old one off.

I was hoping there would be a better solution :)  Any ideas?

Thank you!

++AMARU


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