[jira] [Commented] (DIRSERVER-2264) missing schema type for NIS: nisMapName

2019-05-19 Thread Emmanuel Lecharny (JIRA)


[ 
https://issues.apache.org/jira/browse/DIRSERVER-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16843610#comment-16843610
 ] 

Emmanuel Lecharny commented on DIRSERVER-2264:
--

We have the same problem with the {{1.3.6.1.1.1.0.1}} missing syntax 
definition, it is used by the {{bootParameterSyntax}} attributeType.

See [DIRAPI-343|https://issues.apache.org/jira/browse/DIRAPI-343]

> missing schema type for NIS: nisMapName
> ---
>
> Key: DIRSERVER-2264
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2264
> Project: Directory ApacheDS
>  Issue Type: Bug
>  Components: schema
>Affects Versions: 2.0.0.AM25
>Reporter: Philip Brown
>Priority: Major
>
> the directory shipps with a bunch of NIS schema objects.. but it is missing a 
> crucial one:
> olcAttributeTypes: ( 1.3.6.1.1.1.1.26 NAME 'nisMapName'
>  DESC 'Name of a generic NIS map'
>  EQUALITY caseIgnoreMatch
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15\{64} )



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DIRSERVER-2264) missing schema type for NIS: nisMapName

2019-05-19 Thread Emmanuel Lecharny (JIRA)


[ 
https://issues.apache.org/jira/browse/DIRSERVER-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16843608#comment-16843608
 ] 

Emmanuel Lecharny commented on DIRSERVER-2264:
--

The {{1.3.6.1.1.1.0.0)) syntaxChecker is not defined, which causes the 
{{nisNetGroupTriple}} to be rejected.

This has to be defined in the LDAP API.

> missing schema type for NIS: nisMapName
> ---
>
> Key: DIRSERVER-2264
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2264
> Project: Directory ApacheDS
>  Issue Type: Bug
>  Components: schema
>Affects Versions: 2.0.0.AM25
>Reporter: Philip Brown
>Priority: Major
>
> the directory shipps with a bunch of NIS schema objects.. but it is missing a 
> crucial one:
> olcAttributeTypes: ( 1.3.6.1.1.1.1.26 NAME 'nisMapName'
>  DESC 'Name of a generic NIS map'
>  EQUALITY caseIgnoreMatch
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15\{64} )



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DIRSERVER-2264) missing schema type for NIS: nisMapName

2019-02-01 Thread Philip Brown (JIRA)


[ 
https://issues.apache.org/jira/browse/DIRSERVER-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16758666#comment-16758666
 ] 

Philip Brown commented on DIRSERVER-2264:
-

nope still broken, reguarding NIS OIDs.
I believe the following should work, but it doesnt.
I got an autobuild from today. deployed it, no replication, no nothing. Just 
tried to add a NIS/netgroup tree under example.com

But it claims 
: ERR_13735_ELEMENT_FOR_OID_DOES_NOT_EXIST ATTRIBUTE_TYPE for OID 
nisnetgrouptriple does not exist!

dn: ou=Netgroup,dc=example,dc=com
ou: Netgroup
objectClass: top
objectClass: organizationalUnit


dn: cn=normal-users,ou=Netgroup,dc=usc,dc=edu
objectClass: nisNetgroup
objectClass: top
cn: normal-users
nisNetgroupTriple: (-,fred,-)
nisNetgroupTriple: (-,jane,-)
nisNetgroupTriple: (-,bob,-)



> missing schema type for NIS: nisMapName
> ---
>
> Key: DIRSERVER-2264
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2264
> Project: Directory ApacheDS
>  Issue Type: Bug
>  Components: schema
>Affects Versions: 2.0.0.AM25
>Reporter: Philip Brown
>Priority: Major
>
> the directory shipps with a bunch of NIS schema objects.. but it is missing a 
> crucial one:
> olcAttributeTypes: ( 1.3.6.1.1.1.1.26 NAME 'nisMapName'
>  DESC 'Name of a generic NIS map'
>  EQUALITY caseIgnoreMatch
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15\{64} )



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DIRSERVER-2264) missing schema type for NIS: nisMapName

2019-02-01 Thread Stefan Seelmann (JIRA)


[ 
https://issues.apache.org/jira/browse/DIRSERVER-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16758559#comment-16758559
 ] 

Stefan Seelmann commented on DIRSERVER-2264:


The Jenkins servers are Ubuntu without rpm package installed. I started to 
migrate the builds to Docker where we can install our own packages which would 
allow to create the RPM package. But that will take some time (i.e. weeks).

