[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] LDAP setup

Having never worked with OpenLDAP, when I deployed my STS, I've had
problems with that server too. Here are some pointers that made might
be of some help:

- You can get the necessary ldif file here:
https://camelot.parityinc.net/STSDocs/org.ldif (mentioned on that
page: http://wiki.eclipse.org/Deploy_Token_Service)

- You can start OpenLDAP with debug messages with that command:
slapd -d 5 -f <path to config file>

- You can test your config file with that command:
slapd -Tt -f <path to config file>

- The wiki page says to replace the schema folder with the one that
can be retrieved here:
https://camelot.parityinc.net/STSDocs/linux_config.zip
Don't. I initially did that and it caused some errors. Just copy the
.schema files that are not already present in your OpenLDAP
installation.

Hope this helps,
Jonathan


On Fri, Apr 9, 2010 at 5:29 AM, PASQUIER thomas
<thomas.PASQUIER@xxxxxxxxxxx> wrote:
> Hi all,
>
> I'm trying to setup a sts on a redhat server and meet some difficulty with LDAP. I didn't use LDAP before so I'm a little confused about how to configure it.
>
> At first I though having the good schemas and the according .conf file will work but it's not the case. I had the following error:
> Exception : javax.naming.NameNotFoundException: [LDAP: error code 32 - parent does not exist]; remaining name 'uid=a,ou=identities,dc=higgins,dc=eclipse,dc=org'
>
> Well it seems that I don't have all necessary entry in my LDAP three so I decided to import the database I use on my windows test machine using slapcat. But I'm not able to import it neither using ldapadd nor slapdadd.
>
> Slapadd error :
> str2entry: str2ad(entryUUID): attribute type undefined
>
> ldapadd error :
> ldap_add: Constraint violation
>        additional info: structuralObjectClass: no user modification allowed
>
> The last one is obviously a rights problem, but as I have no real idea of how ldap work I can't fix it.
>
> That problem is not directly related to Higgins STS but does someone have a .ldif (or any other solution) to setup correctly my LDAP ?
>
> Thank you.
> Best Regards,
> Thomas PASQUIER
> GEMALTO
> _______________________________________________
> higgins-dev mailing list
> higgins-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/higgins-dev
>