Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-04-2012, 08:47 AM   #1
LQ Newbie
Registered: Jun 2012
Location: Argentina
Distribution: Ubuntu
Posts: 7

Rep: Reputation: Disabled
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...???

Old 07-04-2012, 12:39 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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?

Last edited by btmiller; 07-04-2012 at 12:41 PM.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't we access a protected member in a derived class by a base class's object? Aquarius_Girl Programming 5 02-04-2012 10:35 PM
[SOLVED] C++ Class object can't find class methods TheCrow33 Programming 4 01-29-2012 05:04 PM
deleting a ldap object/user using ldapdelete is giving sasl error vasavib Linux - Newbie 3 12-04-2011 02:06 AM
adding LDAP user in server rmugunthan Red Hat 1 03-02-2010 03:04 AM
Event driven object-to-object: C++ template class mecanism ( NOT STL or STDC++) bretzeltux Programming 2 12-23-2003 02:45 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration