LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-04-2012, 08:47 AM   #1
mfran
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...???

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

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


Reply


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? TheIndependentAquarius 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


All times are GMT -5. The time now is 12:55 PM.

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