linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: thorko <news@thorko.de>
To: linux-admin@vger.kernel.org
Subject: Re: LDAP schema
Date: Sun, 30 Mar 2008 10:34:15 +0200	[thread overview]
Message-ID: <fsnja8$jp1$1@ger.gmane.org> (raw)
In-Reply-To: <462E84F6.4050002@gmail.com>

Mário Gamito wrote:
> Hi,
> 
> I'm trying to make a schema of my own.
> 
> For starters, I want a homeZIP.
> I've created a tim.schema and included it in slapd.conf
> 
> 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 )
> 
> OpenLdap starts just fine, but when I insert a homeZip value, I get the
> error:
> "ldap_add: Undefined attribute type (17)
>         additional info: homeZip: attribute type undefined"
> 
> Any help would be appreciated.
> 
> Warm Regards,

Hi Mário,
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

      parent reply	other threads:[~2008-03-30  8:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-24 22:30 LDAP schema Mário Gamito
2007-04-26  5:47 ` Nikolai Lusan
2008-03-30  8:34 ` thorko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fsnja8$jp1$1@ger.gmane.org' \
    --to=news@thorko.de \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).