You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Richard Mixon <rn...@custco.biz> on 2013/09/13 23:31:48 UTC

[ApacheDS] [Studio]

I have been dligently trying to follow the SevenSeas example instructions
at this link:

http://directory.apache.org/apacheds/basic-ug/1.5-sample-configuration.html

I've setup the new partition using this link:
  http://directory.apache.org/apacheds/basic-ug/1.4.3-adding-partition.html
I assume the word SevenSeans is mispelled and should really be SevenSeas,
though I was a bit curious why SevenSeas is used whereas the sampe LDIF
file uses sevenSeas.

Anyway, I end up with these error messages:

----- BEGIN ERRORS -----
# Sample LDIF data for the ApacheDS v1.0 Basic User's Guide
#
# Some sailors and their ships
# userpassword for all persons is "pass"
#
version: 1

#!RESULT ERROR
#!CONNECTION ldap://localhost:10389
#!DATE 2013-09-13T13:18:11.856
#!ERROR [LDAP: error code 32 - NO_SUCH_OBJECT: failed for MessageType :
ADD_REQUEST Message ID : 94     Add Request : Entry     dn[n]:
ou=people,o=sevenSeas     objectclass: organizationalUnit     objectclass:
top     ou: people     description: Contains entries which describe persons
(seamen) : ERR_268 Cannot find a partition for ou=people,o=sevenSeas]
dn: ou=people,o=sevenSeas
objectclass: organizationalUnit
objectclass: top
description: Contains entries which describe persons (seamen)
ou: people
----- END ERRORS -----

Did I miss a step fore creating or importing the schema for people?

My ultimate target is  to have a relatively simple LDAP database that can
support user authentication by both WordPress and Spring Java apps which
both have LDAP support.

Thank you in advance for any ideas/help. I've used openldap years ago on
Suse but that was canned.

 - Richard

Re: [ApacheDS] [Studio]

Posted by Richard Mixon <rn...@custco.biz>.
I have not responded in a while, my conundrum was that what I had figured
out did not mesh well with the Apache DS user guide organization (my fault,
not theirs).

Once I figured things out I did prepare a granular set of 22 screen shots
documenting a successful way to get the SevenSeas tutorial working in
Apache DS Studio, using the embedded DS server.

I will finish a brief writeup over the weekend and submit these as a patch
for what they are worth.

BTW, since them I've not had too much problem with Apache DS.  The
development work we have done with the API works well on Apache DS and on
openldap.

 - Richard


On Thu, Nov 7, 2013 at 6:20 AM, Emmanuel Lécharny <el...@gmail.com>wrote:

> Le 11/7/13 1:26 PM, ade a écrit :
> > as a newbie I'm completely baffled by this also. The tutorial seems to
> > contain a number of typos which stop someone of my LDAP level dead in
> their
> > tracks!
>
> This is certainly not a LDAP primer either. It's more about how to use
> ApacheDS, assuming you have a minimum education on LDAP.
>
> Sadly, it's hard to get this education anywhere, so we most certainly
> have to improve the doco.
>
> >
> > Created a partition using & "o=SevenSeas,dc=com" o=sevenseas" and in both
> > cases when trying to restart the server I keep getting a really useful --
> >
> > Starting ApacheDS instance 'default'...
> > org.apache.directory.api.ldap.model.exception.LdapOtherException:
> > java.lang.Integer cannot be cast to java.lang.Long at
> > .....
> >
> > which means absolutely nothing to me and I've no idea what to do now
> except
> > reinstall again and literally guess what how to fix.
>
> We have to add some note about such an error and what it does mean. But
> more important, we should avoid providing such cryptic errors.
>
> >
> > I'm sure this is a great product but wasted so much time battling what
> > probably is a very simple problem, maybe I should try another product
> unless
> > someone can help and tell me what to try next?
>
> The best is to ask here. You can try any other product, it's really up
> to you here.
>
> Let me tell you one thing : we are not perfect, far from it, and we
> mostly depend on people wanting to help fixing those imperfections. This
> is how it works. I know how frustrating it can be to face such
> ridiculous problems, especiallay when you are a newbie. That's life.
>
> Anyone can contribute, and it may even been some fix in the
> documentation. This is not such a big effort. But it's up to you, again ;-)
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
>


