[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Newbie question / defining directory values



Yeah, I finally stumbled upon those.. so I got my includes set up in
slapd.conf:

include        /usr/local/etc/openldap/schema/core.schema
include        /usr/local/etc/openldap/schema/cosine.schema
include        /usr/local/etc/openldap/schema/inetorgperson.schema

I'm just still unsure how to use fields like l, st, postalCode, etc.  When I
run a basic ldapsearch from the command line now, I get the same as before..
basic values like cn, sn, uid, mail .. I don't know how to get the other
ones 'in' there I guess, now that I got the includes set up.  I again tried
putting them as an index in slapd.conf, but it didn't work, and I think
that's wrong to begin with..

That link you sent me btw, was 404.

Thanks,
Chad

-----Original Message-----
From: Adam Williams [mailto:adam@morrison-ind.com]
Sent: Tuesday, July 30, 2002 10:42 AM
To: Chad Day
Cc: OpenLDAP
Subject: Re: Newbie question / defining directory values


>I don't understand how to define what values I want to keep track of.

Schema.  This has little/nothing to do with the contents of slapd.conf but
with the schema files you include

>In LDAP, I want to have records for Password, city, state, zip, etc.  I'm

You shouldn't need to define anything custom for these.  "Standard"
schemas exist that include these.

>unsure of where/how in slapd.conf this goes.. my attempts to try to figure
>it so far have led to slapd not starting each time I make a change, as I'm
>not doing it correctly.. can someone help me out or post a sample
slapd.conf
>file with custom fields and such?

See the schema section of ftp://kalamazoolinux.org/pub/pdf/ldapv3.pdf

You can't define custom schema without getting an OID from IANA.

Don't overlook the many standard schemas that already exist.