[Samba] migrating ldap server from one platform to another

Charles Hamel charles at pingouin.ca
Tue Jul 6 17:30:26 GMT 2004


Hi

Maybe you just forgot to modify your nss_ldap parameters on Server 2 so that
it auths with the (now local) openldap server ?

A debug log from openldap and smbd would help (loglevel=2).

Charles

On Tue, 06 Jul 2004 17:20:05 +0100, Alex Sharaz wrote
> Hi all,
> 
> Got a wee problem here that I'm looking for some help with
> :-
> 
> Two servers, Server 1  one has openldap something running on it and 
> hosts profiles and users home directories
> 
> Server 2 (newer) has all their high capacity directories on it and 
> uses the ldap server on the
> 
> Server 1 is to be phased out.
> 
> I downloaded and built openldap 2.2.11 on server 2
> generated an ldif file of the contents of server 1's ldap server
> uploaded the file into the ldap server on Server 2
> modified the ldap.conf file on server 2 to talk to its own ldap server.
> 
> User logs on to server 1 and can see all assigned drives etc on 
> original server.
> 
> Authentication failures on any attempt to access anything on server 
> 2 e.g. drive h: maps to home directory on server 1, that's fine coz 
> its the original ldap server. Drive P: maps to a directory on Server 
> 2 - this fails with an authentication failure.
> 
> i've no idea what options were used when building server 1's ldap 
> daemon, but I built the Server 2 version as follows
> 
> ./configure --enable-crypt --without-cyrus-sasl --enable-bdb=no 
> --enable-ldbm=yes
> 
> Guess it might be the --enable-crypt option that's causing the 
> problem on the import.
> 
> Anyone got an idea how to migrate data from 1 ldap database to another?
> 
> TIa
> Alex
> 
> Sent using Mulberry 3.1.2
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba


--
Open WebMail Project (http://openwebmail.org)



More information about the samba mailing list