-- 
Richard Mixon
Custom Computer Creations, L.L.C.
mobile: (480) 577-6834 office: (480) 614-3442
email: rnmixon@CustCo.biz <ma...@CustCo.biz>
Microsoft Partner ID: 1263725
The messages and documents transmitted with this notice contain
confidential information belonging to the sender. If you are not the
intended recipient of this information, you are hereby notified that any
disclosure, copying, distribution or use of the information is strictly
prohibited. If you have received this transmission in error, please notify
the sender immediately.

Re: [ApacheDS] [Studio]

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 11/7/13 1:26 PM, ade a écrit :
> as a newbie I'm completely baffled by this also. The tutorial seems to
> contain a number of typos which stop someone of my LDAP level dead in their
> tracks!

This is certainly not a LDAP primer either. It's more about how to use
ApacheDS, assuming you have a minimum education on LDAP.

Sadly, it's hard to get this education anywhere, so we most certainly
have to improve the doco.

>
> Created a partition using & "o=SevenSeas,dc=com" o=sevenseas" and in both
> cases when trying to restart the server I keep getting a really useful --
>
> Starting ApacheDS instance 'default'...
> org.apache.directory.api.ldap.model.exception.LdapOtherException:
> java.lang.Integer cannot be cast to java.lang.Long at
> .....
>
> which means absolutely nothing to me and I've no idea what to do now except
> reinstall again and literally guess what how to fix.

We have to add some note about such an error and what it does mean. But
more important, we should avoid providing such cryptic errors.

>
> I'm sure this is a great product but wasted so much time battling what
> probably is a very simple problem, maybe I should try another product unless
> someone can help and tell me what to try next?

The best is to ask here. You can try any other product, it's really up
to you here.

Let me tell you one thing : we are not perfect, far from it, and we
mostly depend on people wanting to help fixing those imperfections. This
is how it works. I know how frustrating it can be to face such
ridiculous problems, especiallay when you are a newbie. That's life.

Anyone can contribute, and it may even been some fix in the
documentation. This is not such a big effort. But it's up to you, again ;-)


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


Re: [ApacheDS] [Studio]

Posted by ade <ha...@gmail.com>.
as a newbie I'm completely baffled by this also. The tutorial seems to
contain a number of typos which stop someone of my LDAP level dead in their
tracks!

Created a partition using & "o=SevenSeas,dc=com" o=sevenseas" and in both
cases when trying to restart the server I keep getting a really useful --

Starting ApacheDS instance 'default'...
org.apache.directory.api.ldap.model.exception.LdapOtherException:
java.lang.Integer cannot be cast to java.lang.Long at
.....

which means absolutely nothing to me and I've no idea what to do now except
reinstall again and literally guess what how to fix.

I'm sure this is a great product but wasted so much time battling what
probably is a very simple problem, maybe I should try another product unless
someone can help and tell me what to try next?

Don't mean to sound ungrateful as obviously this if free but for us
thickies, we need a simple, accurate tutorial to follow

thanks in advance!

and to compound the problem, I can't even post what I want to because my <30
lines of post gets rejected because for some reason this system thinks "You
have lines longer than 80 characters. Fix that"




Re: [ApacheDS] [Studio]

Posted by Richard Mixon <rn...@custco.biz>.
Emmanuel,

OK - I understand a bit more about the problems I encountered and why.
Please bear with my analysis - there is a point to it.

First - yes, there are some places in the documentation that are not clear
or that have not been updated to the current releases of the product.

