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: test@ragnarok.com.ph
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

Reply via email to