From: Aurynn S. <au...@gm...> - 2007-05-02 18:17:17
|
Hi, everyone; I'm trying to parse a foo.schema file, which appears to be in the attributetype ( 1.3.6.1.4.1.11940.1 NAME 'startDate' DESC 'Flash Code user subscription start date' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) style format, instead of LDIF. ldap.schema seems to indicate that it can parse LDAP schemas. Is that in this format, or does it require a connection to the LDAP server? Could I get some examples on how to do what I'm looking for? I'm wanting to generate SQL CREATE TABLE statements directly from the LDAP schema, which will hopefully save a lot of time in migrating my backend to postgres. Thank you, Aurynn |