Am Dienstag 18 Januar 2011, 08:44:59 schrieb Ivan De Masi:
Am 17.01.2011 17:28, schrieb Ralf Haferkamp:
Am Montag 17 Januar 2011, 14:20:08 schrieb Ivan De Masi:
Am 17.01.2011 11:31, schrieb Claudio Prono:
Hello all,
I have to upgrade an OpenSuSE 11.0, with role of PDC with LDAP and SAMBA into an OpenSuSE 11.3. Any hint to do it? Any precaution i have to take before do the upgrade? Or, even better, is all easy and automatized and at the first boot of the new SO it works like a charm? Any experence of someone ?
Ciao Claudio,
I can't tell you much about Samba and PDC, but you should care about LDAP! Since Version 2.3 of OpenLDAP the "online-configuration" of LDAP is supported and installed by default. This means your slapd.conf is in your ldap-database itself. As I can tell from Debian squeeze you still can start slapd with your slapd.conf,BUT you have to configure this first!
This is wrong. Opposite to what Debian seems to do (I didn't check that myself), the packages in openSUSE will NOT automatically convert an existing slapd.conf based configuration to the back-config based configuration during the update. slapd will continue to work using slapd.conf. Converting from slapd.conf to the back-config database needs to be done manually (if wanted at all).
Hello,
so maybe I wrote it in a missunderstanding way, sorry for that.
What I wanted to say, is that the way OpenLDAP-configuration works is completely new and installing OpenLDAP *from the scratch* causes OpenLDAP to use directly the new online-config. Which is also not completely correct ;). The init script on openSUSE is checks for the presence of /etc/openldap/slapd.conf, as long as that file exists, slapd is started so that it reads its configuration from there. Our RPM contains a default slapd.conf so by default slapd will use slapd.conf. You can force it to use the configuration database by setting OPENLDAP_CONFIG_BACKEND="ldap" in /etc/sysconfig/openldap. We choosed to still use slapd.conf by default as that is what people are used to. Additionally it is a little easier to setup a slapd.conf base LDAP server for first time users than using the configuration database. (Note that we might change this at some point in the future, I am open to suggestions here.)
Debian also doesn't convert the config when you update/upgrade (as far as I know), but when it is newly installed it works with online-config by default. Ok. As I said I didn't check how Debian handles it. I just remember a recent mail on some openldap mailinglist that seemed to indicate they are migrating existing slapd.conf configurations to the back-config database upon installation of the package. (I might have missunderstood that though).
I assumed that the upgrade is done on a new machine (I would recommend that) or at least tested first on a new machine... Yes, that would definitely be a good idea.
regards, Ralf -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org