directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel L├ęcharny (Jira) <>
Subject [jira] [Commented] (DIRSERVER-2298) AM25 nis schema objectClasses missing must/attributes
Date Sun, 29 Mar 2020 15:16:00 GMT


Emmanuel L├ęcharny commented on DIRSERVER-2298:

So doing some (late) search here is what I find :
- the {{NIS}} schema is properly loaded in the {{SchemaManager}}
- the {{PosixAccount}} ObjectClass is also properly loaded:

        ObjectClass posixAccout = service.getSchemaManager().getObjectClassRegistry().get(
"" );
        System.out.println( posixAccout );


objectclass ( NAME 'posixAccount'
	DESC 'Abstraction of an account with POSIX attributes'
	SUP top
	MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
	MAY ( userPassword $ loginShell $ gecos $ description ) )

I'm now investigation a search done from the outside of the server's initialization, because
when I browse the schema using the LdapBrowser, here is what I get;
{noformat}dn: m-oid=,ou=objectClasses,cn=nis,ou=schema
objectclass: top
objectclass: metaTop
objectclass: metaObjectClass
m-description: Abstraction of an account with POSIX attributes
m-may: userPassword
m-may: description
m-must: cn
m-must: uid
m-name: posixAccount
m-obsolete: FALSE
m-supobjectclass: top
m-typeobjectclass: AUXILIARY

which is obviously wrong...

> AM25 nis schema objectClasses missing must/attributes
> -----------------------------------------------------
>                 Key: DIRSERVER-2298
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: config
>    Affects Versions: 2.0.0.AM25
>         Environment: linux command line ldap tools, but also apacheds studio.
>            Reporter: Brian Burch
>            Priority: Minor
> The nis schema with M23 was 100% compatible with the openldap and rfc2307 definitions
of posixAccount and posixGroup. Apparently, these have not changed for at least a decade.
> After a clean install from git source and creating a new user partition, the schema has
changed significantly. ( n.b. The schema can be enabled in the usual manner)>
>  # It is impossible to create a new posixUser, posixGroup, or even assign these objectclasses
to and existing user or group.
>  # ldif files which successfully modified the schema with M23 no longer work with AM25
because the dn's of these two objectclass schema entries have changed!

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message