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

Re: adding mail aliases to ldap problems



>I have added obtained and saved the
>rfc822-MailMember.schema and in is in my slapd.conf

Isn't this already in nis.schema?

> witness all of these here:
> slapd.conf
> include         /usr/local/etc/openldap/schema/core.schema
> include         /usr/local/etc/openldap/schema/cosine.schema
> include         /usr/local/etc/openldap/schema/inetorgperson.schema
> include         /usr/local/etc/openldap/schema/nis.schema
> include         /usr/local/etc/openldap/schema/samba.schema
> include         /usr/local/etc/openldap/schema/rfc822-MailMember.schema

Look in nis.schema, isn't nisMailAlias defined there?

> ldapadd -x -D "cn=Manager,dc=emtex,dc=com"  -W -f aliases.ldif
> Enter LDAP Password:
> adding new entry "cn=mailer-daemon,ou=Aliases,dc=emtex,dc=com"
> ldapadd: update failed: cn=mailer-daemon,ou=Aliases,dc=emtex,dc=com
> ldap_add: Undefined attribute type (17)
>          additional info: rfc822MailMember: attribute type undefined

You must have a problem loading the schema

>and witnessed it loading the included rfc822MailMember.schema, no errors 
>reported, but I can't get beyond this and I've been flailing at it since
>yesterday afternoon and it's the last bit of info I need to get into 
>ldap before I can actually start to use it?  could someone please tell
>me what I'm doing wrong?

Look for something stupid like a type.  This works fine.