Re: [courier-users] New installation to courier.

This is a discussion on Re: [courier-users] New installation to courier. within the Courier-Imap forums, part of the Mail Servers and Related category; Yuri Venkov wrote: > > I start by downloading and building the latest stable version of > Berkley DB for ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2007
Gordon Messmer
 
Posts: n/a
Default Re: [courier-users] New installation to courier.

Yuri Venkov wrote:
>
> I start by downloading and building the latest stable version of
> Berkley DB for ldap
> I then download and build latest stable version of Openldap
> I install OpenSSL from RPM


What platform are you using? There was almost certainly a suitable
package of openldap available...

> Next I want to configure LDAP.
> I configure slapd with base DN
> I configure slapd with root DN
> I configure root DN with password using slappasswd


In OpenLDAP, the admin's DN doesn't normally exist in the directory.
The DN and password are stored in slapd.conf.

> I then create an LDIF file to create users, the template I worked from
> I got from google:


Google helps you find things, but doesn't usually provide anything
directly. Where, specifically did you get it?

> dn: uid=csahut,ou=people,dc=domain,dc=ch
> structuralObjectClass: inetOrgPerson


Don't specify structuralObjectClass.

> I resolved that the problem was with inetOrgPerson not being a "known"
> object class, so I include inetorgperson.schema into slapd.conf
>
> Now I get error :
> ldap_add: Constraint violation (19)
> additional info: structuralObjectClass: no user modification allowed


Yes, that is an indication that openldap does not allow you to specify
structuralObjectClass.

> If I remove the structural object from the ldif file I get error
> ldap_add: No such object (32)


Then you haven't created the base DN, or the OU objects it normally
contains, like "ou=people".


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:14 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0