> missing schema type for NIS: nisMapName
> ---
>
> Key: DIRSERVER-2264
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2264
> Project: Directory ApacheDS
>  Issue Type: Bug
>  Components: schema
>Affects Versions: 2.0.0.AM25
>Reporter: Philip Brown
>Priority: Major
>
> the directory shipps with a bunch of NIS schema objects.. but it is missing a 
> crucial one:
> olcAttributeTypes: ( 1.3.6.1.1.1.1.26 NAME 'nisMapName'
>  DESC 'Name of a generic NIS map'
>  EQUALITY caseIgnoreMatch
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15\{64} )



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DIRSERVER-2264) missing schema type for NIS: nisMapName

2019-02-01 Thread Philip Brown (JIRA)


[ 
https://issues.apache.org/jira/browse/DIRSERVER-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16758529#comment-16758529
 ] 

Philip Brown commented on DIRSERVER-2264:
-

Thanks.

Umm.. hm.

.deb but no .rpm?

:(

 

> missing schema type for NIS: nisMapName
> ---
>
> Key: DIRSERVER-2264
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2264
> Project: Directory ApacheDS
>  Issue Type: Bug
>  Components: schema
>Affects Versions: 2.0.0.AM25
>Reporter: Philip Brown
>Priority: Major
>
> the directory shipps with a bunch of NIS schema objects.. but it is missing a 
> crucial one:
> olcAttributeTypes: ( 1.3.6.1.1.1.1.26 NAME 'nisMapName'
>  DESC 'Name of a generic NIS map'
>  EQUALITY caseIgnoreMatch
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15\{64} )



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DIRSERVER-2264) missing schema type for NIS: nisMapName

2019-02-01 Thread Emmanuel Lecharny (JIRA)


[ 
https://issues.apache.org/jira/browse/DIRSERVER-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16758413#comment-16758413
 ] 

Emmanuel Lecharny commented on DIRSERVER-2264:
--

Either you build the server locally, or you can give one of the installers 
nightly build a go : 
https://builds.apache.org/view/A-D/view/Directory/job/dir-apacheds-docker-installers/

> missing schema type for NIS: nisMapName
> ---
>
> Key: DIRSERVER-2264
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2264
> Project: Directory ApacheDS
>  Issue Type: Bug
>  Components: schema
>Affects Versions: 2.0.0.AM25
>Reporter: Philip Brown
>Priority: Major
>
> the directory shipps with a bunch of NIS schema objects.. but it is missing a 
> crucial one:
> olcAttributeTypes: ( 1.3.6.1.1.1.1.26 NAME 'nisMapName'
>  DESC 'Name of a generic NIS map'
>  EQUALITY caseIgnoreMatch
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15\{64} )



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DIRSERVER-2264) missing schema type for NIS: nisMapName

2019-02-01 Thread Philip Brown (JIRA)


[ 
https://issues.apache.org/jira/browse/DIRSERVER-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16758403#comment-16758403
 ] 

Philip Brown commented on DIRSERVER-2264:
-

what’s the best way for me to get a working instance on my servers then?

On Fri, Feb 1, 2019 at 2:30 AM Emmanuel Lecharny (JIRA) 



> missing schema type for NIS: nisMapName
> ---
>
> Key: DIRSERVER-2264
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2264
> Project: Directory ApacheDS
>  Issue Type: Bug
>  Components: schema
>Affects Versions: 2.0.0.AM25
>Reporter: Philip Brown
>Priority: Major
>
> the directory shipps with a bunch of NIS schema objects.. but it is missing a 
> crucial one:
> olcAttributeTypes: ( 1.3.6.1.1.1.1.26 NAME 'nisMapName'
>  DESC 'Name of a generic NIS map'
>  EQUALITY caseIgnoreMatch
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15\{64} )



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DIRSERVER-2264) missing schema type for NIS: nisMapName

2019-02-01 Thread Emmanuel Lecharny (JIRA)


[ 
https://issues.apache.org/jira/browse/DIRSERVER-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16758187#comment-16758187
 ] 

Emmanuel Lecharny commented on DIRSERVER-2264:
--

I confirm the issue, but it seems it's solved in trunk. I have added a unit 
test in Apacheds :
{code:java}
/**
 * Test The addition of a nisMapName attributeType
 */
@Test
public void testAddNisMapName() throws Exception
{
LdapConnection connection = IntegrationUtils.getAdminConnection( 
getService() );

Dn dn = new Dn( "nisMapName=netgroup.byhost,ou=system" );
Entry entry = new DefaultEntry( dn,
"ObjectClass: top",
"ObjectClass: nisMap",
"nisMapName:  netgroup.byhost" );

connection.add( entry );

Entry result = connection.lookup( dn );

assertNotNull( result );
assertEquals( "netgroup.byhost", result.get( "nismapname" ).getString() 
);
}
{code}
This test passes if the {{NIS}} schema is enabled ON M26-SNAPSHOT.

