[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5172) slash in dn



Pierangelo,

> This output is not useful.

I'm sorry.

> 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.

I can confirm that ldapadd was built alongside slapd whose
version I stated in my original post (2.3.35).

As I'm not at home at the moment, the only thing I can do is
extract the syslog of that import in question which admittedly
doesn't say much, however, here it goes:

Oct 10 02:16:19 mm slapd[9746]: slapd starting
Oct 10 02:16:31 mm slapd[9746]: conn=0 fd=8 ACCEPT from IP=192.168.0.3:40394 (IP
=0.0.0.0:389)
Oct 10 02:16:31 mm slapd[9746]: conn=0 op=0 BIND dn="cn=root,dc=somedomain,dc=or
g" method=128
Oct 10 02:16:31 mm slapd[9746]: failed to open file "/var/lib/openldap-data/dc=s
omedomain,dc=org/cn=root.ldif": No such file or directory
Oct 10 02:16:31 mm slapd[9746]: conn=0 op=0 BIND dn="cn=root,dc=somedomain,dc=or
g" mech=SIMPLE ssf=0
Oct 10 02:16:31 mm slapd[9746]: conn=0 op=0 RESULT tag=97 err=0 text=
Oct 10 02:16:31 mm slapd[9746]: conn=0 op=1 ADD dn="dc=somedomain,dc=org"
Oct 10 02:16:31 mm slapd[9746]: conn=0 op=1 RESULT tag=105 err=0 text=
Oct 10 02:16:31 mm slapd[9746]: conn=0 op=2 ADD dn="ou=My address book,dc=somedo
main,dc=org"
Oct 10 02:16:31 mm slapd[9746]: conn=0 op=2 RESULT tag=105 err=0 text=
Oct 10 02:16:31 mm slapd[9746]: conn=0 op=3 ADD dn="cn=With/Slash,ou=My address 
book,dc=somedomain,dc=org"
Oct 10 02:16:31 mm slapd[9746]: conn=0 op=3 RESULT tag=105 err=32 text=Parent do
es not exist
Oct 10 02:16:31 mm slapd[9746]: conn=0 op=4 UNBIND
Oct 10 02:16:31 mm slapd[9746]: conn=0 fd=8 closed

Raphael,

> 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 ?

It is!  Did I miss a hint which would have told me not to use
back-ldif or use it differently?

Reinhold