The syntax for your /usr/local/etc/openldap/schema/myschema.schema would be attributetype ( 1.2.3.4.5.6.789 NAME 'mailalias' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) Joakim Bomelin wrote: > thanks. > I will upgrade to 2.x. > > so "attribute mailalias ces" is multi-value, while "attribute mailalias ces > SINGLE_VALUED_ATTR" is single? > > /Joakim > > > -----Original Message----- > > From: Steve Collins [mailto:scollins@apexvoice.com] > > Sent: den 20 november 2000 22:06 > > To: Joakim Bomelin; 'openldap-software@openldap.org' > > Subject: RE: migration > > > > > > In 2.0.x, there is a qualifier "SINGLE_VALUED_ATTR" (or > > something like that) > > whch u cn use to spcfy that attr is single-valued. Attrs are > > multi-valued by > > default. > > > > I don't know if you can do it in 1.2.x, I believe not; Why > > not use 2.x? > > > > > -----Original Message----- > > > From: owner-openldap-software@OpenLDAP.org > > > [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of > > Joakim Bomelin > > > Sent: Monday, November 20, 2000 9:28 AM > > > To: 'openldap-software@openldap.org' > > > Subject: migration > > > > > > > > > Hi. > > > I'm trying to move a file I call slapd.user_at.conf from my > > netscapeserver > > > to openldap. > > > The slapd.at.conf distributed with openldap looks like this: > > > > > > attribute userpassword ces > > > > > > while my slapd.user_at.conf (from netscape) looks like this: > > > > > > attribute userpassword userpassword-oid ces > > > single > > > > > > What I want to know is how I tell openldap that an > > attribute is single or > > > multi value. > > > I use openldap 1.2.11. > > > > > > -- > > > Joakim Bomelin > > > Framfab Labs Lund > > > +46 70 941 20 40 > > > joakim.bomelin@framfablabs.com > > > > >
begin:vcard n:Clegg;Dave tel;fax:626 798-3788 tel;home:626 798-1746 tel;work:510 922-3377 x-mozilla-html:TRUE org:Sybase, Inc. adr:;;1704 Skyview Drive;Altadena;CA;91001;USA version:2.1 email;internet:davec@sybase.com title:Engineering Director x-mozilla-cpt:;29040 fn:Dave Clegg end:vcard
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature