RE: referrals

2016-01-27 Thread Michael Perelman
thank you for the info, Stefan.

what are the benefits of switching to M21 with respect to referrals? or are you 
simply suggesting because it is just better overall?

> Subject: Re: referrals
> To: users@directory.apache.org
> From: m...@stefan-seelmann.de
> Date: Wed, 27 Jan 2016 22:08:44 +0100
> 
> On 01/27/2016 06:31 PM, Michael Perelman wrote:
> > i am running ads2.0.0-M17, and wondering if it supports referrals. the 
> > doc on your site is missing the section on referrals, so i was hoping 
> > that you would be able disclose info on how to use referrals in apache 
> > directory studio. thank you!  
> 
> Both, ApacheDS (the server) and Apache Directory Studio support
> referrals and search continuations.
> 
> On the server side you have to create entries with objectClass referral
> and ref attribute which contains the LDAP URL to the other server.
> ApacheDS then adds search continuations to the search result.
> 
> In Studio you can define in the connection properties "Browser Options"
> tab how referrals should be followed, and if the "ManageDsaIT" control
> should be used to manage referral entries, see documentation [1].
> 
> Kind Regards,
> Stefan
> 
> PS: You should switch to the latest ApacheDS 2.0.0-M21
> 
> [1]
> https://directory.apache.org/studio/users-guide/ldap_browser/tools_connection_properties.html
> 
  

Re: referrals

2016-01-27 Thread Stefan Seelmann
On 01/27/2016 06:31 PM, Michael Perelman wrote:
> i am running ads2.0.0-M17, and wondering if it supports referrals. the 
> doc on your site is missing the section on referrals, so i was hoping 
> that you would be able disclose info on how to use referrals in apache 
> directory studio. thank you!

Both, ApacheDS (the server) and Apache Directory Studio support
referrals and search continuations.

On the server side you have to create entries with objectClass referral
and ref attribute which contains the LDAP URL to the other server.
ApacheDS then adds search continuations to the search result.

In Studio you can define in the connection properties "Browser Options"
tab how referrals should be followed, and if the "ManageDsaIT" control
should be used to manage referral entries, see documentation [1].

Kind Regards,
Stefan

PS: You should switch to the latest ApacheDS 2.0.0-M21

[1]
https://directory.apache.org/studio/users-guide/ldap_browser/tools_connection_properties.html



Rebooted ApacheDS M2 getting invalid type 31

2016-01-27 Thread steve . hammond

Everything was working for months.
Then search stopped working, so I thought I would resstart apache ds.

How can I get my system back to running?

serviice apacheDs stop
service apacheDs start

now it fails to start and logs say:
STATUS | wrapper  | 2016/01/27 21:32:25 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2016/01/27 21:32:25 | Launching a JVM...
INFO   | jvm 1| 2016/01/27 21:32:25 | Wrapper (Version 3.2.3) 
http://wrapper.tanukisoftware.org
INFO   | jvm 1| 2016/01/27 21:32:25 |   Copyright 1999-2006 Tanuki 
Software, Inc.  All Rights Reserved.

INFO   | jvm 1| 2016/01/27 21:32:25 |
INFO   | jvm 1| 2016/01/27 21:32:34 | LDAP: [2016-01-27 
21:32:34.279] ERROR [org.apache.directory.server.core.authz.GroupCache] 
- Exception while initializing the groupCache:  {}
INFO   | jvm 1| 2016/01/27 21:32:34 | 
org.apache.directory.api.ldap.model.exception.LdapOperationErrorException: 
invalid type code: 31
INFO   | jvm 1| 2016/01/27 21:32:34 |   at 
org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.fetch(AbstractBTreePartition.java:1217)
INFO   | jvm 1| 2016/01/27 21:32:34 |   at 
org.apache.directory.server.xdbm.search.evaluator.EqualityEvaluator.evaluate(EqualityEvaluator.java:97)
INFO   | jvm 1| 2016/01/27 21:32:34 |   at 
org.apache.directory.server.xdbm.search.evaluator.OrEvaluator.evaluate(OrEvaluator.java:85)
INFO   | jvm 1| 2016/01/27 21:32:34 |   at 
org.apache.directory.server.xdbm.search.evaluator.AndEvaluator.evaluate(AndEvaluator.java:110)
INFO   | jvm 1| 2016/01/27 21:32:34 |   at 
org.apache.directory.server.core.partition.impl.btree.EntryCursorAdaptor.get(EntryCursorAdaptor.java:167)
INFO   | jvm 1| 2016/01/27 21:32:34 |   at 
org.apache.directory.server.core.partition.impl.btree.EntryCursorAdaptor.get(EntryCursorAdaptor.java:43)
INFO   | jvm 1| 2016/01/27 21:32:34 |   at 
org.apache.directory.server.core.api.filtering.EntryFilteringCursorImpl.next(EntryFilteringCursorImpl.java:377)




Re: referrals

2016-01-27 Thread Stefan Seelmann
On 01/27/2016 10:26 PM, Michael Perelman wrote:
> thank you for the info, Stefan.
> 
> what are the benefits of switching to M21 with respect to referrals? or are 
> you simply suggesting because it is just better overall?

At least one bug was fixed in M20, but I don't know exactly when it was
introduced, somewhere between M15 and M19:

https://issues.apache.org/jira/browse/DIRSERVER-2057



Re: Rebooted ApacheDS M2 getting invalid type 31

2016-01-27 Thread Emmanuel Lécharny
Le 27/01/16 22:44, steve.hamm...@oracle.com a écrit :
> Everything was working for months.
> Then search stopped working, so I thought I would resstart apache ds.
>
> How can I get my system back to running?

Corupted database :/

Either you have a backup, or you might want to test an experimental
package that can clean the database using the command 'apacheds.sh
repair'. I just brew it last week-end, and made it available on 
people.apache.org/~elecharny. This is a full installer for a full
server, which will restart if you run 'apacheds.sh start'.

If you feel like being a guinea pig, I'm around to give you any help. We
intend to release that version asap, when we have tested it a bit more
thoroughly.

Note : THIS IS *NOT* an official release.