mourik jan heupink
2013-Nov-11 10:20 UTC
[Samba] Copy additional LDAP attributes on migration from ldap
Hi all, I noticed that only the basic openldap attributes were migrated using classicupgrade from ldap on samba4 (4.1) We're missing many things like 'mail', 'givenName', 'jpegPhoto', etc. I searched bugzilla, and found https://bugzilla.samba.org/show_bug.cgi?id=9008 Does anyone know if this will be implemented any time soon? I'm guessing there are many networks like ours that use openldap for all kinds of stuff, and would like to slowly move towards samba4...? (or are there ways to use samba4/openldap simultaneously that I do not know..?) MJ
Marc Muehlfeld
2013-Nov-11 17:17 UTC
[Samba] Copy additional LDAP attributes on migration from ldap
Hello, Am 11.11.2013 11:20, schrieb mourik jan heupink:> I noticed that only the basic openldap attributes were migrated using > classicupgrade from ldap on samba4 (4.1) We're missing many things like > 'mail', 'givenName', 'jpegPhoto', etc. > > I searched bugzilla, and found > https://bugzilla.samba.org/show_bug.cgi?id=9008 > > Does anyone know if this will be implemented any time soon? I'm guessing > there are many networks like ours that use openldap for all kinds of > stuff, and would like to slowly move towards samba4...?You can simply work around that. After the migration: - Configure your openLDAP to listen on a different port than 389 - Start openLDAP again - Write a simple script that loops through all accounts on your DC. Inside this loop you retrieve the required attributes of these accounts from openLDAP and insert them with ldbmodify to AD. - Shutdown openLDAP Sounds more difficult than it is. 15 mins and it's done, if you know a scripting language. Regards, Marc