public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: Andreas Herrmann <sma@fsmpi.uni-bayreuth.de>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] LDAP password-hash and kerberos
Date: Mon, 12 Sep 2005 21:38:09 +0200	[thread overview]
Message-ID: <200509122138.10013.sma@fsmpi.uni-bayreuth.de> (raw)
In-Reply-To: <200509121246.59783.robert@sixthings.com>

I use the same configuration: OpenLDAP, SASL and Heimdal kerberos.
Before merging the new OpenLDAP I saved the 
LDAP-Directory /var/lib/openldap-data/ with slapcat.
After restarting slapd nothing worked.

I found in my log files:
(auxpropfunc... seems to be another error. Can somebody help me?)
Sep  6 14:24:10 btfmx2 slapd[8468]: @(#) $OpenLDAP: slapd 2.2.28 (Sep  6 2005 
13:26:37) $       
root@btfmx2:/var/tmp/portage/openldap-2.2.28/work/openldap-2.2.28/servers/slapd
Sep  6 14:24:10 btfmx2 slapd[8468]: sql_select option missing
Sep  6 14:24:10 btfmx2 slapd[8468]: auxpropfunc error no mechanism available
Sep  6 14:24:10 btfmx2 slapd[8468]: _sasl_plugin_load failed on 
sasl_auxprop_plug_init for plugin: sql
Sep  6 14:24:10 btfmx2 slapd[8468]: bdb_db_init: Initializing BDB database
Sep  6 14:24:10 btfmx2 slapd[8468]: /etc/openldap/slapd.conf: line 83: 
password scheme "{CLEARTEXT}" not available
Sep  6 14:24:10 btfmx2 slapd[8468]: /etc/openldap/slapd.conf: line 83: no 
valid hashes found
Sep  6 14:24:10 btfmx2 slapd[8468]: slapd stopped.
Sep  6 14:24:10 btfmx2 slapd[8468]: connections_destroy: nothing to destroy.

This steps helped for me:
- Reemerging pam_krb5, cyrus-sasl, heimdal and nss_ldap
- Importing of the saved LDAP database with slapadd < saved_db
- Comment out the line: password scheme "{CLEARTEXT}

I also had to recompile some packages like apache, sudo...

Andreas

On Monday 12 September 2005 19:46, Robert Larson wrote:
> > I have been experiencing problems with the recent openldap upgrade from
> > 2.1 branch to 2.2.  I followed the directions in the ebuild as directed,
> > and I seem to be hung up on one (maybe 2) problem.  The new version of
> > openldap doesn't seem to know what to do with this directive:
> > password-hash {CLEARTEXT}
> >
> > I changed the directive to {SSHA}, then re-followed the steps in the
> > ebuild for rebuilding the database.  Everything seems to work fine for
> > openldap now, but I _was_ using it as the backend for kerberos
> > authentication, and kerberos doesn't like it at all:
> > kadmin -l
> > kadmin> list *
> > kadmin: opening database: ldap_sasl_bind_s: Can't contact LDAP server
> > kadmin: kadm5_get_principals: Wrong database version
>
> Is this something I should post to an OpenLDAP list?  The "password-hash
> {CLEARTEXT}" thing seems pretty standard, and is documented in openldap
> documentation and the man pages.  I would find it hard to believe that it
> just became obsolete and I am the only one with problems.
>
> Also, perhaps I am looking at the problem wrong.  Maybe it's an issue with
> kerberos in some way.  I am a little short on my understanding of how
> kerberos passwords get hashed and stored in openldap, so maybe there is an
> answer there.
>
> I am using SASL and Heimdal kerberos.  A search phrase on google, a
> direction, anything at this point would assist.
>
> Thank you for your time :)
>
> Robert
-- 
gentoo-server@gentoo.org mailing list



      reply	other threads:[~2005-09-12 19:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-09 16:07 [gentoo-server] LDAP password-hash and kerberos Robert Larson
2005-09-12 17:46 ` Robert Larson
2005-09-12 19:38   ` Andreas Herrmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200509122138.10013.sma@fsmpi.uni-bayreuth.de \
    --to=sma@fsmpi.uni-bayreuth.de \
    --cc=gentoo-server@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox