24 messages in net.sourceforge.lists.courier-usersRe: [courier-users] ldapauth howto
FromSent OnAttachments
Rune Prytz AndersonFeb 17, 2002 11:34 am 
Aly S.P DharshiFeb 17, 2002 12:36 pm 
Edwin CulpFeb 17, 2002 7:33 pm 
Rune Prytz AndersonFeb 18, 2002 4:02 am 
Roel van MeerFeb 18, 2002 7:34 am 
Edwin CulpFeb 18, 2002 8:37 am.ldif
Edwin CulpFeb 18, 2002 9:00 am 
Roel van MeerFeb 18, 2002 9:28 am 
Edwin CulpFeb 18, 2002 11:04 am 
Rune Prytz AndersonFeb 18, 2002 1:38 pm 
Edwin CulpFeb 18, 2002 1:57 pm 
Rune Prytz AndersonFeb 19, 2002 1:30 am 
Roel van MeerFeb 19, 2002 1:53 am 
Mike RichardsonFeb 19, 2002 2:05 am 
Edward WildgooseFeb 19, 2002 2:37 am 
Edwin CulpFeb 19, 2002 5:47 am 
Roel van MeerFeb 19, 2002 8:48 am 
Roel van MeerFeb 19, 2002 9:21 am 
Kelvin CookshawFeb 19, 2002 11:33 am 
Aly S.P DharshiFeb 19, 2002 11:34 am 
Aly S.P DharshiFeb 19, 2002 12:17 pm 
Rune Prytz AndersonFeb 21, 2002 11:56 am 
Aly S.P DharshiFeb 21, 2002 12:40 pm 
Kelvin CookshawFeb 21, 2002 12:45 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] ldapauth howtoActions...
From:Rune Prytz Anderson (rp@soyuz.df.lth.se)
Date:Feb 21, 2002 11:56:46 am
List:net.sourceforge.lists.courier-users

On Tue, 19 Feb 2002, Edwin Culp wrote:

Quoting Rune Prytz Anderson <rp@soyuz.df.lth.se>:

<SNIP>

I've got openldap 2.0.xx running. And no, I'm nog going to migrate from passwd. I missed your attachment. I'm looking in to right now. I can resend it if you don't find it.

Do you hade proftpd and courier running of the same database?

Perfectly.

I guess now I would need to know where you are stuck.

Sorry for keeping you waiting so long. I've been busy with schoolstuff.

At the moment I've got two problems. At my debian mashine where I'm running courier both as mta and imapd I'm having trouble with the openldap. It doesn't let me add entries to the database. But I think I can fix that my self with just a bit more time because I've done it before.

My real problem is at my openbsd box. Here I run Qmail and courier-imap and here qmail authenticates my users in the database nice but courier doesn't.

This is what my database looks like:

dc=ibkfinn //this is my org. objectClass top ou=soyuz.df.lth.se //this is my domain objectClass top objectClass orgizationalUnit //here my users live cn=te@soyuz.df.lth.se deliveryMode normal accountStatus active mailHost soyuz.df.lth.se mail te@soyuz.df.lth.se uid te@soyuz.df.lth.se sn Test Person objectClass person objectClass qmailUser ObjectClass top qmailDotMode ldaponly mailMessageStore /home/vmail/test cn Test Person

Here are my questions.

I can't create a userPassword field. It says :objectClass violation.

What is objectClass used for?

are objectClass nessesary?

Have I got duplicate cn entries for my test user?

How would a ldif-file for the above sample look like?

How do I crypt the textsting I want to insert as userPassword?

here are my courier settings, the seems resonable I think:

LDAP_BASEDN, LDAP_BINDDN and LDAP_BINDPW are the same as in my qmail config. They work there.

LDAP_MAIL mail LDAP_DOMAIN soyuz.df.lth.se LDAP_GLOB_UID vmail (I've got a vmail user) LDAP_GLOB_GID vmail

LDAP_HOMEDIR mailMessageStore

LDAP_MAILDIR ./Maildir LDAP_FULLNAME cn LDAP_CRYPTPW userPassword

LDAP_DEREF never

LDAP_TLS 0

Rune