Second, being such a newbee with Apache DS and LDAP to some extent, I just
simply overlooked some items which in retrospect are quite clear. For
example, as someone suggested when you create a new  partition the context
entry is now created for you. Yes it is  - it's checked by default, but you
do need to changed the default configuration for the context entry.

I have the snapshots and documentation to easily expand the last part of
section 1.5, beginning with "The sample data (Sailors of the seven seas)"
to be the more comprehensive step-by-step. It would be based upon
installing Apache Directory Studio, creating the server in studio and all
the steps to successfully load and browser the sample data.

Since the entire use case uses Apache Directory Studio, not just Apache DS,
should the example go in the Apache Directory Studio documentation? I did
not see a clear place in the user guides as they are divided according to
studio component (LDAP Browser, LDIF Editor, etc).

Maybe there is some place I'm overlooking - a wiki, or other place.

I'll wait to hear then submit the JIRA with the documentation patch.

Thank you - Richard





On Fri, Sep 13, 2013 at 11:24 PM, Emmanuel Lécharny <el...@gmail.com>wrote:

> Le 9/14/13 6:43 AM, Richard Mixon a écrit :
> > Emmanuel,
> > Thank yo u - I ended up doing something similar that worked, after
> starting
> > over with a default config.ldif
> >
> > 1. Created a partition with ID of sevenSeas and Suffix "dc=sevenSeas"
> > 2. After restarting the server, right-clicked on the partition and
> created
> > an entry with "o=sevenSeas". BTW, when you do this and select New, you
> are
> > given options to create a New Entry or a New Context Entry. I would have
> > thought Context Entry was the right choice, but just the simple Entry is
> > what worked.
>
> The ContextEntry is associated with the partition, ie with dc=sevenSeas.
> Here, you have created another entry which DN is
> o=sevenSeas,dc=sevenSeas. This is a plain new entry, not a Context entry.
>
> I *think* that whe you create the partition, the context entry is now
> automatically created (to be checked), and if so, we have to fix the
> documentation to reflect this feature.
> > 3. Afterwards after adding the following entry to the top of
> > apache-ds-tutorial.ldif it successfully imported:
> >
> > dn: o=sevenSeas,dc=sevenSeas
> > o: sevenSeas
> > objectClass: top
> > objectClass: organization
> > description: The context entry for suffix o=sevenSeas
> >
> > Thank you all for you help.
> >
> > I believe it would help a lot of LDAP nubies if the the tutorial recipe
> was
> > a bit more precise for importing the example/tutorial.
> >
> > Is there a way to contribute some corrections/clarifications to these
> links?
> >
> >
> http://directory.apache.org/apacheds/basic-ug/1.5-sample-configuration.html
> >
> http://directory.apache.org/apacheds/basic-ug/1.4.3-adding-partition.html
> > I would be happy to do so.
>
> They are plain text document, using markdown. They are available at
>
> http://svn.apache.org/viewvc/directory/site/trunk/content/apacheds/basic-ug/
> .
> Any patch on those files (and that can include fixes to the bad english
> used) is very welcomed (the best way to submit patches is to create a
> JIRA - see http://directory.apache.org/issue-tracking.html - and to
> attach a diff to it).
>
>
> Many thanks !
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
>


-- 
Richard Mixon
Custom Computer Creations, L.L.C.
mobile: (480) 577-6834 office: (480) 614-3442
email: rnmixon@CustCo.biz <ma...@CustCo.biz>
Microsoft Partner ID: 1263725
The messages and documents transmitted with this notice contain
confidential information belonging to the sender. If you are not the
intended recipient of this information, you are hereby notified that any
disclosure, copying, distribution or use of the information is strictly
prohibited. If you have received this transmission in error, please notify
the sender immediately.

