LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   ldap don't recognize courier object class when I'm adding a user or his attributes (https://www.linuxquestions.org/questions/linux-server-73/ldap-dont-recognize-courier-object-class-when-im-adding-a-user-or-his-attributes-4175414867/)

mfran 07-04-2012 08:47 AM

ldap don't recognize courier object class when I'm adding a user or his attributes
 
Hi everybody,

In my company we are installing a new mail server in ubuntu with ldap (for users, distribution goups and others things), courier y postfix.

The problem is when I'm configuring ldap. In the past I include authldap.schema and works find but now I cannot find the way to tell ldap to use courier for the mails. When I'm trying to add a user with the objectclass CourierMailAccount I get an error saying that the object class not exist.

Anybody knows how to tell ldap to use that king of object class or there's a way to configurate properly my ldap...???

Thanks,

btmiller 07-04-2012 12:39 PM

What version of LDAP are you using? Starting from version 2.4 OpenLDAP started using configuration via cn=config rather than slapd.conf by default. However, the principles are the same. You need to add the correct schema to the LDAP server to create the CourierMailAccount objectClass (it's sounds like there would be some courier-specific schema for this). It's been awhile since I've had to do this on my LDAP server, but if you hunt around and Google for something like "add schema to openldap" and you should be able to figure it out.

Edit: Did a quick search, and it looks like authldap.schema may be correct -- never used Courier so I am not that familiar with it). Have you verified that the schema is indeed loaded correctly on your LDAP server?


All times are GMT -5. The time now is 10:35 AM.