> Sorry for keeping you waiting so long. I've been busy with schoolstuff.
>
Yes aren't we all :)
> 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.
>
okay
> 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?
>
Think of it as a #include directive of sorts ????
> are objectClass nessesary?
>
Yes I think so.
Here is a typical entry from my ldap server :
dn: cn=Joe,ou=residents,dc=reznet,dc=uleth,dc=ca
objectClass: organization
objectClass: organizationalUnit
objectClass: organizationalPerson
objectClass: organizationalRole
objectClass: person
objectClass: inetOrgPerson
objectClass: CourierMailAccount
o: Organization of Residence Students
cn: Joe Bloggs
sn: Bloggs
mail: [EMAIL PROTECTED]
uid: joe
userPassword: {crypt}something_long_and_nasty
givenName: Joe
ou: Resident of Kainai
uidNumber: 2002
gidNumber: 2002
homeDirectory: /home/joe
This should help you understand the idea. I hope that this was useful to you.
Object class violations often come up with the fact that you need to have some
attribute from the Object class that is missing that is really required, if I am not
wrong.
Cheers,
Aly.
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users