Re: [ApacheDS] [Studio]

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 9/14/13 6:43 AM, Richard Mixon a écrit :
> Emmanuel,
> Thank yo u - I ended up doing something similar that worked, after starting
> over with a default config.ldif
>
> 1. Created a partition with ID of sevenSeas and Suffix "dc=sevenSeas"
> 2. After restarting the server, right-clicked on the partition and created
> an entry with "o=sevenSeas". BTW, when you do this and select New, you are
> given options to create a New Entry or a New Context Entry. I would have
> thought Context Entry was the right choice, but just the simple Entry is
> what worked.

The ContextEntry is associated with the partition, ie with dc=sevenSeas.
Here, you have created another entry which DN is
o=sevenSeas,dc=sevenSeas. This is a plain new entry, not a Context entry.

I *think* that whe you create the partition, the context entry is now
automatically created (to be checked), and if so, we have to fix the
documentation to reflect this feature.
> 3. Afterwards after adding the following entry to the top of
> apache-ds-tutorial.ldif it successfully imported:
>
> dn: o=sevenSeas,dc=sevenSeas
> o: sevenSeas
> objectClass: top
> objectClass: organization
> description: The context entry for suffix o=sevenSeas
>
> Thank you all for you help.
>
> I believe it would help a lot of LDAP nubies if the the tutorial recipe was
> a bit more precise for importing the example/tutorial.
>
> Is there a way to contribute some corrections/clarifications to these links?
>
> http://directory.apache.org/apacheds/basic-ug/1.5-sample-configuration.html
>   http://directory.apache.org/apacheds/basic-ug/1.4.3-adding-partition.html
> I would be happy to do so.

They are plain text document, using markdown. They are available at
http://svn.apache.org/viewvc/directory/site/trunk/content/apacheds/basic-ug/.
Any patch on those files (and that can include fixes to the bad english
used) is very welcomed (the best way to submit patches is to create a
JIRA - see http://directory.apache.org/issue-tracking.html - and to
attach a diff to it).


Many thanks !


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


Re: [ApacheDS] [Studio]

Posted by Richard Mixon <rn...@custco.biz>.
Emmanuel,
Thank yo u - I ended up doing something similar that worked, after starting
over with a default config.ldif

1. Created a partition with ID of sevenSeas and Suffix "dc=sevenSeas"
2. After restarting the server, right-clicked on the partition and created
an entry with "o=sevenSeas". BTW, when you do this and select New, you are
given options to create a New Entry or a New Context Entry. I would have
thought Context Entry was the right choice, but just the simple Entry is
what worked.
3. Afterwards after adding the following entry to the top of
apache-ds-tutorial.ldif it successfully imported:

dn: o=sevenSeas,dc=sevenSeas
o: sevenSeas
objectClass: top
objectClass: organization
description: The context entry for suffix o=sevenSeas

Thank you all for you help.

I believe it would help a lot of LDAP nubies if the the tutorial recipe was
a bit more precise for importing the example/tutorial.

Is there a way to contribute some corrections/clarifications to these links?

http://directory.apache.org/apacheds/basic-ug/1.5-sample-configuration.html
  http://directory.apache.org/apacheds/basic-ug/1.4.3-adding-partition.html
I would be happy to do so.

Thank you all for your help - Richard Mixon






On Fri, Sep 13, 2013 at 3:49 PM, Emmanuel Lécharny <el...@gmail.com>wrote:

> Le 9/13/13 11:52 PM, Richard Mixon a écrit :
> > After restarting, when I open in the browser in the outline pane it looks
> > like this:
> >
> > DIT
> >   Root DSE (6)
> >     > O dc=example,dc=com
> >     > O o=SevenSeas,dc=com (1)
> >         x o=SevenSeas
> >
> > Under the "Root DSE" "o=SevenSeas,dc=com" is listed as a namingContexts -
> > along with "dc=example,dc=com" , "ou=config", "ou=schema" and
> "ou=system".
> >
> > But it keeps telling me "Cannot find a partition for
> ou=people,o=sevenSeas"
>
> You need to create a o=sevenSeas partition then. Here, what you have is
> that you created a "o=SevenSeas,dc=com" partition instead, with contains
> a "o=sevenseas" entry.
>
> Delete the "o=sevenseas" entry, then the "o=SevenSeas,dc=com" partition,
> and create a "o=sevenseas" partition, that will fic your issue.
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
>


