Hi iris! Try adding a trailing slash '/' to the mailbox: attribute type of your ldif.
HTH! Lawrence On Fri, 2004-04-23 at 13:10, Iris wrote: > Dear All, > > Please help me Linux Gurus... > > 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], o=ragnarok.com.ph, > o=hosting, dc=levelup" > ldapadd: update failed: [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], o=ragnarok.com.ph, o=hosting, > dc=levelup > objectClass: top > #objectClass: account > objectClass: CourierMailAccount > mail: [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], 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 -- 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
