[Samba] LDAP (Schemas,Users) to Samba4 migration
Andrew Bartlett
abartlet at samba.org
Mon Apr 8 05:22:14 MDT 2013
On Fri, 2013-04-05 at 12:10 +1100, Andrew Bartlett wrote:
> On Thu, 2013-04-04 at 01:15 -0700, alxgrb wrote:
> > I've tried with Apache Directory Studio to export LDAP (Schema) into LDIF
> > file. Its works.
> > But convert to (AD ldif) with oLschema2ldif don't work. S. message:
> >
> > sudo /usr/local/samba/bin/oLschema2ldif -b DN=domainname -I
> > /home/alxgrb/ldapschemas/old_ldap_schema_250313.ldif -O converted.ldif
> > malformed entry on line 1265
> > Converted 0 records with 1 failures
> >
> > Any Idea? (The line 1265 is empty)
> > Can I use ldbadd?
>
> We really need to drop this tool, it has never really worked well, the
> parsing text schema with a C tool was always a bad idea. It would be
> faster and more effective to have someone rewrite it in python.
I should however be clear:
To convert existing users and groups, use samba-tool domain
classicupgrade. This is different to if you can convert specific schema
extensions, which you may need to re-create by hand, and then import the
data for.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba
mailing list