Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41297 - openldap defaults changed after migration from 2.0.x to 2.1.x
Summary: openldap defaults changed after migration from 2.0.x to 2.1.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-11 14:56 UTC by Andrea Barisani (RETIRED)
Modified: 2004-02-11 19:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Barisani (RETIRED) gentoo-dev 2004-02-11 14:56:11 UTC
Ok, maybe it's too late but I've finished my openlda migration only today ;).

Migration from openldap 2.0.x to 2.1.26 (marked stable this week) is quite problematic
since default schema and option have changed. Most 2.0.x slapd.conf and db won't work
correctly with 2.1.x, this is not a gentoo problem but it would be nice to users having
some ewarn in the ebuild with some pointers about major changes.

I'm referring to:

- bind_anon_dn is now off by default. So unauthenticated anonymous bind are no more
allowed unless 'allow bind_anon_dn' is specified in the configuration (this is a good change!)

- default schemas are changed, so existing passwd/shadow are functioning but they 
cannot be modified unless a new field called 'structuralObjectClass' is created for every
uid. Users must 'slapcat -f backup.ldif' their db, delete it from ldap tree and rebuild it with 'slapadd -f backup.ldif'.

- self signed certs are treated less gently now ;). 'TLS_REQCERT never' is now needed
in ldap.conf if the server has a self-signed certificate.

So what do you think, would it possible and correct having some hints about this
major changes in post-inst?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-02-11 19:01:09 UTC
done in cvs.