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

Re: definitions of attributes



Quoting christophe.Garrigue@altair.fr:

> Hi,
> I try to insert a person in my directory with a personal attribute named "cptess
>       " like define above in a schema file included in my slapd.conf
> 
> attributetype ( 1.1.2.1.1 NAME 'cptess'
>         DESC 'compteur de tentatives de connection'
>         SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 )

You must also define a objectclass where this attributetype is included (as a MAY or
MUST)...

> dn: CN=bidochon, O=ASC, C=FR
> cptess: 0
> objectclass: top
> objectclass: person
> objectclass: organizationalPerson
> objectclass: inetOrgPerson
> objectclass: dominoPerson

And don't forget to include your new objectclass:

objectclass: whatever

-- 
 Turbo     __ _     Debian GNU     Unix _IS_ user friendly - it's just 
 ^^^^^    / /(_)_ __  _   ___  __  selective about who its friends are 
         / / | | '_ \| | | \ \/ /    Debian Certified Linux Developer  
  _ /// / /__| | | | | |_| |>  <  Turbo Fredriksson   turbo@bayour.com
  \\\/  \____/_|_| |_|\__,_/_/\_\         Gothenburg/Sweden