[Date Prev][Date Next]
Re: Why is LDAP so complex?
On Thursday 10 January 2002 22:45, you wrote:
> > -----Original Message-----
> > From: owner-openldap-software@OpenLDAP.org
> > [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Tony Bibbs
> > OK, I'm a bit frustrated with LDAP...partly because sometime I rush
> > things and make stupid mistakes but also in part by LDAP being much more
> > complicated than I think it should be.
> > Has anyone thought to write a set of programs that turns the cryptic
> > LDAP syntaxes into more of a usable system?
> > For example, LDIF files are a joke to me. Maybe I should rest assured
> > knowing that understanding them now affords me a degree of job security
> > but why not simplify it. Here's an example of what I'd like to see
> > happen
> > Take this example (taken right from the openldap quick-start guide)
> > dn: dc=example,dc=com
> > objectclass: dcObject
> > objectclass: organization
> > o: Example Company
> > dc: example
> > dn: cn=Manager,dc=example,dc=com
> > objectclass: organizationalRole
> > cn: Manager
> > Why not create a simple object'ish language that allows all that to be
> > defined as follows:
> > $myentry1 = New LDAP_ENTRY("example.com");
> > $myentry1.InheritClass("dcObject");
> > $myentry1.InheritClass("organization");
> > $myentry1.o = "Example Company";
> > $myentry1.dc ="example";
> > $myentry1.add();
> > $myentry2 = New LDAP_ENTRY("manager.example.com");
> > $myentry2.InheritClass("organizationalRole");
> > $myentry2.cn = "Manager";
> > $myentry2.add();
> > The idea here is that the above could be ran through some sort of LDAP
> > interpreter that would then checks syntaxes and give more useful
> > messages (errors or otherwise) that aid in deploying LDAP
> Maybe it's just me, but that looks like about twice as much text and
> still no simpler.
No, you're not the only one.
BTW the thing above is a mixture between data and instructions.
This makes parsing it for other purposes than simple uploading
Peter Marschall | eMail: email@example.com
Scheffelstraße 15 | firstname.lastname@example.org
97072 Würzburg | Tel: 0931/14721
PGP: D7 FF 20 FE E6 6B 31 74 D1 10 88 E0 3C FE 28 35