Thanks for the tip. I had the visibility in another schema file (which was also being included in slapd.conf).

I moved it to the dyngroup.schema file. This is how it looks now:

However I have the same problem. It still doesn't show dygroup in the objectClass list whenever I try to crate a new entry.


2013/5/31 Michael Ströder <michael@stroeder.com>
Carlos.

please always follow-up on the mailing list so others can learn and answer as
well.

Carlos Santos wrote:
>    ################################################################################
>    - #
>    - objectClass ( 1.3.6.1.4.1.5923.1.1.101
>    -     NAME 'dygroup'
>    -     DESC 'dynamic group'
>    -     SUP groupOfURLs
>    -     STRUCTURAL
>    -     MUST ( visibility $ groupname $ owner ) )
>    -
>    -
>    -
>    ################################################################################

When using this and starting slapd with -d config,stats then it outputs:

51a8b922 line 53 (objectClass ( 1.3.6.1.4.1.5923.1.1.101        NAME 'dygroup'
       DESC 'dynamic group'        SUP groupOfURLs        STRUCTURAL
MUST ( visibility $ groupname $ owner ) ))
51a8b922
/home/michael/ftp/Linux/Networking/LDAP/OpenLDAP/schema/experimental.schema:
line 53 objectClass: AttributeType not found: "visibility"

So where's the attribute type description for 'visibility'?

=> always use debug options when starting slapd after working on custom schema
definitions.

Ciao, Michael.




--
cumprimentos,
Carlos Santos