From mboxrd@z Thu Jan 1 00:00:00 1970 From: thorko Subject: Re: LDAP schema Date: Sun, 30 Mar 2008 10:34:15 +0200 Message-ID: References: <462E84F6.4050002@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <462E84F6.4050002@gmail.com> Sender: linux-admin-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: linux-admin@vger.kernel.org M=E1rio Gamito wrote: > Hi, >=20 > I'm trying to make a schema of my own. >=20 > For starters, I want a homeZIP. > I've created a tim.schema and included it in slapd.conf >=20 > I did it like this: > attributetype(1.3.6.1.4.1.7165.1.1.1.1 NAME 'homeZip' > DESC 'Home Zip' > SUBSTR caseExactIA5SubstringsMatch > EQUALITY caseExactIA5Match > SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) >=20 > OpenLdap starts just fine, but when I insert a homeZip value, I get t= he > error: > "ldap_add: Undefined attribute type (17) > additional info: homeZip: attribute type undefined" >=20 > Any help would be appreciated. >=20 > Warm Regards, Hi M=E1rio, what version of LDAP are u running? I found this page of schema specifications maybe it helps. http://www.openldap.org/doc/admin22/schema.html Ciao thorko -- To unsubscribe from this list: send the line "unsubscribe linux-admin" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html