[Pkg-openldap-devel] Bug#545152: slapd: syncrepl failes to replicate nisNetgroup objects

Volker Sauer vsauer at dvs.tu-darmstadt.de
Sat Sep 5 12:02:09 UTC 2009


Package: slapd
Version: 2.4.11-1
Severity: normal
Tags: patch

We are using nis.schema's  nisNetgroupTriple to hold unix netgroups. When we
make a change, the master accepts this change, but all the syncrepl slaves immediately start
failing:

Sep  5 14:00:15 bk1 slapd[9693]: syncrepl_entry: rid=000 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) 
Sep  5 14:00:15 bk1 slapd[9693]: syncrepl_entry: rid=000 be_search (0) 
Sep  5 14:00:15 bk1 slapd[9693]: syncrepl_entry: rid=000 cn=tiz_nb,ou=netgroups,dc=volker-sauer,dc=de 
Sep  5 14:00:15 bk1 slapd[9693]: null_callback : error code 0x12 
Sep  5 14:00:15 bk1 slapd[9693]: syncrepl_entry: rid=000 be_modify (18) 
Sep  5 14:00:15 bk1 slapd[9693]: syncrepl_entry: rid=000 be_modify failed (18) 
Sep  5 14:00:15 bk1 slapd[9693]: do_syncrepl: rid=000 retrying (4 retries left) 

Here the bug on the openldap ITS:
http://www.openldap.org/its/?findid=5781

And here's the patch:
http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/syncrepl.c.diff?r1=1.417&r2=1.418&cvsroot=OpenLDAP-src&hideattic=1&sortbydate=0

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages slapd depends on:
ii  adduser           3.110                  add and remove users and groups
ii  coreutils         6.10-6                 The GNU core utilities
ii  debconf [debconf- 1.5.24                 Debian configuration management sy
ii  libc6             2.7-18                 GNU C Library: Shared libraries
ii  libdb4.2          4.2.52+dfsg-5          Berkeley v4.2 Database Libraries [
ii  libgnutls26       2.4.2-6+lenny1         the GNU TLS library - runtime libr
ii  libldap-2.4-2     2.4.11-1               OpenLDAP libraries
ii  libltdl3          1.5.26-4               A system independent dlopen wrappe
ii  libperl5.10       5.10.0-19              Shared Perl library
ii  libsasl2-2        2.1.22.dfsg1-23+lenny1 Cyrus SASL - authentication abstra
ii  libslp1           1.2.1-7.5              OpenSLP libraries
ii  libwrap0          7.6.q-16               Wietse Venema's TCP wrappers libra
ii  perl [libmime-bas 5.10.0-19              Larry Wall's Practical Extraction 
ii  psmisc            22.6-1                 Utilities that use the proc filesy
ii  unixodbc          2.2.11-16              ODBC tools libraries

Versions of packages slapd recommends:
ii  libsasl2-modules  2.1.22.dfsg1-23+lenny1 Cyrus SASL - pluggable authenticat

Versions of packages slapd suggests:
ii  ldap-utils                    2.4.11-1   OpenLDAP utilities

-- debconf information:
  slapd/tlsciphersuite:
  slapd/fix_directory: true
* shared/organization: Volker Sauer
  slapd/upgrade_slapcat_failure:
  slapd/backend: BDB
* slapd/allow_ldap_v2: false
  slapd/no_configuration: false
  slapd/move_old_database: true
  slapd/suffix_change: false
  slapd/slave_databases_require_updateref:
* slapd/dump_database_destdir: /var/backups/slapd-VERSION
  slapd/autoconf_modules: true
* slapd/domain: volker-sauer.de
  slapd/password_mismatch:
  slapd/invalid_config: true
  slapd/slurpd_obsolete:
  slapd/upgrade_slapadd_failure:
* slapd/dump_database: always
  slapd/migrate_ldbm_to_bdb: false
  slapd/purge_database: false
  slapd/admin:





More information about the Pkg-openldap-devel mailing list