23Apr2004 (UTC -7)

Iris wrote:
Sir, I'm not using inetOrgPerson objectclass

How's the objectclass CourierMailAccount defined in your schema ?


Im using this config
http://www.crt.realtors.org/projects/email-redir/paper-html/implementation.html

Are you still using OpenLDAP 2.0.x ? I've heard that it doesn't enforce the RFC's very well in that version. Upgrade to OpenLDAP 2.2.x or use the Sun Directory Server :)



sige, at matutulog muna ako...


Drexx Laggui
Asia-Pacific Region
#Computer Crime Analyst

----- Original Message ----- From: "Drexx Laggui" <[EMAIL PROTECTED]>
To: "Iris" <[EMAIL PROTECTED]>; "Philippine Linux Users Group Mailing
List" <[EMAIL PROTECTED]>
Sent: Friday, April 23, 2004 3:16 PM


Iris, the key words in the error message are "no structural object class
provided". Add objectClass: inetOrgPerson to your ldif.

Iris wrote:
...

Im trying to setup a Postfix + LDAP + Courier for our email

but when i'm ready to add user to ldap, this error comes out

adding new entry "[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>, o=ragnarok.com.ph, o=hosting,
dc=levelup"
ldapadd: update failed: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>, o=ragnarok.com.ph, o=hosting,

dc=levelup


ldap_add: Object class violation (65)
       additional info: no structural object class provided

But when I add the ObjectClass : account and Uid to my ldif.. it works
but using mailbox format
not Maildir format


thanks in advnce, iris

--------------------myLDIF-----------------------

./ldapadd -x -D "cn=Administrator,dc=levelup" -W -f
/usr/local/etc/openldap/test.ragnarok.com.ph.ldif

dn: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>,
o=ragnarok.com.ph, o=hosting,
dc=levelup
objectClass: top
#objectClass: account
objectClass: CourierMailAccount
mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
homeDirectory: /home/vmail/ragnarok.com.ph
uidNumber: 101
gidNumber: 101
mailbox: test
#uid: test

dn: cn=postmaster, o=ragnarok.com.ph, o=hosting, dc=levelup
changetype: modify
add: roleOccupant
roleOccupant: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>, o=ragnarok.com.ph, o=hosting,
dc=levelup


--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to