Logged in as guest
Viewing Archive.Development/4139 Full headers
Major security issue: yes no
Notes: fixed in HEAD Notification:
Date: Thu, 3 Nov 2005 19:56:41 GMT From: michael@stroeder.com To: openldap-its@OpenLDAP.org Subject: ./scripts/relay: line 374: 17893 Segmentation fault $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >$LOG1
2>&1 WhoAmI failed (1)! ./scripts/relay: line 378: kill: (17893) - No such process test030-relay seg faults Full_Name: Michael Str.der Version: OPENLDAP_REL_ENG_2_3 2005-11-03 20:22 OS: SuSE Linux 10.0 URL: Submission from: (NULL) (83.124.22.229) Changing password to database "o=Example,c=US"... Binding with newly changed password to database "o=Beispiel,c=DE"... ./scripts/relay: line 374: 17893 Segmentation fault $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >$LOG1 2>&1 WhoAmI failed (1)! ./scripts/relay: line 378: kill: (17893) - No such process >>>>> ./scripts/test030-relay failed (exit 1) make[2]: *** [bdb-mod] Error 1 make[2]: Leaving directory `/home/michael/src/openldap-OPENLDAP_REL_ENG_2_3/ldap/tests' make[1]: *** [test] Error 2 make[1]: Leaving directory `/home/michael/src/openldap-OPENLDAP_REL_ENG_2_3/ldap/tests' make: *** [test] Error 2
Subject: Re: (ITS#4139) ./scripts/relay: line 374: 17893 Segmentation fault $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >$LOG1 From: Pierangelo Masarati <ando@sys-net.it> To: michael@stroeder.com Cc: openldap-its@OpenLDAP.org Date: Thu, 03 Nov 2005 21:54:01 +0100
On Thu, 2005-11-03 at 19:56 +0000, michael@stroeder.com wrote: > 2>&1 > WhoAmI failed (1)! > ./scripts/relay: line 378: kill: (17893) - No such process > test030-relay seg faults please check HEAD code. p. SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497
Date: Thu, 03 Nov 2005 22:11:13 +0100 From: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com> To: Pierangelo Masarati <ando@sys-net.it> CC: openldap-its@OpenLDAP.org Subject: Re: (ITS#4139) ./scripts/relay: line 374: 17893 Segmentation fault
Pierangelo Masarati wrote: > On Thu, 2005-11-03 at 19:56 +0000, michael@stroeder.com wrote: > >>2>&1 >>WhoAmI failed (1)! >>./scripts/relay: line 378: kill: (17893) - No such process >>test030-relay seg faults > > please check HEAD code. At least no seg fault is reported. But "No such process". Is that ok? $ ./run -b bdb-mod test030 Cleaning up test run directory leftover from previous run. Running ./scripts/test030-relay... running defines.sh Testing virtual naming context mapping with relay ldap meta backend(s)... Using relay backend... Starting slapd on TCP/IP port 9011... Using ldapsearch to check that slapd is running... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... ldapsearch failed (1)! ./scripts/relay: line 44: kill: (4563) - No such process Ciao, Michael.
Subject: Re: (ITS#4139) ./scripts/relay: line 374: 17893 Segmentation fault From: Pierangelo Masarati <ando@sys-net.it> To: michael@stroeder.com Cc: openldap-its@OpenLDAP.org Date: Thu, 03 Nov 2005 22:31:34 +0100
> At least no seg fault is reported. But "No such process". > Is that ok? I suspect you need to kill something before running the test; in any case, the issue was with back-ldap, not back-relay, you should be able to get past the back-relay test at least. p. SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497
Date: Thu, 03 Nov 2005 22:54:10 +0100 From: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com> To: Pierangelo Masarati <ando@sys-net.it> CC: openldap-its@OpenLDAP.org Subject: Re: (ITS#4139) ./scripts/relay: line 374: 17893 Segmentation fault
Pierangelo Masarati wrote: >>At least no seg fault is reported. But "No such process". >>Is that ok? > > I suspect you need to kill something before running the test; I did killall slapd as root to make sure nothing else is running. But still "No such process". My impression is slapd is not started at all. Ciao, Michael. ---------------------------------------------------------------------- $ ./run -b bdb-mod test030 Cleaning up test run directory leftover from previous run. Running ./scripts/test030-relay... running defines.sh Testing virtual naming context mapping with relay ldap meta backend(s)... Using relay backend... Starting slapd on TCP/IP port 9011... Using ldapsearch to check that slapd is running... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... ldapsearch failed (1)! ./scripts/relay: line 44: kill: (31468) - No such process ---------------------------------------------------------------------- File: testrun/slapd.1.log @(#) $OpenLDAP: slapd 2.X (Nov 3 2005 21:57:57) $ michael@nb2:/home/michael/src/openldap-HEAD/ldap/servers/slapd daemon_init: ldap://localhost:9011/ daemon_init: listen on ldap://localhost:9011/ daemon_init: 1 listeners to open... ldap_url_parse_ext(ldap://localhost:9011/) daemon: listener initialized ldap://localhost:9011/ daemon_init: 2 listeners opened lt-slapd init: initiated server. slap_sasl_init: initialized! Unrecognized database type (bdb-mod) ./testrun/slapd.1.conf: line 42: <database> failed init (bdb-mod)! lt-slapd destroy: freeing system resources. slapd stopped. connections_destroy: nothing to destroy.
Subject: Re: (ITS#4139) ./scripts/relay: line 374: 17893 Segmentation fault From: Pierangelo Masarati <ando@sys-net.it> To: Michael =?ISO-8859-1?Q?Str=F6der?= <michael@stroeder.com> Cc: openldap-its@OpenLDAP.org Date: Thu, 03 Nov 2005 23:02:22 +0100
My change was not so invasive: a couple of pointers were reset in passwd exop code; I think you need to look at something else (starting from slapd's logs). p. On Thu, 2005-11-03 at 22:54 +0100, Michael Str..der wrote: > Pierangelo Masarati wrote: > >>At least no seg fault is reported. But "No such process". > >>Is that ok? > > > > I suspect you need to kill something before running the test; > > I did killall slapd as root to make sure nothing else is running. But > still "No such process". My impression is slapd is not started at all. > > Ciao, Michael. > > ---------------------------------------------------------------------- > > $ ./run -b bdb-mod test030 > Cleaning up test run directory leftover from previous run. > Running ./scripts/test030-relay... > running defines.sh > > Testing virtual naming context mapping with relay ldap meta backend(s)... > > Using relay backend... > > Starting slapd on TCP/IP port 9011... > Using ldapsearch to check that slapd is running... > Waiting 5 seconds for slapd to start... > Waiting 5 seconds for slapd to start... > Waiting 5 seconds for slapd to start... > Waiting 5 seconds for slapd to start... > Waiting 5 seconds for slapd to start... > Waiting 5 seconds for slapd to start... > ldapsearch failed (1)! > ./scripts/relay: line 44: kill: (31468) - No such process > > ---------------------------------------------------------------------- > File: testrun/slapd.1.log > > @(#) $OpenLDAP: slapd 2.X (Nov 3 2005 21:57:57) $ > michael@nb2:/home/michael/src/openldap-HEAD/ldap/servers/slapd > daemon_init: ldap://localhost:9011/ > daemon_init: listen on ldap://localhost:9011/ > daemon_init: 1 listeners to open... > ldap_url_parse_ext(ldap://localhost:9011/) > daemon: listener initialized ldap://localhost:9011/ > daemon_init: 2 listeners opened > lt-slapd init: initiated server. > slap_sasl_init: initialized! > Unrecognized database type (bdb-mod) > ./testrun/slapd.1.conf: line 42: <database> failed init (bdb-mod)! > lt-slapd destroy: freeing system resources. > slapd stopped. > connections_destroy: nothing to destroy. SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497
Date: Thu, 03 Nov 2005 23:21:57 +0100 From: =?UTF-8?B?TWljaGFlbCBTdHLDtmRlcg==?= <michael@stroeder.com> To: Pierangelo Masarati <ando@sys-net.it> CC: openldap-its@OpenLDAP.org Subject: Re: (ITS#4139) ./scripts/relay: line 374: 17893 Segmentation fault
Pierangelo Masarati wrote: > My change was not so invasive: a couple of pointers were reset in passwd > exop code; I think you need to look at something else (starting from > slapd's logs). Aaargh! My fault with -b... Anyway it failed initially before I filed this. Ok, it works now as expected. Ciao, Michael.
______________ © Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org