On Tue, 2011-01-11 at 20:34 +0100, Matthijs Mohlmann wrote:

> Do you have some more information from that server too ? Configuration ?
> Because I changed the slapd.conf to use the new schema files, moved the
> backup out of the way and did the upgrade and all went ok.

$ dpkg -l slapd gosa-schema
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  gosa-schema    2.6.11-2       LDAP schema for GOsa
iF  slapd          2.4.23-6       OpenLDAP server (slapd)

Hmm, I'm getting something different now on this system:

Preparing to replace slapd 2.4.23-6
(using .../slapd_2.4.23-7_amd64.deb) ...
Stopping OpenLDAP: slapd.
Unpacking replacement slapd ...
Preparing to replace libldap-2.4-2 2.4.23-6
(using .../libldap-2.4-2_2.4.23-7_amd64.deb) ...
Unpacking replacement libldap-2.4-2 ...
Processing triggers for man-db ...
Setting up libldap-2.4-2 (2.4.23-7) ...
Setting up ldap-utils (2.4.23-7) ...
Setting up slapd (2.4.23-7) ...
  Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.4.11-1
+lenny2... done.
  Moving old database directories to /var/backups:
  - directory cn=accesslog... done.
  - directory dc=ai,dc=vub,dc=ac,dc=be... done.
  Loading from /var/backups/slapd-2.4.11-1+lenny2: 
  - directory cn=accesslog... cp: cannot create regular file
`/var/lib/ldap/accesslog/': Is a directory
dpkg: error processing slapd (--configure):
 subprocess installed post-installation script returned error exit
status 1

And now /var/lib/ldap is totally empty!


include         /etc/ldap/schema/core.schema
include         /etc/ldap/schema/cosine.schema
include         /etc/ldap/schema/nis.schema
include         /etc/ldap/schema/inetorgperson.schema
include         /etc/ldap/schema/gosa/samba3.schema
include         /etc/ldap/schema/gosa/gosystem.schema
include         /etc/ldap/schema/gosa/gofon.schema
include         /etc/ldap/schema/gosa/goto.schema
include         /etc/ldap/schema/gosa/gofax.schema
include         /etc/ldap/schema/gosa/goserver.schema
include         /etc/ldap/schema/gosa/gosa-samba3.schema
pidfile         /var/run/slapd/slapd.pid
argsfile        /var/run/slapd/slapd.args
loglevel        0
modulepath      /usr/lib/ldap
moduleload      back_hdb
moduleload      accesslog
moduleload      syncprov
tool-threads 1
backend         hdb
database        hdb
suffix          cn=accesslog
directory       /var/lib/ldap/accesslog
rootdn          cn=accesslog
index default eq
index entryCSN,objectClass,reqEnd,reqResult,reqStart
limits dn.exact="cn=replicator,dc=ai,dc=vub,dc=ac,dc=be" time.soft=unlimited 
time.hard=unlimited size.soft=unlimited size.hard=unlimited
overlay syncprov
syncprov-nopresent TRUE
syncprov-reloadhint TRUE 
database        hdb
cachesize 2000
idlcachesize 6000
suffix          "dc=ai,dc=vub,dc=ac,dc=be"
rootdn          "cn=admin,dc=ai,dc=vub,dc=ac,dc=be"
rootpw          "{SSHA}XXX"
directory       "/var/lib/ldap"
TLSCertificateFile      /etc/ldap/slapdcert.pem
TLSCertificateKeyFile   /etc/ldap/slapdkey.pem
dbconfig set_cachesize 0 25165824 0
dbconfig set_lk_max_objects 1500
dbconfig set_lk_max_locks 1500
dbconfig set_lk_max_lockers 1500
index           objectClass,uidNumber,gidNumber               eq
index           cn,sn,uid,displayName                   pres,sub,eq
index           memberUid,mail,givenname                        eq,subinitial
index           sambaSID,sambaPrimaryGroupSID,sambaDomainName   eq
index           gosaMailAlternateAddress                        eq      
index entryCSN eq
index entryUUID eq
overlay syncprov
syncprov-nopresent TRUE
syncprov-reloadhint TRUE
syncprov-checkpoint 100 10
syncprov-sessionlog 100
limits dn.exact="cn=replicator,dc=ai,dc=vub,dc=ac,dc=be" time.soft=unlimited 
time.hard=unlimited size.soft=unlimited size.hard=unlimited
overlay accesslog
logdb cn=accesslog
logops writes
logsuccess TRUE
logpurge 07+00:00 01+00:00
limits dn.exact="cn=replicator,dc=ai,dc=vub,dc=ac,dc=be" time.soft=unlimited 
time.hard=unlimited size.soft=unlimited size.hard=unlimited
lastmod         on
checkpoint      512 30
access to *
        by dn.base="cn=replicator,dc=ai,dc=vub,dc=ac,dc=be" read
        by * break
access to 
attrs=userPassword,shadowLastChange,sambaLMPassword,sambaNTPassword,goImapPassword
        by anonymous auth
        by self write
        by * none
access to dn.base="" by * read
access to *
        by * read




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to