[Date Prev][Date Next] [Chronological] [Thread] [Top]

Errors when trying to add CourierMailAccount



I'm trying to set up a PostFix/LDAP/Courier system after instructions in
linuxjournal feb/2003

When trying to add a mail account with ldif file
.....

dn: mail=per@storahoga.info, o=storahoga.info, o=hosting, dc=extnn, dc=com
objectclass: top
objectclass: CourierMailAccount
mail: per@storahoga.info
homeDirectory: /slask/vmail/domains/
uidNumber: 125
gidNumber: 120
mailbox: storahoga.info/per

dn: cn=postmaster, o=storahoga.info, o=hosting, dc=extnn, dc=com
changetype: modify
add: roleOccupant
roleOccupant: mail=per@storahoga.info, o=storahoga.info, o=hosting, dc=extnn,
dc
=com
...

Trying to add...I get
....
adding new entry "mail=per@storahoga.info, o=storahoga.info, o=hosting,
dc=extnn, dc=com"
ldapadd: update failed: mail=per@storahoga.info, o=storahoga.info, o=hosting,
dc=extnn, dc=com
ldap_add: Object class violation (65)
        additional info: no structural object class provided
....

??are things more strict now or am I missing something

OpenLDAP 2.1.22