directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrique Rodriguez" <>
Subject Re: [core] Best way to add subcontext to partition
Date Thu, 15 Mar 2007 21:02:05 GMT
On 3/15/07, Emmanuel Lecharny <> wrote:
> So far, may be the ReferralITest is close to what you want to do : it
> creates 3 sub contexts, and add entries into it, without using a LDIF file.
> This test case is in server-unit :
> Hope it helps, and also that it's not OT.

Definitely not OT and I did use those ITests to get started.  As I
mentioned earlier, the issue is that the base DN for Kerberos searches
has to exist before the Kerberos PP starts.  Of course, this is
probably bad design and has to be fixed for multi-realm capability.
Today the problem is that the Kerberos PP starts on the first call to
ServerContextFactory.  As Alex noted, this leaves LDIF is the only way
to load prior to protocol startup.  So, without an LDIF those ITest
examples don't help because I'm doing somethings with Kerberos.  The
only other way around this is to rework ServerContextFactory; to
basically write a new one that allows configuration of the backend,
then backend startup, then makes a context available by
CoreContextFactory, then allows some control over the protocol startup

Anyway, my question was answered and we have more food for thought and
probably a JIRA issue.


View raw message