[Samba] LDAP (Schemas,Users) to Samba4 migration

Andrew Bartlett abartlet at samba.org
Thu Apr 4 19:10:55 MDT 2013


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.

Andrew Bartlett

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




More information about the samba mailing list