-- 
Richard Mixon
Custom Computer Creations, L.L.C.
mobile: (480) 577-6834 office: (480) 614-3442
email: rnmixon@CustCo.biz <ma...@CustCo.biz>
Microsoft Partner ID: 1263725
The messages and documents transmitted with this notice contain
confidential information belonging to the sender. If you are not the
intended recipient of this information, you are hereby notified that any
disclosure, copying, distribution or use of the information is strictly
prohibited. If you have received this transmission in error, please notify
the sender immediately.

Re: [ApacheDS] [Studio]

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 9/13/13 11:52 PM, Richard Mixon a écrit :
> After restarting, when I open in the browser in the outline pane it looks
> like this:
>
> DIT
>   Root DSE (6)
>     > O dc=example,dc=com
>     > O o=SevenSeas,dc=com (1)
>         x o=SevenSeas
>
> Under the "Root DSE" "o=SevenSeas,dc=com" is listed as a namingContexts -
> along with "dc=example,dc=com" , "ou=config", "ou=schema" and "ou=system".
>
> But it keeps telling me "Cannot find a partition for ou=people,o=sevenSeas"

You need to create a o=sevenSeas partition then. Here, what you have is
that you created a "o=SevenSeas,dc=com" partition instead, with contains
a "o=sevenseas" entry.

Delete the "o=sevenseas" entry, then the "o=SevenSeas,dc=com" partition,
and create a "o=sevenseas" partition, that will fic your issue.


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


Re: [ApacheDS] [Studio]

Posted by Kiran Ayyagari <ka...@apache.org>.
On Sat, Sep 14, 2013 at 3:22 AM, Richard Mixon <rn...@custco.biz> wrote:

> After restarting, when I open in the browser in the outline pane it looks
> like this:
>
> DIT
>   Root DSE (6)
>     > O dc=example,dc=com
>     > O o=SevenSeas,dc=com (1)
>         x o=SevenSeas
>
> Under the "Root DSE" "o=SevenSeas,dc=com" is listed as a namingContexts -
> along with "dc=example,dc=com" , "ou=config", "ou=schema" and "ou=system".
>
> But it keeps telling me "Cannot find a partition for ou=people,o=sevenSeas"
>
> you have to create an entry with "ou=people" under "o=servenSeas"
see if the corresponding entry with DN "ou=people,o=sevenSeas" is
present in the LDIF file you have

