public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-server] Heimdal kerberos issue after openldap upgrade
@ 2005-10-07 15:59 Robert Larson
  2005-10-07 16:47 ` Paul Kölle
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Larson @ 2005-10-07 15:59 UTC (permalink / raw
  To: gentoo-server

Hello!

I'm running a gentoo authentication server utilizing heimdal-kerberos, 
cyrus-sasl, and openldap.  This setup has been running for roughly six months 
without problems, until an openldap upgrade rendered my kerberos 
implementation useless.

I recently (early last month) made the following upgrade:
openldap-2.1.30-r5
-to-
openldap-2.2.28

I began by uninstalling the first instance, then installing the second 
instance.  I had a slapcat copy of the DB, so I moved the original databases 
to a backup, performed a slapadd, and reset all of the file permissions.  
Upon the slapadd, I received an error stating that the configuration was 
broken.

Upon looking into it, it was erroring out due to the "password-hash 
{CLEARTEXT}" option.  I commented this out, it appears to be working now.

I can execute searches and adds, but for some reason this upgrade has caused 
kerberos to begin having problems.  When I try kinit, I receive this in 
syslog:
[kdc] UNKNOWN -- user@MYREALM: Wrong database version

I try the following:
# kadmin -l
kadmin> list *
kadmin: opening database: ldap_sasl_bind_s: Can't contact LDAP server
kadmin: kadm5_get_principals: Wrong database version
kadmin>

I had followed the steps in the ebuild for openldap, and it seems to me like 
this might be a problem with heimdal-kerberos, but I am not sure.  I suppose 
it could even be a problem with cyrus-sasl.

Any help or suggestions would be appreciated,

Robert
-- 
gentoo-server@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-server] Heimdal kerberos issue after openldap upgrade
  2005-10-07 15:59 [gentoo-server] Heimdal kerberos issue after openldap upgrade Robert Larson
@ 2005-10-07 16:47 ` Paul Kölle
  2005-10-09 14:31   ` Andreas Herrmann
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Kölle @ 2005-10-07 16:47 UTC (permalink / raw
  To: gentoo-server

Robert Larson wrote:
> I had followed the steps in the ebuild for openldap, and it seems to me like 
> this might be a problem with heimdal-kerberos, but I am not sure.  I suppose 
> it could even be a problem with cyrus-sasl.
Did you recompile cyrus-sasl and heimdal against the new openldap-libs?
I guess your best bet is to post to the heimdal list about your KDC error.

hth
 Paul
-- 
gentoo-server@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-server] Heimdal kerberos issue after openldap upgrade
  2005-10-07 16:47 ` Paul Kölle
@ 2005-10-09 14:31   ` Andreas Herrmann
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Herrmann @ 2005-10-09 14:31 UTC (permalink / raw
  To: gentoo-server

> Robert Larson wrote:
>> I had followed the steps in the ebuild for openldap, and it seems to me
>> like
>> this might be a problem with heimdal-kerberos, but I am not sure.  I
>> suppose
>> it could even be a problem with cyrus-sasl.
> Did you recompile cyrus-sasl and heimdal against the new openldap-libs?
> I guess your best bet is to post to the heimdal list about your KDC error.
>
> hth
>  Paul
> --
> gentoo-server@gentoo.org mailing list
>

It is also important to safe your database before updating and restore it
with the new openldap tools after the update.

    Andi
-- 
gentoo-server@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-09 14:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-07 15:59 [gentoo-server] Heimdal kerberos issue after openldap upgrade Robert Larson
2005-10-07 16:47 ` Paul Kölle
2005-10-09 14:31   ` Andreas Herrmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox