Sir, I'm not using inetOrgPerson objectclass Im using this config http://www.crt.realtors.org/projects/email-redir/paper-html/implementation.html
Thanks iris ----- 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 Subject: Re: [plug] Help with LDAP > 22Apr2004 (UTC -7) > > Iris, the key words in the error message are "no structural object class > provided". Add objectClass: inetOrgPerson to your ldif. > > hope this helps, > > Drexx Laggui > Asia-Pacific Region > #Computer Crime Analyst > > 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
