Re: (ITS#5182) test048 in OPENLDAP_REL_ENG_2_4
by ghenry@suretecsystems.com
<quote who="ghenry(a)OpenLDAP.org">
> Full_Name: Gavin Henry
> Version: OPENLDAP_REL_ENG_2_4
> OS: Fedora 7
> URL: http://www.suretec.org/our_docs/test048.tar.gz
> Submission from: (NULL) (80.229.93.1)
> Submitted by: ghenry
>
>
> I'm getting a fail at:
>
> "master and R1 slave databases differ"
>
> I'd like to learn how to debug this. Any tips?
>
> This is on a 64-Bit AMD machine, 2GB Ram, Berkeley 4.2.52.
>
> Thanks.
I'll double check this in HEAD now too. Should have done that first.
14 years, 8 months
Re: (ITS#5182) test048 in OPENLDAP_REL_ENG_2_4
by ando@sys-net.it
ghenry(a)OpenLDAP.org wrote:
>
> "master and R1 slave databases differ"
>
> I'd like to learn how to debug this. Any tips?
>
> This is on a 64-Bit AMD machine, 2GB Ram, Berkeley 4.2.52.
Can't look at your tar right now; but:
- check in scripts/test048* where the "master and R1 slave databases
differ" line is, and see what files are being tested
- they probably are macros, defined in scripts/defines.sh, something
like testrun/ldif.flt and testrun/ldapsearch.flt
- run diff -iu FILE1 FILE2 as resolved above and see where it fails.
If it points you somewhere (e.g. the difference is trivial, or there's
something very specific to a precise modification) fine, otherwise post
the outcome.
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Email: pierangelo.masarati(a)sys-net.it
---------------------------------------
14 years, 8 months
Re: (ITS#5172) slash in dn
by raphael.ouazana@linagora.com
Le Mer 10 octobre 2007 02:31, reinhold.may(a)gmx.de a écrit :
> adding new entry "cn=With/Slash,ou=My address book,dc=somedomain,dc=org"
> ldap_add: No such object (32)
> additional info: Parent does not exist
>
> which is erroneous.
My new crystal ball tells me that you are not saying the essential part of
the problem: you are using back-ldif, isn't it ?
Regards,
Raphael Ouazana.
14 years, 8 months
Re: (ITS#5180) OpenLDAP Website Home Page
by ghenry@OpenLDAP.org
>>
>> We need a better title ;-)
>>
>> <TITLE>OpenLDAP, Title</TITLE>
>>
>> Gavin.
>>
>>
>>
>
Oh, I've just checked. That's still not great. How about:
<TITLE>OpenLDAP - community developed LDAP software</TITLE>
--
Kind Regards,
Gavin Henry.
OpenLDAP Engineering Team.
E ghenry(a)OpenLDAP.org
Community developed LDAP software.
http://www.openldap.org/project/
14 years, 8 months
Re: (ITS#5180) OpenLDAP Website Home Page
by ghenry@OpenLDAP.org
Kurt Zeilenga wrote:
> Fixed.
Many thanks.
>
> On Oct 9, 2007, at 7:41 PM, ghenry(a)OpenLDAP.org wrote:
>
>> Full_Name: Gavin Henry
>> Version:
>> OS:
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (212.159.59.85)
>> Submitted by: ghenry
>>
>>
>> We need a better title ;-)
>>
>> <TITLE>OpenLDAP, Title</TITLE>
>>
>> Gavin.
>>
>>
>>
>
--
Kind Regards,
Gavin Henry.
OpenLDAP Engineering Team.
E ghenry(a)OpenLDAP.org
Community developed LDAP software.
http://www.openldap.org/project/
14 years, 8 months
Re: (ITS#5172) slash in dn
by ando@sys-net.it
reinhold.may(a)gmx.de wrote:
> Pierangelo,
>
> First of all: Sorry, I've left in fact a paragraph in my .ldif example
> that should have come out.
>
> I can reproduce what you've said and using the following code:
>
> #include <ldap.h>
> #include <stdio.h>
>
> int main() {
> char **c = ldap_explode_dn(
> "cn=With/Slash,ou=My address book,dc=somedomain,dc=org",
> 1);
>
> int i;
> for (i = 0; c[i] != 0; i++) {
> printf("%s\n", c[i]);
> }
>
> return 0;
> }
>
> which correctly produces:
>
> cn=With/Slash
> ou=My address book
> dc=somedomain
> dc=org
>
> And executing:
>
> # slapdn "cn=With/Slash,ou=My address book,dc=somedomain,dc=org"
>
> produces the expected:
>
> DN: <cn=With/Slash,ou=My address book,dc=somedomain,dc=org> check succeeded
> normalized: <cn=with/slash,ou=my address book,dc=somedomain,dc=org>
> pretty: <cn=With/Slash,ou=My address book,dc=somedomain,dc=org>
>
> However, running the actual example produces the following full output:
>
> $ ldapadd -x -D 'cn=root,dc=somedomain,dc=org' -W -f test.ldif
> Enter LDAP Password:
> adding new entry "dc=somedomain,dc=org"
>
> adding new entry "ou=My address book,dc=somedomain,dc=org"
>
> adding new entry "cn=With/Slash,ou=My address book,dc=somedomain,dc=org"
> ldap_add: No such object (32)
> additional info: Parent does not exist
>
> which is erroneous.
>
> Just to check that it is the forward slash that must be to blame, here's
> the full output of the counter check:
>
> $ ldapadd -x -D 'cn=root,dc=somedomain,dc=org' -W -f test2.ldif
> Enter LDAP Password:
> adding new entry "dc=somedomain,dc=org"
>
> adding new entry "ou=My address book,dc=somedomain,dc=org"
>
> adding new entry "cn=WithoutSlash,ou=My address book,dc=somedomain,dc=org"
>
> So, I still suspect a bug...
This output is not useful. First of all, can you tell what ldapadd
you're using? Please make sure you run the version of ldapadd that
comes with OpenLDAP sources you built. Second, please provide an
indication of what happens at the server side. Logs at "stats,trace"
would be helpful. I can confirm that I can successfully add an entry
whose RDN contains a slash "/" to OpenLDAP 2.3.
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Email: pierangelo.masarati(a)sys-net.it
---------------------------------------
14 years, 8 months
Re: (ITS#5172) slash in dn
by reinhold.may@gmx.de
Pierangelo,
First of all: Sorry, I've left in fact a paragraph in my .ldif example
that should have come out.
I can reproduce what you've said and using the following code:
#include <ldap.h>
#include <stdio.h>
int main() {
char **c = ldap_explode_dn(
"cn=With/Slash,ou=My address book,dc=somedomain,dc=org",
1);
int i;
for (i = 0; c[i] != 0; i++) {
printf("%s\n", c[i]);
}
return 0;
}
which correctly produces:
cn=With/Slash
ou=My address book
dc=somedomain
dc=org
And executing:
# slapdn "cn=With/Slash,ou=My address book,dc=somedomain,dc=org"
produces the expected:
DN: <cn=With/Slash,ou=My address book,dc=somedomain,dc=org> check succeeded
normalized: <cn=with/slash,ou=my address book,dc=somedomain,dc=org>
pretty: <cn=With/Slash,ou=My address book,dc=somedomain,dc=org>
However, running the actual example produces the following full output:
$ ldapadd -x -D 'cn=root,dc=somedomain,dc=org' -W -f test.ldif
Enter LDAP Password:
adding new entry "dc=somedomain,dc=org"
adding new entry "ou=My address book,dc=somedomain,dc=org"
adding new entry "cn=With/Slash,ou=My address book,dc=somedomain,dc=org"
ldap_add: No such object (32)
additional info: Parent does not exist
which is erroneous.
Just to check that it is the forward slash that must be to blame, here's
the full output of the counter check:
$ ldapadd -x -D 'cn=root,dc=somedomain,dc=org' -W -f test2.ldif
Enter LDAP Password:
adding new entry "dc=somedomain,dc=org"
adding new entry "ou=My address book,dc=somedomain,dc=org"
adding new entry "cn=WithoutSlash,ou=My address book,dc=somedomain,dc=org"
So, I still suspect a bug...
Reinhold
14 years, 8 months
(ITS#5181) ITS Copyright
by ghenry@OpenLDAP.org
Full_Name: Gavin Henry
Version:
OS:
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (212.159.59.85)
Submitted by: ghenry
Copyright on ITS website page and ITS auto-replies is still at 2006:
"Copyright 1998-2006 The OpenLDAP Foundation, All Rights Reserved."
14 years, 8 months