I tested the same thing on Studio (WHICH USES M25), after having enabled the 
schema, reloaded the schemaManager, I see the {{nisMap}} ObjectClass, but I 
can't add it to an entry, getting an {{OBJECT_CLASS_VIOLATION}} error :
{noformat}
#!RESULT ERROR
#!CONNECTION ldap://localhost:10389
#!DATE 2019-02-01T10:25:31.692
#!ERROR [LDAP: error code 65 - OBJECT_CLASS_VIOLATION: failed for MessageType : 
ADD_REQUEST Message ID : 14 Add Request : Entry dn: 
cn=testNisMap,ou=system objectClass: nisObject objectClass: top cn: 
testNisMap nisMapName: test : ERR_277 Attribute nisMapName not declared in 
objectClasses of entry cn=testNisMap,ou=system]
dn: cn=testNisMap,ou=system
changetype: add
nisMapName: test
objectClass: nisObject
objectClass: top
cn: testNisMap
{noformat}

> missing schema type for NIS: nisMapName
> ---
>
> Key: DIRSERVER-2264
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2264
> Project: Directory ApacheDS
>  Issue Type: Bug
>  Components: schema
>Affects Versions: 2.0.0.AM25
>Reporter: Philip Brown
>Priority: Major
>
> the directory shipps with a bunch of NIS schema objects.. but it is missing a 
> crucial one:
> olcAttributeTypes: ( 1.3.6.1.1.1.1.26 NAME 'nisMapName'
>  DESC 'Name of a generic NIS map'
>  EQUALITY caseIgnoreMatch
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15\{64} )



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DIRSERVER-2264) missing schema type for NIS: nisMapName

2019-01-31 Thread Philip Brown (JIRA)


[ 
https://issues.apache.org/jira/browse/DIRSERVER-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16757872#comment-16757872
 ] 

Philip Brown commented on DIRSERVER-2264:
-

Similarly for when I tried to use this OID:

 


olcAttributeTypes: ( 1.3.6.1.1.1.1.14 NAME 'nisNetgroupTriple'
 DESC 'Netgroup triple'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )




 

: ERR_13735_ELEMENT_FOR_OID_DOES_NOT_EXIST ATTRIBUTE_TYPE for OID 
nisnetgrouptriple does not exist!

 

> missing schema type for NIS: nisMapName
> ---
>
> Key: DIRSERVER-2264
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2264
> Project: Directory ApacheDS
>  Issue Type: Bug
>  Components: schema
>Affects Versions: 2.0.0.AM25
>Reporter: Philip Brown
>Priority: Major
>
> the directory shipps with a bunch of NIS schema objects.. but it is missing a 
> crucial one:
> olcAttributeTypes: ( 1.3.6.1.1.1.1.26 NAME 'nisMapName'
>  DESC 'Name of a generic NIS map'
>  EQUALITY caseIgnoreMatch
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15\{64} )



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DIRSERVER-2264) missing schema type for NIS: nisMapName

2019-01-31 Thread Philip Brown (JIRA)


[ 
https://issues.apache.org/jira/browse/DIRSERVER-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16757864#comment-16757864
 ] 

Philip Brown commented on DIRSERVER-2264:
-

hm. actualy, it APPEARS to be there.

I found it under

cn=schema/cn=nis/ou=attributeTypes

 

However, when I tried to actually USE it, with ldapadd of

dn: nisMapName=netgroup.byhost,dc=
nismapname: netgroup.byhost
objectClass: top
objectClass: nisMap

I got an error,


Message ID : 14
 Add Request :
Entry
 dn: nisMapName=netgroup.byhost,dc=xxx
 objectClass: top
 objectClass: nisMap
 nismapname: netgroup.byhost
: ERR_13735_ELEMENT_FOR_OID_DOES_NOT_EXIST ATTRIBUTE_TYPE for OID nismapname 
does not exist!

 

> missing schema type for NIS: nisMapName
> ---
>
> Key: DIRSERVER-2264
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2264
> Project: Directory ApacheDS
>  Issue Type: Bug
>  Components: schema
>Affects Versions: 2.0.0.AM25
>Reporter: Philip Brown
>Priority: Major
>
> the directory shipps with a bunch of NIS schema objects.. but it is missing a 
> crucial one:
> olcAttributeTypes: ( 1.3.6.1.1.1.1.26 NAME 'nisMapName'
>  DESC 'Name of a generic NIS map'
>  EQUALITY caseIgnoreMatch
>  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15\{64} )



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)