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

maildrop question



I am a LDAP newbie that is just learning the ropes.

I am trying to get my MTA to use the maildrop attrib in the ldap server to
know where to save the users e-mail. I have postfix all configured (AFAICT
with out being able to test it), but am having troubles getting the user
entries added to the LDAP server.

here is the ldif file I am trying to import:

dn: uid=Manager, o=company, c=US
uid: Manager
objectclass:  account
userpassword: password
maildrop: manager@comany.com

When I do a "ldapadd -D "cn=Manager, dc=company, dc=com" -W < tester"

I get : 

ldap_add: Undefined attribute type
ldap_add: additional info: maildrop

Here is my sladd.conf file:

include         /usr/local/etc/openldap/slapd.at.conf
include         /usr/local/etc/openldap/slapd.oc.conf
schemacheck     off
referral        ldap://ldap.itd.umich.edu

pidfile         /usr/local/var/slapd.pid
argsfile        /usr/local/var/slapd.args

#######################################################################
# ldbm database definitions
#######################################################################

database        ldbm
suffix          "dc=company, dc=com"
directory       /usr/tmp
rootdn          "cn=Manager, dc=company, dc=com"
rootpw          password

Any ideas on what I am doing wrong? As far as I can tell, I dont have the
"maildrop" set up right, but I cannot find what else I can do to set fix it.
Also, is there any other mistakes that you can see I am making here? As I
said, I am a LDAP newbie, and am trying to battle my way through this. The
Faq is great, but I am still missing something.

Thanks for any help.

Jim