Full_Name: olivier chirossel Version: 2.4.23 OS: linux URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (62.39.9.251)
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 ldap
suffix "dc=neuf,dc=fr"
rootdn "cn=manager,dc=neuf,dc=fr"
rootpw secret
updatedn "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 rwm
rwm-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 neufDhcpIP
rwm-map attribute neufDhcp82 neufDhcp82
rwm-map attribute neufDhcpOption neufDhcpOption
rwm-map attribute neufDhcp60 neufDhcp60
rwm-map attribute neufDhcpRelay neufDhcpRelay
rwm-map attribute neufDhcpComment neufDhcpComment
rwm-map attribute neufDhcpUnique neufDhcpUnique
rwm-map attribute neufDhcpProvider neufDhcpProvider
rwm-map attribute neufDhcpFQDN neufDhcpFQDN
rwm-map attribute neufDhcp82b neufDhcp82b
rwm-map attribute neufDhcpMac neufDhcpMac
rwm-map attribute neufDhcpSiaddr neufDhcpSiaddr
rwm-map attribute neufDhcpBootfilename neufDhcpBootfilename
rwm-map attribute neufBTID neufBTID
rwm-map attribute neufBTOption neufBTOption
rwm-map attribute neufTWINOption neufTWINOption
rwm-map attribute neufE28Option neufE28Option
rwm-map attribute circuitid circuitid
rwm-map attribute clientid clientid
rwm-map attribute device device
rwm-map attribute clientoffer clientoffer
rwm-map attribute ispid ispid
rwm-map attribute suspended suspended
rwm-map attribute neufDhcpIPb neufDhcpIPb
rwm-map attribute neufDhcpOptionb neufDhcpOptionb
rwm-map attribute idworkflow idworkflow
rwm-map attribute neufDhcpRelayIP neufDhcpRelayIP
rwm-map attribute interceptID interceptID
rwm-map attribute interceptEndpoint interceptEndpoint
rwm-map attribute neufDhcpRadiusOption neufDhcpRadiusOption
rwm-map attribute suffix suffix
rwm-map attribute dc dc
rwm-map attribute o o
rwm-map attribute ou ou
rwm-map attribute cn cn
rwm-map objectclass neufDhcpOption1 neufDhcpOption1
rwm-map objectclass neufDhcpOption5 neufDhcpOption5
rwm-map objectclass neufDhcpOption1R neufDhcpOption1R
rwm-map objectclass neufDhcpOption35 neufDhcpOption35
rwm-map objectclass neufBTOption neufBTOption
rwm-map objectclass neufDhcpOptionwifi neufDhcpOptionwifi
rwm-map objectclass Dhcp82 Dhcp82
rwm-map objectclass ClientDevice ClientDevice
rwm-map objectclass DhcpDevice DhcpDevice
rwm-map objectclass suffixobj suffixobj
rwm-map objectclass OrganizationalUnit OrganizationalUnit
rwm-map objectclass Organization Organization
rwm-map objectclass dcObject dcObject
rwm-map objectclass domain domain
rwm-map objectclass device device
rwm-map attribute *
rwm-map objectclass *
Thanks in avance for your help
Regards,