Emmanuel Dreyfus wrote:
> Sorry. The new patch was uploaded in FTP:
> manu-20080426.patch
>
> While I was here, I added myself to the aknowledgements in the man page.
Applied to HEAD (with minor changes); please test.
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Email: pierangelo.masarati(a)sys-net.it
---------------------------------------
Pierangelo Masarati <ando(a)sys-net.it> wrote:
> I'm considering your patch for inclusion in HEAD code; I see that in
> your patch you didn't follow the IPR notice as indicated in the
> contributing guidelines. Please resubmit the patch adding at the top
> the notices illustrated in
> <http://www.openldap.org/devel/contributing.html#notice>:
>
> - notice of origin
> - rights statement
Sorry. The new patch was uploaded in FTP:
manu-20080426.patch
While I was here, I added myself to the aknowledgements in the man page.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu(a)netbsd.org
raphael.ouazana(a)linagora.com wrote:
> Hi,
>
> Le Lun 21 avril 2008 19:44, quanah(a)zimbra.com a écrit :
>> I updated RE24 this morning with a couple of fixes from Howard.
>>
>> See if you can still repo, thanks.
>
> It still seems to fail, after more than 100 runs:
It appears from your logs that the entry
"cn=ITD Staff,ou=Groups,dc=example,dc=com"
is being added first, and then removed from server 3, probably related
to some issue in sync replication. Can you enable "sync" log when
running the tests?
SLAPD_DEBUG="sync,stats,args,trace" ./run test050
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Email: pierangelo.masarati(a)sys-net.it
---------------------------------------
manu(a)netbsd.org wrote:
> URL: ftp://ftp.openldap.org/incoming/manu-20070412.patch
> This patch adds attribute remapping capability to slapo-dynlist.
Emmanuel,
I'm considering your patch for inclusion in HEAD code; I see that in
your patch you didn't follow the IPR notice as indicated in the
contributing guidelines. Please resubmit the patch adding at the top
the notices illustrated in
<http://www.openldap.org/devel/contributing.html#notice>:
- notice of origin
- rights statement
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Email: pierangelo.masarati(a)sys-net.it
---------------------------------------
The ITS is for tracking issues in OpenLDAP software. Nothing in this report
indicates any bug in OpenLDAP software. Most likely you've found a bug in MIT
Kerberos. I suggest you contact the MIT folks. This ITS will be closed.
brian.peters(a)analog.com wrote:
> Full_Name: Brian Peters
> Version: 2.3.39
> OS: SPARC Solaris 10
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (137.71.23.54)
>
>
> I am attempting to compile Samba using active directory. This entails using LDAP
> and Kerberos during set up. The native versions on Solaris 10 are insufficient
> due to a lack of ldap_initialize in those header files. I am using the most
> recent versions of both Openldap (2.3.39) and Kerberos (krb5-1.6.3). The error
> manifests itself when compiling Kerberos. Before we proceed any further let's
> first lay down the foundation of the data.
>
> Openldap was configured using the following:
>
> ./configure --prefix=/cadvault/gbocadsrv2/www/pkgs/3rdparty/openldap/openlda
> p-2.3.39 --without-bdb --disable-bdb --enable-null --disable-slapd
> --enable-shar
> ed --with-shared=yes
>
> CFLAGS -D_AVL_H
>
> Kerberos using:
>
> ./configure --prefix=/cadvault/gbocadsrv2/www/pkgs/3rdparty/kerberos/krb5-1.6.3
> --with-ldap --enable-shared
>
>
> All important environment variables have been set specifically for each
> configuration (CPPFLAGS,LDFLAGS,PATH,LD_LIBRARY_PATH,CFLAGS).
>
> I have confirmed in the config.log files that each is pulling the correct files
> during the attempted compile. The issue appears when running gmake. Below is the
> important portion it returns.
>
> ...
> In file included from kdb_ldap.c:37:
> kdb_ldap.h:315: error: conflicting types for 'ldap_initialize'
> /cadvault/gbocadsrv2/www/pkgs/3rdparty/openldap/openldap-2.3.39/include/ldap.h:1346:
> error: previous declaration of 'ldap_initialize' was here
> kdb_ldap.h:315: error: conflicting types for 'ldap_initialize'
> /cadvault/gbocadsrv2/www/pkgs/3rdparty/openldap/openldap-2.3.39/include/ldap.h:1346:
> error: previous declaration of 'ldap_initialize' was here
> kdb_ldap.c:491: warning: missing braces around initializer
> kdb_ldap.c:491: warning: (near initialization for
> `kldap_init_fn__once.once.o.__pthread_once_pad')
> kdb_ldap.c:500: warning: no previous prototype for 'kldap_ensure_initialized'
> gmake[2]: *** [kdb_ldap.so] Error 1
> gmake[2]: Leaving directory
> `/cadvault/gbocadsrv2/www/src/3rdparty/kerberos/krb5-1.6.3/src/plugins/kdb/ldap/libkdb_ldap'
> gmake[1]: *** [all-recurse] Error 1
> gmake[1]: Leaving directory
> `/cadvault/gbocadsrv2/www/src/3rdparty/kerberos/krb5-1.6.3/src/plugins/kdb/ldap'
> gmake: *** [all-recurse] Error 1
>
>
> At this point I am at a bit of a loss on how to proceed. Any advice on a fix or
> versions of each to roll back to would be greatly appreciated.
>
>
>
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Hi,
Le Lun 21 avril 2008 19:44, quanah(a)zimbra.com a écrit :
> I updated RE24 this morning with a couple of fixes from Howard.
>
> See if you can still repo, thanks.
It still seems to fail, after more than 100 runs:
Cleaning up test run directory leftover from previous run.
Running ./scripts/test050-syncrepl-multimaster...
running defines.sh
Initializing server configurations...
Starting producer slapd on TCP/IP port 9011...
Using ldapsearch to check that producer slapd is running...
Inserting syncprov overlay on producer...
Starting consumer slapd on TCP/IP port 9012...
Using ldapsearch to check that consumer slapd is running...
Configuring syncrepl on consumer...
Starting consumer2 slapd on TCP/IP port 9013...
Using ldapsearch to check that consumer2 slapd is running...
Configuring syncrepl on consumer2...
Adding schema and databases on producer...
Using ldapadd to populate producer...
Waiting 20 seconds for syncrepl to receive changes...
Using ldapadd to populate consumer...
Waiting 20 seconds for syncrepl to receive changes...
Using ldapsearch to check that syncrepl received database changes...
Using ldapsearch to check that syncrepl received database changes on
consumer2...
Using ldapsearch to read config from the producer...
Using ldapsearch to read config from the consumer...
Using ldapsearch to read config from consumer2...
Filtering producer results...
Filtering consumer results...
Filtering consumer2 results...
Comparing retrieved configs from producer and consumer...
Comparing retrieved configs from producer and consumer2...
Using ldapsearch to read all the entries from the producer...
Using ldapsearch to read all the entries from the consumer...
Using ldapsearch to read all the entries from the consumer2...
Filtering producer results...
Filtering consumer results...
Filtering consumer2 results...
Comparing retrieved entries from producer and consumer...
Comparing retrieved entries from producer and consumer2...
test failed - producer and consumer2 databases differ
I sent the testrun directory through FTP:
ftp://ftp.openldap.org/incoming/raphael-ouazana-testrun-20080424.tgz
Regards,
Raphaël Ouazana.
Full_Name: Brian Peters
Version: 2.3.39
OS: SPARC Solaris 10
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (137.71.23.54)
I am attempting to compile Samba using active directory. This entails using LDAP
and Kerberos during set up. The native versions on Solaris 10 are insufficient
due to a lack of ldap_initialize in those header files. I am using the most
recent versions of both Openldap (2.3.39) and Kerberos (krb5-1.6.3). The error
manifests itself when compiling Kerberos. Before we proceed any further let's
first lay down the foundation of the data.
Openldap was configured using the following:
./configure --prefix=/cadvault/gbocadsrv2/www/pkgs/3rdparty/openldap/openlda
p-2.3.39 --without-bdb --disable-bdb --enable-null --disable-slapd
--enable-shar
ed --with-shared=yes
CFLAGS -D_AVL_H
Kerberos using:
./configure --prefix=/cadvault/gbocadsrv2/www/pkgs/3rdparty/kerberos/krb5-1.6.3
--with-ldap --enable-shared
All important environment variables have been set specifically for each
configuration (CPPFLAGS,LDFLAGS,PATH,LD_LIBRARY_PATH,CFLAGS).
I have confirmed in the config.log files that each is pulling the correct files
during the attempted compile. The issue appears when running gmake. Below is the
important portion it returns.
...
In file included from kdb_ldap.c:37:
kdb_ldap.h:315: error: conflicting types for 'ldap_initialize'
/cadvault/gbocadsrv2/www/pkgs/3rdparty/openldap/openldap-2.3.39/include/ldap.h:1346:
error: previous declaration of 'ldap_initialize' was here
kdb_ldap.h:315: error: conflicting types for 'ldap_initialize'
/cadvault/gbocadsrv2/www/pkgs/3rdparty/openldap/openldap-2.3.39/include/ldap.h:1346:
error: previous declaration of 'ldap_initialize' was here
kdb_ldap.c:491: warning: missing braces around initializer
kdb_ldap.c:491: warning: (near initialization for
`kldap_init_fn__once.once.o.__pthread_once_pad')
kdb_ldap.c:500: warning: no previous prototype for 'kldap_ensure_initialized'
gmake[2]: *** [kdb_ldap.so] Error 1
gmake[2]: Leaving directory
`/cadvault/gbocadsrv2/www/src/3rdparty/kerberos/krb5-1.6.3/src/plugins/kdb/ldap/libkdb_ldap'
gmake[1]: *** [all-recurse] Error 1
gmake[1]: Leaving directory
`/cadvault/gbocadsrv2/www/src/3rdparty/kerberos/krb5-1.6.3/src/plugins/kdb/ldap'
gmake: *** [all-recurse] Error 1
At this point I am at a bit of a loss on how to proceed. Any advice on a fix or
versions of each to roll back to would be greatly appreciated.
rein(a)basefarm.no wrote:
> Full_Name: Rein Tollevik
> Version: CVS head
> OS:
> URL:
> Submission from: (NULL) (81.93.160.250)
>
>
> We have seen occasional seg. faults in syncprov_qtask() where it was
> passed a syncops pointer containing garbage in its arg. It looks as
> this could happen if syncprov_free_syncop is called to free an abandoned
> operation. I hope the patch at the should fix this, it makes sure to
> remove the syncops->s_qtask (if any) from the runqueue before freeing
> the syncops itself.
Seems OK. I wonder if it's worthwhile to check for the s_op->o_abandon flag
first. If your tests are ok with this patch, go ahead and commit it, then
login to the ITS and update the status.
> Rein Tollevik
> Basefarm AS
>
> Index: OpenLDAP/servers/slapd/overlays/syncprov.c
> diff -u OpenLDAP/servers/slapd/overlays/syncprov.c:1.16
> OpenLDAP/servers/slapd/overlays/syncprov.c:1.17
> --- OpenLDAP/servers/slapd/overlays/syncprov.c:1.16 Fri Apr 18 10:56:41 2008
> +++ OpenLDAP/servers/slapd/overlays/syncprov.c Tue Apr 22 16:38:27 2008
> @@ -738,6 +738,13 @@
> ldap_pvt_thread_mutex_unlock(&so->s_mutex );
> return;
> }
> + if ( so->s_qtask ) {
> + ldap_pvt_thread_mutex_lock(&slapd_rq.rq_mutex );
> + if ( ldap_pvt_runqueue_isrunning(&slapd_rq, so->s_qtask ) )
> + ldap_pvt_runqueue_stoptask(&slapd_rq, so->s_qtask );
> + ldap_pvt_runqueue_remove(&slapd_rq, so->s_qtask );
> + ldap_pvt_thread_mutex_unlock(&slapd_rq.rq_mutex );
> + }
> ldap_pvt_thread_mutex_unlock(&so->s_mutex );
> if ( so->s_flags& PS_IS_DETACHED ) {
> filter_free( so->s_op->ors_filter );
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
marian.eichholz(a)freenet.ag wrote:
> Full_Name: Marian Eichholz
> Version: HEAD-20080411
> OS: linux 2.6.23.13
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (194.97.7.65)
>
>
> Hello, probably this question is paranoia related, but: Are log entries of the
> subject's form something important, that one should take care of?
The end of that log message is "ignored" - which is what you should do.
> Sorry, if this should be a pointless topic after all.
This ITS will be closed.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/