On Tue, 19 Feb 2002, Edwin Culp wrote:

> Quoting Rune Prytz Anderson <[EMAIL PROTECTED]>:
>
> <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
        [EMAIL PROTECTED]
                deliveryMode    normal
                accountStatus   active
                mailHost        soyuz.df.lth.se
                mail            [EMAIL PROTECTED]
                uid             [EMAIL PROTECTED]
                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



_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to