> Thank you!
>
>
> On Fri, Sep 13, 2013 at 2:41 PM, Emmanuel Lécharny <elecharny@gmail.com
> >wrote:
>
> > Le 9/13/13 11:31 PM, Richard Mixon a écrit :
> > > I have been dligently trying to follow the SevenSeas example
> instructions
> > > at this link:
> > >
> > >
> >
> http://directory.apache.org/apacheds/basic-ug/1.5-sample-configuration.html
> > >
> > > I've setup the new partition using this link:
> > >
> >
> http://directory.apache.org/apacheds/basic-ug/1.4.3-adding-partition.html
> > > I assume the word SevenSeans is mispelled and should really be
> SevenSeas,
> >
> > Absolutely right. Tis is a typo.
> > > though I was a bit curious why SevenSeas is used whereas the sampe LDIF
> > > file uses sevenSeas.
> > >
> > > Anyway, I end up with these error messages:
> > >
> > > ----- BEGIN ERRORS -----
> > > # Sample LDIF data for the ApacheDS v1.0 Basic User's Guide
> > > #
> > > # Some sailors and their ships
> > > # userpassword for all persons is "pass"
> > > #
> > > version: 1
> > >
> > > #!RESULT ERROR
> > > #!CONNECTION ldap://localhost:10389
> > > #!DATE 2013-09-13T13:18:11.856
> > > #!ERROR [LDAP: error code 32 - NO_SUCH_OBJECT: failed for MessageType :
> > > ADD_REQUEST Message ID : 94     Add Request : Entry     dn[n]:
> > > ou=people,o=sevenSeas     objectclass: organizationalUnit
> > objectclass:
> > > top     ou: people     description: Contains entries which describe
> > persons
> > > (seamen) : ERR_268 Cannot find a partition for ou=people,o=sevenSeas]
> > > dn: ou=people,o=sevenSeas
> > > objectclass: organizationalUnit
> > > objectclass: top
> > > description: Contains entries which describe persons (seamen)
> > > ou: people
> > > ----- END ERRORS -----
> > >
> > > Did I miss a step fore creating or importing the schema for people?
> >
> > Have ou created the sevenSeans partiton before injecting the LDIF ? If
> > so, you should see it in the root entry, in the NamingContexts
> > attribute. I would suggest to stop and restart the server if the
> > partition has been added.
> >
> > >
> > > My ultimate target is  to have a relatively simple LDAP database that
> can
> > > support user authentication by both WordPress and Spring Java apps
> which
> > > both have LDAP support.
> >
> > That should work fine.
> >
> > We are going to fix the picture to get the right name, btw.
> >
> > --
> > Regards,
> > Cordialement,
> > Emmanuel Lécharny
> > www.iktek.com
> >
> >
>
>
> --
> Richard Mixon
> Custom Computer Creations, L.L.C.
> mobile: (480) 577-6834 office: (480) 614-3442
> email: rnmixon@CustCo.biz <ma...@CustCo.biz>
> Microsoft Partner ID: 1263725
> The messages and documents transmitted with this notice contain
> confidential information belonging to the sender. If you are not the
> intended recipient of this information, you are hereby notified that any
> disclosure, copying, distribution or use of the information is strictly
> prohibited. If you have received this transmission in error, please notify
> the sender immediately.
>



-- 
Kiran Ayyagari
http://keydap.com

Re: [ApacheDS] [Studio]

Posted by Richard Mixon <rn...@custco.biz>.
After restarting, when I open in the browser in the outline pane it looks
like this:

DIT
  Root DSE (6)
    > O dc=example,dc=com
    > O o=SevenSeas,dc=com (1)
        x o=SevenSeas

Under the "Root DSE" "o=SevenSeas,dc=com" is listed as a namingContexts -
along with "dc=example,dc=com" , "ou=config", "ou=schema" and "ou=system".

But it keeps telling me "Cannot find a partition for ou=people,o=sevenSeas"

Thank you!


On Fri, Sep 13, 2013 at 2:41 PM, Emmanuel Lécharny <el...@gmail.com>wrote:

