|
Ok I’ll do this, Regards, Olivier De : openldap-technical-bounces@OpenLDAP.org
[mailto:openldap-technical-bounces@OpenLDAP.org] De la part de Luca Scamoni Since a core dump is always a bad thing I suggest you
file an ITS Hi I have to migrate from a openldap 2.3.x to openldap
2.4. During this migration phase i want my openldap 2.3.x master replicate with
slurpd to my new openldap 2.4.x master mirror mode architecture with some
rewriting rules for split my big directory. I configure a proxy ldap using back-ldap with
slapo-rwm overlay, but operational attributes related
to entry creation and modification are proxied, even when i put
« lastmod off » in the conf, contrary of the man of slapd-ldap … So i put rw-map directives in the conf for strip
operationnal attributes but this kind of operation generate a core dump … dn:
neufDhcpIP=10.145.250.119,suffix=9,o=auth,dc=neuf,dc=fr changetype: modify delete: neufDhcpOption neufDhcpOption: 1;255.255.255.0 - replace: entryCSN entryCSN: 20100511215647Z#000024#00#000000 - replace: modifiersName modifiersName: cn=manager,dc=neuf,dc=fr - replace: modifyTimestamp modifyTimestamp: 20100511215647Z dn: neufDhcpIP=10.145.250.119,suffix=9,o=auth,dc=neuf,dc=fr changetype: modify add: neufDhcpOption neufDhcpOption: 1;255.255.255.128 - replace: entryCSN entryCSN: 20100511215647Z#000024#00#000000 - replace: modifiersName modifiersName: cn=manager,dc=neuf,dc=fr - replace: modifyTimestamp modifyTimestamp: 20100511215647Z Core was generated by
`openldap-2.4.23/servers/slapd/slapd -F /etc/openldap/slapd-ldap.d -h ldap://10.'. Program terminated with
signal 6, Aborted. [New process 7995] [New process 7994] [New process 7990] [New process 7989] #0
0x00007f01373f9ed5 in raise () from /lib/libc.so.6 (gdb) bt #0
0x00007f01373f9ed5 in raise () from /lib/libc.so.6 #1
0x00007f01373fb3f3 in abort () from /lib/libc.so.6 #2 0x00007f0137436408
in __libc_message () from /lib/libc.so.6 #3
0x00007f013743b9a8 in malloc_printerr () from /lib/libc.so.6 #4
0x00007f013743dab6 in free () from /lib/libc.so.6 #5
0x000000000055b8e2 in ber_bvarray_free_x (a=0x26de840, ctx=0x0) at memory.c:737 #6
0x000000000046e3a1 in slap_mod_free (mod=0x26d07f0, freeit=0) at mods.c:461 #7
0x000000000046e42d in slap_mods_free (ml=0x26d07f0, freevals=1) at mods.c:481 #8
0x0000000000437960 in do_modify (op=0x25d02e0, rs=0x41d24cb0) at modify.c:187 #9
0x000000000041f6ef in connection_operation (ctx=0x41d24e00, arg_v=<value
optimized out>) at connection.c:1109 #10 0x00000000004203dd in
connection_read_thread (ctx=0x41d24e00, argv=<value optimized out>) at
connection.c:1245 #11 0x0000000000534080 in
ldap_int_thread_pool_wrapper (xpool=<value optimized out>) at tpool.c:685 #12 0x00007f0137f21fc7 in
start_thread () from /lib/libpthread.so.0 #13 0x00007f013749764d in
clone () from /lib/libc.so.6 #14 0x0000000000000000 in
?? () (gdb) My conf : database ldapsuffix "dc=neuf,dc=fr"rootdn "cn=manager,dc=neuf,dc=fr"rootpw secretupdatedn "cn=manager,dc=neuf,dc=fr"uri "ldap://127.0.0.1/"idassert-bind bindmethod=simple binddn="cn=manager,dc=neuf,dc=fr" credentials=secret overlay rwmrwm-rewriteEngine on rwm-rewriteContext default rwm-rewriteRule "neufDhcpIP=([0-9\\.]+)([0-9]{1}),ou=People,o=auth,dc=neuf,dc=fr$" "neufDhcpIP=$1$2,suffix=$2,o=auth,dc=neuf,dc=fr"rwm-map attribute neufDhcpIP neufDhcpIPrwm-map attribute neufDhcp82 neufDhcp82rwm-map attribute neufDhcpOption neufDhcpOptionrwm-map attribute neufDhcp60 neufDhcp60rwm-map attribute neufDhcpRelay neufDhcpRelayrwm-map attribute neufDhcpComment neufDhcpCommentrwm-map attribute neufDhcpUnique neufDhcpUniquerwm-map attribute neufDhcpProvider neufDhcpProviderrwm-map attribute neufDhcpFQDN neufDhcpFQDNrwm-map attribute neufDhcp82b neufDhcp82brwm-map attribute neufDhcpMac neufDhcpMacrwm-map attribute neufDhcpSiaddr neufDhcpSiaddrrwm-map attribute neufDhcpBootfilename neufDhcpBootfilenamerwm-map attribute neufBTID neufBTIDrwm-map attribute neufBTOption neufBTOptionrwm-map attribute neufTWINOption neufTWINOptionrwm-map attribute neufE28Option neufE28Optionrwm-map attribute circuitid circuitidrwm-map attribute clientid clientidrwm-map attribute device devicerwm-map attribute clientoffer clientofferrwm-map attribute ispid ispidrwm-map attribute suspended suspendedrwm-map attribute neufDhcpIPb neufDhcpIPbrwm-map attribute neufDhcpOptionb neufDhcpOptionbrwm-map attribute idworkflow idworkflowrwm-map attribute neufDhcpRelayIP neufDhcpRelayIPrwm-map attribute interceptID interceptIDrwm-map attribute interceptEndpoint interceptEndpointrwm-map attribute neufDhcpRadiusOption neufDhcpRadiusOptionrwm-map attribute suffix suffixrwm-map attribute dc dcrwm-map attribute o orwm-map attribute ou ourwm-map attribute cn cnrwm-map objectclass neufDhcpOption1 neufDhcpOption1rwm-map objectclass neufDhcpOption5 neufDhcpOption5rwm-map objectclass neufDhcpOption1R neufDhcpOption1Rrwm-map objectclass neufDhcpOption35 neufDhcpOption35rwm-map objectclass neufBTOption neufBTOptionrwm-map objectclass neufDhcpOptionwifi neufDhcpOptionwifirwm-map objectclass Dhcp82 Dhcp82rwm-map objectclass ClientDevice ClientDevicerwm-map objectclass DhcpDevice DhcpDevicerwm-map objectclass suffixobj suffixobjrwm-map objectclass OrganizationalUnit OrganizationalUnitrwm-map objectclass Organization Organizationrwm-map objectclass dcObject dcObjectrwm-map objectclass domain domainrwm-map objectclass device devicerwm-map attribute *rwm-map objectclass *
Thank’s in avance for your help Regards, Olivier -- Luca Scamoni |