You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2018/09/26 08:59:00 UTC
[jira] [Commented] (DIRSERVER-2253) NIS schema object class and
attribute problem
[ https://issues.apache.org/jira/browse/DIRSERVER-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628450#comment-16628450 ]
Emmanuel Lecharny commented on DIRSERVER-2253:
----------------------------------------------
Hi,
first of all, the {{NIS}} schema - and all the other schemas - aren't defined in {{ApacheDS}} but in the Apache {{LDAP API}}. That being said, it's quite transparent for you, just mentionning it for clarity.
Here is the current {{NIS}} {{PosixAccount}} defintion :
{noformat}
version: 1
dn: m-oid=1.3.6.1.1.1.2.0,ou=objectClasses,cn=nis,ou=schema
m-must: cn
m-must: uid
m-must: uidNumber
m-must: gidNumber
m-must: homeDirectory
m-oid: 1.3.6.1.1.1.2.0
m-obsolete: FALSE
m-supobjectclass: top
m-description: Abstraction of an account with POSIX attributes
objectclass: metaObjectClass
objectclass: metaTop
objectclass: top
m-name: posixAccount
m-typeobjectclass: AUXILIARY
creatorsname: uid=admin,ou=system
m-may: userPassword
m-may: loginShell
m-may: gecos
m-may: description
{noformat}
As you can see, the {{homeDirectory}} attributeType is present and is a {{MUST}} attribute. You can also check on the [git repository|https://gitbox.apache.org/repos/asf?p=directory-ldap-api.git;a=blob;f=ldap/schema/data/src/main/resources/schema/ou%3Dschema/cn%3Dnis/ou%3Dobjectclasses/m-oid%3D1.3.6.1.1.1.2.0.ldif;h=b6025118fa87aada946f0625f591d44b02655607;hb=HEAD]
So obviously, some changes have been applied to your {{NIS}} schema. Can you post what you currently have in it?
Thanks !
> NIS schema object class and attribute problem
> ---------------------------------------------
>
> Key: DIRSERVER-2253
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2253
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: ldap, schema
> Affects Versions: 2.0.0.AM25
> Environment: LXC Debian 9.5 container on Proxmox VE 5.0 (amd64 of course)
> Reporter: Asgarda
> Priority: Critical
> Labels: newbie, test, usability
>
> I've found problem with NIS schema. I don't even know how it possible, but object class *posixAccount* have no enough +_MUST_+ attributes, like *homeDirectory*. Somehow that attribute was placed into *extensibleObject* class.
>
> I've tried to reinstall ApacheDS AM25, because thinked what I doing something wrong, but no, problem wasn't fixed! Last try was - install M24, and after that I've checked NIS schema in that build, and it was OK.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)