> Le 9/13/13 11:31 PM, Richard Mixon a écrit :
> > I have been dligently trying to follow the SevenSeas example instructions
> > at this link:
> >
> >
> http://directory.apache.org/apacheds/basic-ug/1.5-sample-configuration.html
> >
> > I've setup the new partition using this link:
> >
> http://directory.apache.org/apacheds/basic-ug/1.4.3-adding-partition.html
> > I assume the word SevenSeans is mispelled and should really be SevenSeas,
>
> Absolutely right. Tis is a typo.
> > though I was a bit curious why SevenSeas is used whereas the sampe LDIF
> > file uses sevenSeas.
> >
> > Anyway, I end up with these error messages:
> >
> > ----- BEGIN ERRORS -----
> > # Sample LDIF data for the ApacheDS v1.0 Basic User's Guide
> > #
> > # Some sailors and their ships
> > # userpassword for all persons is "pass"
> > #
> > version: 1
> >
> > #!RESULT ERROR
> > #!CONNECTION ldap://localhost:10389
> > #!DATE 2013-09-13T13:18:11.856
> > #!ERROR [LDAP: error code 32 - NO_SUCH_OBJECT: failed for MessageType :
> > ADD_REQUEST Message ID : 94     Add Request : Entry     dn[n]:
> > ou=people,o=sevenSeas     objectclass: organizationalUnit
> objectclass:
> > top     ou: people     description: Contains entries which describe
> persons
> > (seamen) : ERR_268 Cannot find a partition for ou=people,o=sevenSeas]
> > dn: ou=people,o=sevenSeas
> > objectclass: organizationalUnit
> > objectclass: top
> > description: Contains entries which describe persons (seamen)
> > ou: people
> > ----- END ERRORS -----
> >
> > Did I miss a step fore creating or importing the schema for people?
>
> Have ou created the sevenSeans partiton before injecting the LDIF ? If
> so, you should see it in the root entry, in the NamingContexts
> attribute. I would suggest to stop and restart the server if the
> partition has been added.
>
> >
> > My ultimate target is  to have a relatively simple LDAP database that can
> > support user authentication by both WordPress and Spring Java apps which
> > both have LDAP support.
>
> That should work fine.
>
> We are going to fix the picture to get the right name, btw.
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
>


-- 
Richard Mixon
Custom Computer Creations, L.L.C.
mobile: (480) 577-6834 office: (480) 614-3442
email: rnmixon@CustCo.biz <ma...@CustCo.biz>
Microsoft Partner ID: 1263725
The messages and documents transmitted with this notice contain
confidential information belonging to the sender. If you are not the
intended recipient of this information, you are hereby notified that any
disclosure, copying, distribution or use of the information is strictly
prohibited. If you have received this transmission in error, please notify
the sender immediately.

Re: [ApacheDS] [Studio]

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 9/13/13 11:31 PM, Richard Mixon a écrit :
> I have been dligently trying to follow the SevenSeas example instructions
> at this link:
>
> http://directory.apache.org/apacheds/basic-ug/1.5-sample-configuration.html
>
> I've setup the new partition using this link:
>   http://directory.apache.org/apacheds/basic-ug/1.4.3-adding-partition.html
> I assume the word SevenSeans is mispelled and should really be SevenSeas,

Absolutely right. Tis is a typo.
> though I was a bit curious why SevenSeas is used whereas the sampe LDIF
> file uses sevenSeas.
>
> Anyway, I end up with these error messages:
>
> ----- BEGIN ERRORS -----
> # Sample LDIF data for the ApacheDS v1.0 Basic User's Guide
> #
> # Some sailors and their ships
> # userpassword for all persons is "pass"
> #
> version: 1
>
> #!RESULT ERROR
> #!CONNECTION ldap://localhost:10389
> #!DATE 2013-09-13T13:18:11.856
> #!ERROR [LDAP: error code 32 - NO_SUCH_OBJECT: failed for MessageType :
> ADD_REQUEST Message ID : 94     Add Request : Entry     dn[n]:
> ou=people,o=sevenSeas     objectclass: organizationalUnit     objectclass:
> top     ou: people     description: Contains entries which describe persons
> (seamen) : ERR_268 Cannot find a partition for ou=people,o=sevenSeas]
> dn: ou=people,o=sevenSeas
> objectclass: organizationalUnit
> objectclass: top
> description: Contains entries which describe persons (seamen)
> ou: people
> ----- END ERRORS -----
>
> Did I miss a step fore creating or importing the schema for people?

Have ou created the sevenSeans partiton before injecting the LDIF ? If
so, you should see it in the root entry, in the NamingContexts
attribute. I would suggest to stop and restart the server if the
partition has been added.

>
> My ultimate target is  to have a relatively simple LDAP database that can
> support user authentication by both WordPress and Spring Java apps which
> both have LDAP support.

That should work fine.

We are going to fix the picture to get the right name, btw.

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com