Package: slapd
Version: 2.2.23-1
Severity: normal

Found 2 errors in the update/upgrade script that render the update
process unuseable for some users.

1.  The new Slapd 2.2 parser seems to dislike a line like this:

"loglevel 256 ### this is a inline comment"

    The old version didn't seem to care, this one does, if you can just
    line break right after/before lines like this if possible (yes this
    will cause problems with multi line ACL's)

2.  ACL rewriting.
        First off, thanks very much for doing much of this work, saved
        me a huge headache rewriting some of my rules.
        However:  if you have 2 acl lines as such:

        access to .....
                by dn.subtree.....
                by dn.one......
        
        access to ....another ...
                by dn.subtree....
                by dn.one.....

        the rewriter throws a nice fit, and rewrites them as one really
        long line.  Which the parser has absolutely no idea how to
        parse, and doesn't load the new database when trying to slapadd
        the backed up ldif file.

        Adding a pair of ##'s between the line however seemed to work
        fine.  It feels like you missed a new line as a new empty line
        rule as a delimiter for the ACL parser.

Thanks again, and keep up the wonderful work.

James Clendenan

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages slapd depends on:
ii  coreutils [fileutils]       5.2.1-2      The GNU core utilities
ii  debconf                     1.4.30.11    Debian configuration management sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-18    Berkeley v4.2 Database Libraries [
ii  libiodbc2                   3.52.2-3     iODBC Driver Manager
ii  libldap-2.2-7               2.2.23-1     OpenLDAP libraries
ii  libltdl3                    1.5.6-6      A system independent dlopen wrappe
ii  libperl5.8                  5.8.4-8      Shared Perl library
ii  libsasl2                    2.1.19-1.5   Authentication abstraction library
ii  libslp1                     1.0.11a-2    OpenSLP libraries
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries
ii  libwrap0                    7.6.dbs-8    Wietse Venema's TCP wrappers libra
ii  perl [libmime-base64-perl]  5.8.4-8      Larry Wall's Practical Extraction 
ii  psmisc                      21.5-1       Utilities that use the proc filesy

-- debconf information:
  slapd/password_mismatch:
  slapd/fix_directory: true
  slapd/invalid_config: true
* shared/organization: nodomain
  slapd/upgrade_slapcat_failure:
  slapd/upgrade_slapadd_failure:
  slapd/backend: BDB
* slapd/dump_database: when needed
* 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/purge_database: false
  slapd/admin:
* slapd/domain: nodomain


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to