(ITS#8991) Error while trying to create database with attribute olcSuffix in internationalized UTF-8 DN format.
by uneex@ya.ru
Full_Name: Varnava Sergey
Version: openldap-sasl-server-2.4.47
OS: FreeBSD 12.0-RELEASE
URL:
Submission from: (NULL) (86.62.75.82)
slapd configured to use cn=config
I'm trying to create database under cn=config with olcSuffix attribute set to DN
with international UTF-8 characters.
`cat adddb.ldif`
dn: olcDatabase=mdb
objectClass: olcDatabaseConfig
objectClass: olcMdbConfig
olcDatabase: mdb
olcSuffix:: ZGM90KHQvtC70L3Ri9GI0LrQvixkYz3QlNGD0YDQlNC+0LwK
olcRootDN:: Y2490JTQuNGA0LXQutGC0L7RgCxkYz3QodC+0LvQvdGL0YjQutC+LGRjPdCU0YPRgNCU0L7QvAo=
olcRootPW:: e1NTSEF9ZHVyc2VjcmV0Cg==
olcDbIndex: objectClass eq
olcDbDirectory: /var/db/openldap-data
When doing `ldapadd -x -w secret -f /root/adddb.ldif`
I'm getting this error:
adding new entry "olcDatabase=mdb"
ldap_add: Invalid syntax (21)
additional info: olcSuffix: value #0 invalid per syntax
Some debug from log file:
...
Mar 13 20:32:00 ldap slapd[2181]: send_ldap_result: conn=1004 op=0 p=3
Mar 13 20:32:00 ldap slapd[2181]: send_ldap_response: msgid=1 tag=97 err=0
Mar 13 20:32:00 ldap slapd[2181]: daemon: activity on 1 descriptor
Mar 13 20:32:00 ldap slapd[2181]: daemon: activity on:
Mar 13 20:32:00 ldap slapd[2181]: 13r
Mar 13 20:32:00 ldap slapd[2181]:
Mar 13 20:32:00 ldap slapd[2181]: daemon: read activity on 13
Mar 13 20:32:00 ldap slapd[2181]: daemon: select: listen=6 active_threads=0
tvp=NULL
Mar 13 20:32:00 ldap slapd[2181]: daemon: select: listen=7 active_threads=0
tvp=NULL
Mar 13 20:32:00 ldap slapd[2181]: daemon: select: listen=8 active_threads=0
tvp=NULL
Mar 13 20:32:00 ldap slapd[2181]: connection_get(13): got connid=1004
Mar 13 20:32:00 ldap slapd[2181]: connection_read(13): checking for input on
id=1004
Mar 13 20:32:00 ldap slapd[2181]: op tag 0x68, time 1552498320
Mar 13 20:32:00 ldap slapd[2181]: conn=1004 op=1 do_add
Mar 13 20:32:00 ldap slapd[2181]: daemon: activity on 1 descriptor
Mar 13 20:32:00 ldap slapd[2181]: daemon: waked
Mar 13 20:32:00 ldap slapd[2181]: daemon: select: listen=6 active_threads=0
tvp=NULL
Mar 13 20:32:00 ldap slapd[2181]: daemon: select: listen=7 active_threads=0
tvp=NULL
Mar 13 20:32:00 ldap slapd[2181]: daemon: select: listen=8 active_threads=0
tvp=NULL
Mar 13 20:32:00 ldap slapd[2181]: >>> dnPrettyNormal: <olcDatabase=mdb>
Mar 13 20:32:00 ldap slapd[2181]: <<< dnPrettyNormal: <olcDatabase=mdb>,
<olcDatabase=mdb>
Mar 13 20:32:00 ldap slapd[2181]: >>> dnPretty:
<dc=Солн<D1>M-^K<D1>M-^Hко,dc=<D0>M-^T<D1>M-^C<D1>M-^@<D0>M-^Tом
>
Mar 13 20:32:00 ldap slapd[2181]: send_ldap_result: conn=1004 op=1 p=3
Mar 13 20:32:00 ldap slapd[2181]: send_ldap_response: msgid=2 tag=105 err=21
Mar 13 20:32:00 ldap slapd[2181]: daemon: activity on 1 descriptor
Mar 13 20:32:00 ldap slapd[2181]: daemon: activity on:
Mar 13 20:32:00 ldap slapd[2181]: 13r
Mar 13 20:32:00 ldap slapd[2181]:
Mar 13 20:32:00 ldap slapd[2181]: daemon: read activity on 13
Mar 13 20:32:00 ldap slapd[2181]: daemon: select: listen=6 active_threads=0
tvp=NULL
Mar 13 20:32:00 ldap slapd[2181]: daemon: select: listen=7 active_threads=0
tvp=NULL
Mar 13 20:32:00 ldap slapd[2181]: daemon: select: listen=8 active_threads=0
tvp=NULL
Mar 13 20:32:00 ldap slapd[2181]: connection_get(13): got connid=1004
Mar 13 20:32:00 ldap slapd[2181]: connection_read(13): checking for input on
id=1004
Mar 13 20:32:00 ldap slapd[2181]: op tag 0x42, time 1552498320
Mar 13 20:32:00 ldap slapd[2181]: ber_get_next on fd 13 failed errno=0 (No
error: 0)
Mar 13 20:32:00 ldap slapd[2181]: connection_read(13): input error=-2 id=1004,
closing.
Mar 13 20:32:00 ldap slapd[2181]: connection_closing: readying conn=1004 sd=13
for close
Mar 13 20:32:00 ldap slapd[2181]: connection_close: deferring conn=1004 sd=13
Mar 13 20:32:00 ldap slapd[2181]: conn=1004 op=2 do_unbind
Mar 13 20:32:00 ldap slapd[2181]: connection_resched: attempting closing
conn=1004 sd=13
Mar 13 20:32:00 ldap slapd[2181]: connection_close: conn=1004 sd=13
Mar 13 20:32:00 ldap slapd[2181]: daemon: removing 13
Mar 13 20:32:00 ldap slapd[2181]: daemon: activity on 1 descriptor
Mar 13 20:32:00 ldap slapd[2181]: daemon: waked
Mar 13 20:32:00 ldap slapd[2181]: daemon: select: listen=6 active_threads=0
tvp=NULL
Mar 13 20:32:00 ldap slapd[2181]: daemon: select: listen=7 active_threads=0
tvp=NULL
Mar 13 20:32:00 ldap slapd[2181]: daemon: select: listen=8 active_threads=0
tvp=NULL
...
Is it possible to solve this problem?
1 year, 10 months
(ITS#7770) mdb_stat in cn=monitor
by michael@stroeder.com
I'm currently testing this feature back-ported to RE24 branch.
I noticed that these attributes are set to empty values:
creatorsName:
modifiersName:
Rest of entry looks good:
dn: cn=Database 1,cn=Databases,cn=Monitor
objectClass: monitoredObject
objectClass: olmMDBDatabase
structuralObjectClass: monitoredObject
cn: Database 1
creatorsName:
modifiersName:
createTimestamp: 20190312102553Z
modifyTimestamp: 20190312102553Z
monitoredInfo: mdb
monitorIsShadow: FALSE
namingContexts: cn=accesslog
readOnly: FALSE
monitorOverlay: noopsrch
seeAlso: cn=Overlay 1,cn=Overlays,cn=Monitor
seeAlso: cn=Backend 2,cn=Backends,cn=Monitor
olmMDBPagesMax: 97656
olmMDBPagesUsed: 33695
olmMDBPagesFree: 88
olmMDBReadersMax: 126
olmMDBReadersUsed: 3
olmDbDirectory: /var/lib/ldap/accesslog/
entryDN: cn=Database 1,cn=Databases,cn=Monitor
subschemaSubentry: cn=Subschema
hasSubordinates: TRUE
1 year, 10 months
Re: (ITS#8987) Dirty compile without -Wall and friends
by hyc@symas.com
noloader(a)gmail.com wrote:
> Full_Name: JW
> Version: 2.4.47
> OS: Linux (Fedora 29, x86_64, fully patched)
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (151.196.22.177)
>=20
>=20
> I'm building OpenLDAP 2.4.47 from sources on Fedora 29, x86_64. These l=
ook like
> a valid complaints:
All of these are already fixed in git. Most as part of ITS#8890, some fro=
m
other commits.
>=20
> cc -g2 -O2 -fsanitize=3Dundefined -march=3Dnative -fPIC -I../../../inc=
lude
> -I../../../include -I.. -I./.. -I/usr/local/include -DNDEBUG -c ldif.c =
-o
> ldif.o
> bconfig.c: In function =E2=80=98config_rename_one=E2=80=99:
> bconfig.c:4487:38: warning: passing argument 3 of =E2=80=98ldap_bv2rdn=E2=
=80=99 from
> incompatible pointer type [-Wincompatible-pointer-types]
> rc =3D ldap_bv2rdn( &e->e_name, &rDN, &text, LDAP_DN_FORMAT_LDAP );
> ^~~~~
> In file included from ../../include/portable.h:1171,
> from bconfig.c:21:
> ../../include/ldap.h:1711:9: note: expected =E2=80=98char **=E2=80=99 b=
ut argument is of type
> =E2=80=98const char **=E2=80=99
> char **next,
> ~~~~~~~^~~~
> ../../include/ldap_cdefs.h:32:25: note: in definition of macro =E2=80=98=
LDAP_P=E2=80=99
> # define LDAP_P(protos) protos
> ^~~~~~
>=20
>=20
>=20
> bconfig.c: In function =E2=80=98config_build_entry=E2=80=99:
> bconfig.c:6505:31: warning: passing argument 3 of =E2=80=98ldap_bv2rdn=E2=
=80=99 from
> incompatible pointer type [-Wincompatible-pointer-types]
> rc =3D ldap_bv2rdn( rdn, &rDN, &text, LDAP_DN_FORMAT_LDAP );
> ^~~~~
> In file included from ../../include/portable.h:1171,
> from bconfig.c:21:
> ../../include/ldap.h:1711:9: note: expected =E2=80=98char **=E2=80=99 b=
ut argument is of type
> =E2=80=98const char **=E2=80=99
> char **next,
> ~~~~~~~^~~~
> ../../include/ldap_cdefs.h:32:25: note: in definition of macro =E2=80=98=
LDAP_P=E2=80=99
> # define LDAP_P(protos) protos
> ^~~~~~
>=20
>=20
> cc -g2 -O2 -fsanitize=3Dundefined -march=3Dnative -fPIC -I../../include=
-I.
> -I./slapi -I. -I../../include -I/usr/local/include -DNDEBUG -c -o
> backends.o backends.c
> backend.c: In function =E2=80=98fe_acl_group=E2=80=99:
> backend.c:1503:56: warning: comparison between pointer and zero charact=
er
> constant [-Wpointer-compare]
> if ( ludp->lud_filter !=3D NULL && ludp->lud_filter !=3D '\0') {
> ^~
> backend.c:1503:39: note: did you mean to dereference the pointer?
> if ( ludp->lud_filter !=3D NULL && ludp->lud_filter !=3D '\0') {
> ^
>=20
>=20
> cc -g2 -O2 -fsanitize=3Dundefined -march=3Dnative -fPIC -I../../../inc=
lude
> -I../../../include -I.. -I./.. -I. -I./../back-bdb -I/usr/local/include=
-DNDEBUG
> -c tools.c -o tools.o
> In file included from ../../../include/portable.h:1171,
> from init.c:17:
> init.c: In function 'hdb_db_open':
> ../back-bdb/proto-bdb.h:22:35: warning: passing argument 2 of
> 'db->bdi_db->set_dup_compare' from incompatible pointer type
> [-Wincompatible-pointer-types]
> #define BDB_SYMBOL(x) LDAP_CONCAT(hdb_,x)
> ^~~~
>=20
>=20
>=20
> syntax.c: In function =E2=80=98syn_add=E2=80=99:
> syntax.c:222:33: warning: comparison between pointer and zero character=
constant
> [-Wpointer-compare]
> if ( (*lsei)->lsei_values[0] =3D=3D '\0'
> ^~
> syntax.c:222:9: note: did you mean to dereference the pointer?
> if ( (*lsei)->lsei_values[0] =3D=3D '\0'
> ^
> syntax.c:223:32: warning: comparison between pointer and zero character=
constant
> [-Wpointer-compare]
> || (*lsei)->lsei_values[1] !=3D '\0' )
> ^~
> syntax.c:223:8: note: did you mean to dereference the pointer?
> || (*lsei)->lsei_values[1] !=3D '\0' )
> ^
>=20
>=20
>=20
> cc -g2 -O2 -fsanitize=3Dundefined -march=3Dnative -fPIC -I../../include
> -I../../include -I/usr/local/include -DNDEBUG -c -o slapd-addel.o
> slapd-addel.c
> slapd-addel.c: In function =E2=80=98main=E2=80=99:
> slapd-addel.c:176:36: warning: comparison between pointer and zero char=
acter
> constant [-Wpointer-compare]
> if (( attrs =3D=3D NULL ) || ( *attrs =3D=3D '\0' )) {
> ^~
>=20
>=20
>=20
>=20
--=20
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
1 year, 10 months
Re: (ITS#8989) Undefined Behavior in id2entry.c
by hyc@symas.com
noloader(a)gmail.com wrote:
> Full_Name: JW
> Version: 2.4.47
> OS: Linux (Fedora 29, x86_64, fully patched)
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (151.196.22.177)
>
>
> CFLAGS includes -fsanitize=undefined. These can be cleared with 1U << 31.
>
> id2entry.c:622:9: runtime error: left shift of 1 by 31 places cannot be
> represented in type 'int'
> id2entry.c:691:11: runtime error: left shift of 1 by 31 places cannot be
> represented in type 'int'
> id2entry.c:708:22: runtime error: left shift of 1 by 31 places cannot be
> represented in type 'int'
> id2entry.c:709:20: runtime error: left shift of 1 by 31 places cannot be
> represented in type 'int'
Fixed in git
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
1 year, 10 months
(ITS#8989) Undefined Behavior in id2entry.c
by noloader@gmail.com
Full_Name: JW
Version: 2.4.47
OS: Linux (Fedora 29, x86_64, fully patched)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (151.196.22.177)
CFLAGS includes -fsanitize=undefined. These can be cleared with 1U << 31.
id2entry.c:622:9: runtime error: left shift of 1 by 31 places cannot be
represented in type 'int'
id2entry.c:691:11: runtime error: left shift of 1 by 31 places cannot be
represented in type 'int'
id2entry.c:708:22: runtime error: left shift of 1 by 31 places cannot be
represented in type 'int'
id2entry.c:709:20: runtime error: left shift of 1 by 31 places cannot be
represented in type 'int'
1 year, 10 months
(ITS#8988) Undefined Behavior in slapadd
by noloader@gmail.com
Full_Name: JW
Version: 2.4.47
OS: Linux (Fedora 29, x86_64, fully patched)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (151.196.22.177)
I added -fsanitize=undefined to CFLAGS.
>>>>> Starting test001-slapadd for mdb...
running defines.sh
Running slapadd to build slapd database...
../../../libraries/liblmdb/mdb.c:7544:26: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 66 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7545:3: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 66 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6046:8: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 66 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:2418:7: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 66 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6938:10: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 66 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6939:6: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 66 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6939:6: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 66 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7287:6: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 66 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7303:18: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 66 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7303:18: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 66 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7306:6: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 66 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7335:11: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 66 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7339:12: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 66 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7341:20: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 66 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7342:15: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 66 00 52 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7343:15: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 52 00 52 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7343:15: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 52 00 52 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7346:9: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 12 00 52 00 52 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7349:6: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 12 00 52 00 52 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7357:6: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 12 00 52 00 52 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6050:9: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 12 00 52 00 52 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6054:11: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 12 00 52 00 52 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6069:25: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 12 00 52 00 52 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6286:26: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 52 00 14 00 00
00 00 00 00 00 36 00
^
../../../libraries/liblmdb/mdb.c:6288:9: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 52 00 14 00 00
00 00 00 00 00 36 00
^
../../../libraries/liblmdb/mdb.c:6290:6: runtime error: member access within
misaligned address 0x0000023fe67a for type 'struct MDB_page', which requires 8
byte alignment
0x0000023fe67a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 52 00 14 00 00
00 00 00 00 00 36 00
^
id2entry.c:622:9: runtime error: left shift of 1 by 31 places cannot be
represented in type 'int'
../../../libraries/liblmdb/mdb.c:6071:11: runtime error: member access within
misaligned address 0x7f4a33564f9a for type 'struct MDB_page', which requires 8
byte alignment
0x7f4a33564f9a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 52 00 14 00 00
00 00 00 00 00 36 00
^
../../../libraries/liblmdb/mdb.c:6075:13: runtime error: member access within
misaligned address 0x7f4a33564f9a for type 'struct MDB_page', which requires 8
byte alignment
0x7f4a33564f9a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 52 00 14 00 00
00 00 00 00 00 36 00
^
../../../libraries/liblmdb/mdb.c:6164:6: runtime error: member access within
misaligned address 0x7f4a33564f9a for type 'struct MDB_page', which requires 8
byte alignment
0x7f4a33564f9a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 52 00 14 00 00
00 00 00 00 00 36 00
^
../../../libraries/liblmdb/mdb.c:6242:9: runtime error: member access within
misaligned address 0x0000024240f2 for type 'struct MDB_page', which requires 8
byte alignment
0x0000024240f2: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:6248:6: runtime error: member access within
misaligned address 0x0000024240f2 for type 'struct MDB_page', which requires 8
byte alignment
0x0000024240f2: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:6785:19: runtime error: member access within
misaligned address 0x00000242417a for type 'struct MDB_page', which requires 8
byte alignment
0x00000242417a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 52 00 14 00 00
00 00 00 00 00 36 00
^
../../../libraries/liblmdb/mdb.c:6786:6: runtime error: member access within
misaligned address 0x00000242417a for type 'struct MDB_page', which requires 8
byte alignment
0x00000242417a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 52 00 14 00 00
00 00 00 00 00 36 00
^
../../../libraries/liblmdb/mdb.c:6681:7: runtime error: member access within
misaligned address 0x00000242417a for type 'struct MDB_page', which requires 8
byte alignment
0x00000242417a: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 52 00 14 00 00
00 00 00 00 00 36 00
^
../../../libraries/liblmdb/mdb.c:6712:10: runtime error: member access within
misaligned address 0x00000242417a for type 'struct MDB_page', which requires 8
byte alignment
0x00000242417a: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 52 00 14 00 00
00 00 00 00 00 36 00
^
../../../libraries/liblmdb/mdb.c:7553:25: runtime error: member access within
misaligned address 0x00000242313c for type 'struct MDB_page', which requires 8
byte alignment
0x00000242313c: note: pointer points here
00 96 de fd 0b 00 00 00 00 00 00 00 08 00 72 00 10 00 30 00 00 00 00 00 00
00 00 00 01 00 00 00
^
../../../libraries/liblmdb/mdb.c:7291:9: runtime error: member access within
misaligned address 0x00000242313c for type 'struct MDB_page', which requires 8
byte alignment
0x00000242313c: note: pointer points here
00 96 de fd 0b 00 00 00 00 00 00 00 08 00 72 00 10 00 30 00 00 00 00 00 00
00 00 00 01 00 00 00
^
../../../libraries/liblmdb/mdb.c:7298:16: runtime error: member access within
misaligned address 0x00000242313c for type 'struct MDB_page', which requires 8
byte alignment
0x00000242313c: note: pointer points here
00 96 de fd 0b 00 00 00 00 00 00 00 08 00 72 00 10 00 30 00 01 00 00 00 00
00 00 00 01 00 00 00
^
../../../libraries/liblmdb/mdb.c:7298:16: runtime error: member access within
misaligned address 0x00000242313c for type 'struct MDB_page', which requires 8
byte alignment
0x00000242313c: note: pointer points here
00 96 de fd 0b 00 00 00 00 00 00 00 08 00 72 00 10 00 30 00 01 00 00 00 00
00 00 00 01 00 00 00
^
../../../libraries/liblmdb/mdb.c:7299:16: runtime error: member access within
misaligned address 0x00000242313c for type 'struct MDB_page', which requires 8
byte alignment
0x00000242313c: note: pointer points here
00 96 de fd 0b 00 00 00 00 00 00 00 08 00 72 00 12 00 30 00 01 00 00 00 00
00 00 00 01 00 00 00
^
../../../libraries/liblmdb/mdb.c:7299:16: runtime error: member access within
misaligned address 0x00000242313c for type 'struct MDB_page', which requires 8
byte alignment
0x00000242313c: note: pointer points here
00 96 de fd 0b 00 00 00 00 00 00 00 08 00 72 00 12 00 30 00 01 00 00 00 00
00 00 00 01 00 00 00
^
../../../libraries/liblmdb/mdb.c:5172:34: runtime error: load of misaligned
address 0x00000242314c for type 'size_t', which requires 8 byte alignment
0x00000242314c: note: pointer points here
12 00 2a 00 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 6d 70 6c 65 2c
64 63 3d 63 6f 6d 00
^
../../../libraries/liblmdb/mdb.c:5173:27: runtime error: load of misaligned
address 0x00000242314c for type 'size_t', which requires 8 byte alignment
0x00000242314c: note: pointer points here
12 00 2a 00 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 6d 70 6c 65 2c
64 63 3d 63 6f 6d 00
^
../../../libraries/liblmdb/mdb.c:6087:34: runtime error: member access within
misaligned address 0x7f4a3356bf12 for type 'struct MDB_page', which requires 8
byte alignment
0x7f4a3356bf12: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:6089:13: runtime error: member access within
misaligned address 0x7f4a3356bf12 for type 'struct MDB_page', which requires 8
byte alignment
0x7f4a3356bf12: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:6093:15: runtime error: member access within
misaligned address 0x7f4a3356bf12 for type 'struct MDB_page', which requires 8
byte alignment
0x7f4a3356bf12: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:5282:10: runtime error: member access within
misaligned address 0x7f4a3356bf12 for type 'struct MDB_page', which requires 8
byte alignment
0x7f4a3356bf12: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:5288:8: runtime error: member access within
misaligned address 0x7f4a3356bf12 for type 'struct MDB_page', which requires 8
byte alignment
0x7f4a3356bf12: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:5302:6: runtime error: member access within
misaligned address 0x7f4a3356bf12 for type 'struct MDB_page', which requires 8
byte alignment
0x7f4a3356bf12: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:5322:11: runtime error: member access within
misaligned address 0x7f4a3356bf12 for type 'struct MDB_page', which requires 8
byte alignment
0x7f4a3356bf12: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:6794:13: runtime error: member access within
misaligned address 0x0000024210c2 for type 'struct MDB_page', which requires 8
byte alignment
0x0000024210c2: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:6825:22: runtime error: member access within
misaligned address 0x0000024210c2 for type 'struct MDB_page', which requires 8
byte alignment
0x0000024210c2: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:6826:24: runtime error: member access within
misaligned address 0x0000024210c2 for type 'struct MDB_page', which requires 8
byte alignment
0x0000024210c2: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:6827:24: runtime error: member access within
misaligned address 0x0000024210c2 for type 'struct MDB_page', which requires 8
byte alignment
0x0000024210c2: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:6832:29: runtime error: member access within
misaligned address 0x0000024210c2 for type 'struct MDB_page', which requires 8
byte alignment
0x0000024210c2: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:6831:68: runtime error: member access within
misaligned address 0x0000024210c2 for type 'struct MDB_page', which requires 8
byte alignment
0x0000024210c2: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:6833:61: runtime error: member access within
misaligned address 0x0000024210c2 for type 'struct MDB_page', which requires 8
byte alignment
0x0000024210c2: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:6833:46: runtime error: member access within
misaligned address 0x0000024210c2 for type 'struct MDB_page', which requires 8
byte alignment
0x0000024210c2: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:6834:18: runtime error: member access within
misaligned address 0x0000024210c2 for type 'struct MDB_page', which requires 8
byte alignment
0x0000024210c2: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 42 00 14 00 00
00 00 00 00 00 26 00
^
../../../libraries/liblmdb/mdb.c:7336:31: runtime error: member access within
misaligned address 0x000002421064 for type 'struct MDB_page', which requires 8
byte alignment
0x000002421064: note: pointer points here
00 00 00 00 0f 00 00 00 00 00 00 00 00 00 52 00 14 00 44 00 72 00 44 00 00
00 00 00 01 00 00 00
^
../../../libraries/liblmdb/mdb.c:7336:18: runtime error: member access within
misaligned address 0x000002421064 for type 'struct MDB_page', which requires 8
byte alignment
0x000002421064: note: pointer points here
00 00 00 00 0f 00 00 00 00 00 00 00 00 00 52 00 14 00 44 00 72 00 44 00 00
00 00 00 01 00 00 00
^
../../../libraries/liblmdb/mdb.c:6778:17: runtime error: member access within
misaligned address 0x000002422104 for type 'struct MDB_page', which requires 8
byte alignment
0x000002422104: note: pointer points here
9b ee 35 5f 10 00 00 00 00 00 00 00 08 00 72 00 14 00 24 00 02 00 00 00 00
00 00 00 03 00 00 00
^
../../../libraries/liblmdb/mdb.c:6779:10: runtime error: member access within
misaligned address 0x000002422104 for type 'struct MDB_page', which requires 8
byte alignment
0x000002422104: note: pointer points here
9b ee 35 5f 10 00 00 00 00 00 00 00 08 00 72 00 14 00 24 00 02 00 00 00 00
00 00 00 03 00 00 00
^
../../../libraries/liblmdb/mdb.c:6779:10: runtime error: member access within
misaligned address 0x000002422104 for type 'struct MDB_page', which requires 8
byte alignment
0x000002422104: note: pointer points here
9b ee 35 5f 10 00 00 00 00 00 00 00 08 00 72 00 14 00 24 00 02 00 00 00 00
00 00 00 03 00 00 00
^
../../../libraries/liblmdb/mdb.c:6829:41: runtime error: member access within
misaligned address 0x000002429dd4 for type 'struct MDB_page', which requires 8
byte alignment
0x000002429dd4: note: pointer points here
00 96 de fd 0a 00 00 00 00 00 00 00 08 00 72 00 20 00 20 00 01 00 00 00 00
00 00 00 02 00 00 00
^
../../../libraries/liblmdb/mdb.c:6829:57: runtime error: member access within
misaligned address 0x000002429dd4 for type 'struct MDB_page', which requires 8
byte alignment
0x000002429dd4: note: pointer points here
00 96 de fd 0a 00 00 00 00 00 00 00 08 00 72 00 20 00 20 00 01 00 00 00 00
00 00 00 02 00 00 00
^
../../../libraries/liblmdb/mdb.c:5346:8: runtime error: member access within
misaligned address 0x7f4a33565aaa for type 'struct MDB_page', which requires 8
byte alignment
0x7f4a33565aaa: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 08 00 52 00 16 00 16 00 96 00 56 00 16
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:5347:11: runtime error: member access within
misaligned address 0x7f4a33565aaa for type 'struct MDB_page', which requires 8
byte alignment
0x7f4a33565aaa: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 08 00 52 00 16 00 16 00 96 00 56 00 16
00 00 00 00 00 00 00
^
Starting slapd on TCP/IP port 9011...
Using ldapsearch to retrieve all the entries...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
Running slapadd with unordered LDIF...
../../../libraries/liblmdb/mdb.c:7544:26: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 76 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7545:3: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 76 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6046:8: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 76 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:2418:7: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 76 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6938:10: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 76 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6939:6: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 76 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6939:6: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 76 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7287:6: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 76 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7303:18: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 76 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7303:18: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 76 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7306:6: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 76 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7335:11: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 76 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7339:12: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 76 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7341:20: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 76 00 00 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7342:15: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 76 00 62 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7343:15: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 62 00 62 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7343:15: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 10 00 62 00 62 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7346:9: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 12 00 62 00 62 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7349:6: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 12 00 62 00 62 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:7357:6: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 12 00 62 00 62 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6050:9: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 12 00 62 00 62 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6054:11: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 12 00 62 00 62 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6069:25: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 12 00 62 00 62 00 00 00 00
00 00 00 00 00 00 00
^
../../../libraries/liblmdb/mdb.c:6286:26: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 62 00 14 00 00
00 00 00 00 00 46 00
^
../../../libraries/liblmdb/mdb.c:6288:9: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 62 00 14 00 00
00 00 00 00 00 46 00
^
../../../libraries/liblmdb/mdb.c:6290:6: runtime error: member access within
misaligned address 0x0000020d339a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d339a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 62 00 14 00 00
00 00 00 00 00 46 00
^
id2entry.c:622:9: runtime error: left shift of 1 by 31 places cannot be
represented in type 'int'
../../../libraries/liblmdb/mdb.c:6071:11: runtime error: member access within
misaligned address 0x7f30b251af8a for type 'struct MDB_page', which requires 8
byte alignment
0x7f30b251af8a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 62 00 14 00 00
00 00 00 00 00 46 00
^
../../../libraries/liblmdb/mdb.c:6075:13: runtime error: member access within
misaligned address 0x7f30b251af8a for type 'struct MDB_page', which requires 8
byte alignment
0x7f30b251af8a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 62 00 14 00 00
00 00 00 00 00 46 00
^
../../../libraries/liblmdb/mdb.c:6164:6: runtime error: member access within
misaligned address 0x7f30b251af8a for type 'struct MDB_page', which requires 8
byte alignment
0x7f30b251af8a: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 62 00 14 00 00
00 00 00 00 00 46 00
^
../../../libraries/liblmdb/mdb.c:6242:9: runtime error: member access within
misaligned address 0x0000020f842e for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f842e: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:6248:6: runtime error: member access within
misaligned address 0x0000020f842e for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f842e: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:6785:19: runtime error: member access within
misaligned address 0x0000020f84ca for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f84ca: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 62 00 14 00 00
00 00 00 00 00 46 00
^
../../../libraries/liblmdb/mdb.c:6786:6: runtime error: member access within
misaligned address 0x0000020f84ca for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f84ca: note: pointer points here
00 00 00 00 03 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 62 00 14 00 00
00 00 00 00 00 46 00
^
../../../libraries/liblmdb/mdb.c:6681:7: runtime error: member access within
misaligned address 0x0000020f84ca for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f84ca: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 62 00 14 00 00
00 00 00 00 00 46 00
^
../../../libraries/liblmdb/mdb.c:6712:10: runtime error: member access within
misaligned address 0x0000020f84ca for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f84ca: note: pointer points here
00 00 00 00 0a 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 62 00 14 00 00
00 00 00 00 00 46 00
^
../../../libraries/liblmdb/mdb.c:7553:25: runtime error: member access within
misaligned address 0x0000020f74ec for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f74ec: note: pointer points here
9b ee 35 5f 0b 00 00 00 00 00 00 00 08 00 72 00 10 00 30 00 00 00 00 00 00
00 00 00 01 00 00 00
^
../../../libraries/liblmdb/mdb.c:7291:9: runtime error: member access within
misaligned address 0x0000020f74ec for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f74ec: note: pointer points here
9b ee 35 5f 0b 00 00 00 00 00 00 00 08 00 72 00 10 00 30 00 00 00 00 00 00
00 00 00 01 00 00 00
^
../../../libraries/liblmdb/mdb.c:7298:16: runtime error: member access within
misaligned address 0x0000020f74ec for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f74ec: note: pointer points here
9b ee 35 5f 0b 00 00 00 00 00 00 00 08 00 72 00 10 00 30 00 01 00 00 00 00
00 00 00 01 00 00 00
^
../../../libraries/liblmdb/mdb.c:7298:16: runtime error: member access within
misaligned address 0x0000020f74ec for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f74ec: note: pointer points here
9b ee 35 5f 0b 00 00 00 00 00 00 00 08 00 72 00 10 00 30 00 01 00 00 00 00
00 00 00 01 00 00 00
^
../../../libraries/liblmdb/mdb.c:7299:16: runtime error: member access within
misaligned address 0x0000020f74ec for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f74ec: note: pointer points here
9b ee 35 5f 0b 00 00 00 00 00 00 00 08 00 72 00 12 00 30 00 01 00 00 00 00
00 00 00 01 00 00 00
^
../../../libraries/liblmdb/mdb.c:7299:16: runtime error: member access within
misaligned address 0x0000020f74ec for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f74ec: note: pointer points here
9b ee 35 5f 0b 00 00 00 00 00 00 00 08 00 72 00 12 00 30 00 01 00 00 00 00
00 00 00 01 00 00 00
^
../../../libraries/liblmdb/mdb.c:5172:34: runtime error: load of misaligned
address 0x0000020f74fc for type 'size_t', which requires 8 byte alignment
0x0000020f74fc: note: pointer points here
12 00 2a 00 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 74 2c 64 63 3d
65 78 61 6d 70 6c 65
^
../../../libraries/liblmdb/mdb.c:5173:27: runtime error: load of misaligned
address 0x0000020f74fc for type 'size_t', which requires 8 byte alignment
0x0000020f74fc: note: pointer points here
12 00 2a 00 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 74 2c 64 63 3d
65 78 61 6d 70 6c 65
^
../../../libraries/liblmdb/mdb.c:6778:17: runtime error: member access within
misaligned address 0x0000020f74c4 for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f74c4: note: pointer points here
00 96 de fd 0b 00 00 00 00 00 00 00 08 00 72 00 14 00 24 00 01 00 00 00 00
00 00 00 02 00 00 00
^
../../../libraries/liblmdb/mdb.c:6779:10: runtime error: member access within
misaligned address 0x0000020f74c4 for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f74c4: note: pointer points here
00 96 de fd 0b 00 00 00 00 00 00 00 08 00 72 00 14 00 24 00 01 00 00 00 00
00 00 00 02 00 00 00
^
../../../libraries/liblmdb/mdb.c:6779:10: runtime error: member access within
misaligned address 0x0000020f74c4 for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f74c4: note: pointer points here
00 96 de fd 0b 00 00 00 00 00 00 00 08 00 72 00 14 00 24 00 01 00 00 00 00
00 00 00 02 00 00 00
^
../../../libraries/liblmdb/mdb.c:6087:34: runtime error: member access within
misaligned address 0x7f30b2525eee for type 'struct MDB_page', which requires 8
byte alignment
0x7f30b2525eee: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:6089:13: runtime error: member access within
misaligned address 0x7f30b2525eee for type 'struct MDB_page', which requires 8
byte alignment
0x7f30b2525eee: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:6093:15: runtime error: member access within
misaligned address 0x7f30b2525eee for type 'struct MDB_page', which requires 8
byte alignment
0x7f30b2525eee: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:5282:10: runtime error: member access within
misaligned address 0x7f30b2525eee for type 'struct MDB_page', which requires 8
byte alignment
0x7f30b2525eee: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:5288:8: runtime error: member access within
misaligned address 0x7f30b2525eee for type 'struct MDB_page', which requires 8
byte alignment
0x7f30b2525eee: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:5302:6: runtime error: member access within
misaligned address 0x7f30b2525eee for type 'struct MDB_page', which requires 8
byte alignment
0x7f30b2525eee: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:5322:11: runtime error: member access within
misaligned address 0x7f30b2525eee for type 'struct MDB_page', which requires 8
byte alignment
0x7f30b2525eee: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:6794:13: runtime error: member access within
misaligned address 0x0000020f842e for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f842e: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:6825:22: runtime error: member access within
misaligned address 0x0000020f842e for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f842e: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:6826:24: runtime error: member access within
misaligned address 0x0000020f842e for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f842e: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:6827:24: runtime error: member access within
misaligned address 0x0000020f842e for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f842e: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:6832:29: runtime error: member access within
misaligned address 0x0000020f842e for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f842e: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:6831:68: runtime error: member access within
misaligned address 0x0000020f842e for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f842e: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:6833:61: runtime error: member access within
misaligned address 0x0000020f842e for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f842e: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:6833:46: runtime error: member access within
misaligned address 0x0000020f842e for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f842e: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:6834:18: runtime error: member access within
misaligned address 0x0000020f842e for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f842e: note: pointer points here
00 00 00 00 0e 00 00 00 00 00 00 00 00 00 52 00 14 00 14 00 46 00 14 00 00
00 00 00 00 00 2a 00
^
../../../libraries/liblmdb/mdb.c:7336:31: runtime error: member access within
misaligned address 0x0000020f833a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f833a: note: pointer points here
00 00 00 00 04 00 00 00 00 00 00 00 00 00 52 00 14 00 42 00 74 00 42 00 00
00 00 00 00 0b 6f 75
^
../../../libraries/liblmdb/mdb.c:7336:18: runtime error: member access within
misaligned address 0x0000020f833a for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f833a: note: pointer points here
00 00 00 00 04 00 00 00 00 00 00 00 00 00 52 00 14 00 42 00 74 00 42 00 00
00 00 00 00 0b 6f 75
^
../../../libraries/liblmdb/mdb.c:7365:5: runtime error: null pointer passed as
argument 2, which is declared to never be null
../../../libraries/liblmdb/mdb.c:6829:41: runtime error: member access within
misaligned address 0x0000020d33a4 for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d33a4: note: pointer points here
00 96 de fd 08 00 00 00 00 00 00 00 08 00 72 00 18 00 18 00 01 00 00 00 00
00 00 00 02 00 00 00
^
../../../libraries/liblmdb/mdb.c:6829:57: runtime error: member access within
misaligned address 0x0000020d33a4 for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d33a4: note: pointer points here
00 96 de fd 08 00 00 00 00 00 00 00 08 00 72 00 18 00 18 00 01 00 00 00 00
00 00 00 02 00 00 00
^
../../../libraries/liblmdb/mdb.c:5304:10: runtime error: member access within
misaligned address 0x0000020d335c for type 'struct MDB_page', which requires 8
byte alignment
0x0000020d335c: note: pointer points here
00 96 de fd 0a 00 00 00 00 00 00 00 08 00 72 00 18 00 38 00 01 00 00 00 00
00 00 00 02 00 00 00
^
../../../libraries/liblmdb/mdb.c:5346:8: runtime error: member access within
misaligned address 0x0000020f64bc for type 'struct MDB_page', which requires 8
byte alignment
0x0000020f64bc: note: pointer points here
00 96 de fd 09 00 00 00 00 00 00 00 08 00 72 00 1e 00 26 00 01 00 00 00 00
00 00 00 02 00 00 00
^
1 year, 10 months
(ITS#8987) Dirty compile without -Wall and friends
by noloader@gmail.com
Full_Name: JW
Version: 2.4.47
OS: Linux (Fedora 29, x86_64, fully patched)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (151.196.22.177)
I'm building OpenLDAP 2.4.47 from sources on Fedora 29, x86_64. These look like
a valid complaints:
cc -g2 -O2 -fsanitize=undefined -march=native -fPIC -I../../../include
-I../../../include -I.. -I./.. -I/usr/local/include -DNDEBUG -c ldif.c -o
ldif.o
bconfig.c: In function config_rename_one:
bconfig.c:4487:38: warning: passing argument 3 of ldap_bv2rdn from
incompatible pointer type [-Wincompatible-pointer-types]
rc = ldap_bv2rdn( &e->e_name, &rDN, &text, LDAP_DN_FORMAT_LDAP );
^~~~~
In file included from ../../include/portable.h:1171,
from bconfig.c:21:
../../include/ldap.h:1711:9: note: expected char ** but argument is of type
const char **
char **next,
~~~~~~~^~~~
../../include/ldap_cdefs.h:32:25: note: in definition of macro LDAP_P
# define LDAP_P(protos) protos
^~~~~~
bconfig.c: In function config_build_entry:
bconfig.c:6505:31: warning: passing argument 3 of ldap_bv2rdn from
incompatible pointer type [-Wincompatible-pointer-types]
rc = ldap_bv2rdn( rdn, &rDN, &text, LDAP_DN_FORMAT_LDAP );
^~~~~
In file included from ../../include/portable.h:1171,
from bconfig.c:21:
../../include/ldap.h:1711:9: note: expected char ** but argument is of type
const char **
char **next,
~~~~~~~^~~~
../../include/ldap_cdefs.h:32:25: note: in definition of macro LDAP_P
# define LDAP_P(protos) protos
^~~~~~
cc -g2 -O2 -fsanitize=undefined -march=native -fPIC -I../../include -I.
-I./slapi -I. -I../../include -I/usr/local/include -DNDEBUG -c -o
backends.o backends.c
backend.c: In function fe_acl_group:
backend.c:1503:56: warning: comparison between pointer and zero character
constant [-Wpointer-compare]
if ( ludp->lud_filter != NULL && ludp->lud_filter != '\0') {
^~
backend.c:1503:39: note: did you mean to dereference the pointer?
if ( ludp->lud_filter != NULL && ludp->lud_filter != '\0') {
^
cc -g2 -O2 -fsanitize=undefined -march=native -fPIC -I../../../include
-I../../../include -I.. -I./.. -I. -I./../back-bdb -I/usr/local/include -DNDEBUG
-c tools.c -o tools.o
In file included from ../../../include/portable.h:1171,
from init.c:17:
init.c: In function 'hdb_db_open':
../back-bdb/proto-bdb.h:22:35: warning: passing argument 2 of
'db->bdi_db->set_dup_compare' from incompatible pointer type
[-Wincompatible-pointer-types]
#define BDB_SYMBOL(x) LDAP_CONCAT(hdb_,x)
^~~~
syntax.c: In function syn_add:
syntax.c:222:33: warning: comparison between pointer and zero character constant
[-Wpointer-compare]
if ( (*lsei)->lsei_values[0] == '\0'
^~
syntax.c:222:9: note: did you mean to dereference the pointer?
if ( (*lsei)->lsei_values[0] == '\0'
^
syntax.c:223:32: warning: comparison between pointer and zero character constant
[-Wpointer-compare]
|| (*lsei)->lsei_values[1] != '\0' )
^~
syntax.c:223:8: note: did you mean to dereference the pointer?
|| (*lsei)->lsei_values[1] != '\0' )
^
cc -g2 -O2 -fsanitize=undefined -march=native -fPIC -I../../include
-I../../include -I/usr/local/include -DNDEBUG -c -o slapd-addel.o
slapd-addel.c
slapd-addel.c: In function main:
slapd-addel.c:176:36: warning: comparison between pointer and zero character
constant [-Wpointer-compare]
if (( attrs == NULL ) || ( *attrs == '\0' )) {
^~
1 year, 10 months
(ITS#8986) [PATCH] Fix union semun undefined from FreeBSD 12 onward
by khng300@gmail.com
Full_Name: Ka Ho Ng
Version: mdb.master
OS: FreeBSD 12.0-RELEASE
URL: ftp://ftp.openldap.org/incoming/Ka-Ho-Ng-190306.patch
Submission from: (NULL) (2001:470:fa95:1300::1)
Starting from __FreeBSD_version 1200059 union semun definition was removed
from userspace headers in order to comply with POSIX. In order to resurrect
the defintion we need to define _WANT_SEMUN before including sys/sem.h for
__FreeBSD_version >= 1200059.
I tried to touch as small amount of code as possible here to avoid interfering
with other platforms I do not use.
1 year, 10 months
Re: (ITS#8973) Error with domainScope control when using C# LDAP API
by clement.oudot@worteks.com
Le 06/02/2019 à 14:16, clement.oudot(a)worteks.com a écrit :
> Le 06/02/2019 à 12:57, hyc(a)symas.com a écrit :
>> hyc(a)symas.com wrote:
>>> clement.oudot(a)worteks.com wrote:
>>>> Full_Name: Clement OUDOT
>>>> Version: 2.4.47
>>>> OS: GNU/Linux
>>>> URL: ftp://ftp.openldap.org/incoming/
>>>> Submission from: (NULL) (81.250.130.213)
>>>>
>>>>
>>>> Hello,
>>>>
>>>> after upgrading from 2.4.46 to 2.4.47, this C# code does not work anymore :
>>> The code in controls.c is correct. The DomainScope control does not take a value,
>>> so the value is required to be NULL.
>> Microsoft spec https://msdn.microsoft.com/en-us/library/cc223348.aspx
>>
>> "When sending this control to the DC, the controlValue field of the Control structure is omitted."
>>
> Thanks a lot for your feedback, I will try to understand with the C#
> code is sending a value inside the control.
For the record, the bug seems to be inside powershell and the API
"system.DirectoryServices.DirectorySearcher" which is sending the control.
To solve this, you need to use another API:
"System.DirectoryServices.Protocols"
See
https://docs.microsoft.com/fr-fr/dotnet/api/system.directoryservices.prot...
--
Clément Oudot | Identity Solutions Manager
clement.oudot(a)worteks.com
Worteks | https://www.worteks.com
1 year, 10 months