Quoting Rune Prytz Anderson <[EMAIL PROTECTED]>: > > I started out at www.lifewithqmail.org/ldap. I then noticed that > courier-imap was a component of a larger software with the same posibility > to do ldap authentication and sice I'm new to this I thought I it would > be easier to get everyting to work with courier instead of a bunch of > diffrent programs working together. But since there is no really howto on > courier and ldap it seems to be alot harder... > What I'm looking for is some help with how the ldap-database is to be > structured. The courier configfiles are quiet easy to figure out. > > The goal of my project is to make an php-application to add/delete users > with a mailalias feature that is so easy to use that my boss admin the > users.
I think that is what most everyone would like :-)
The question for me is, "where do we start?". You state that you need
help with the ldap-database structure. Actually, in the short period
of time I've been using it, I have found that it is more flexible than
my creativity :-) which has been the source of most of my problems.
I'm attaching a dump of the structure that I am currently using, last
change about midnight last night, one of the advantages of LDAP.
If you want to use this as an ldif for testing the {SHA}password
is test. I'm using openldap 2.0.23, I think, with the standard
and courier schemas, "authldap.schema". I would like to call your
attention to the last entry, discuss-list, that shows some of the
flexibility of LDAP. I am using the same database for an email
address book and get different lists depending on the search
criteria (I'm not happy with the last entry and will be adding
an addressbook ou or something similar, suggestions appreciated
because I am a rank beginner. This is generated directly from my
webmail that I am currently using. I may change to courier
when I find time to evaluate the advantages and/or disadvantages.
I also have an short ugly undocumented awk hack that I use with
freebsd to create an ldif file for each of my mail users from
master.passwd, and a shell script that does and ldapadd and creates
their user directories, their maildirs and a .courier file,
if you need them and a really ugly hack for changing the ldap
password that uses php and sh from a web form but it works that
we can hopefully improve:-) I use a mbox2maildir perl script that
I find very flexible, rewritten by Bruce Guenter <[EMAIL PROTECTED]>
based on code by Russell Nelson <[EMAIL PROTECTED]> and found on
the qmail web site.
What I think would really be cool, would be for you to put this and
feedback from others into a "howto" format based on your needs as an
even newer user than I (I've got a couple of weeks on you:-). We
might actually build something that would facilitate
entry to others by making it easy to use LDAP with courier and
then facilitate the admin tasks so " your boss can do it":-)
I hope you will find some of this useful. I would also appreciate
feedback for any of you because I'm sure I'm missing many things and
probably trying to reinvent the wheel, but based on my and from what
I see on the list other folks suffering, some basic documentation could
be very useful.
ed
>
> Rune
>
>
>
> On Sun, 17 Feb 2002, Edwin Culp wrote:
>
> > Quoting "Aly S.P Dharshi" <[EMAIL PROTECTED]>:
> >
> > > Try http://www.openldap.org
> >
> > Aly,
> >
> > Openldap is without a doubt required reading for any and everything that
> > has to do with ldap, IMO, but I understood that Rune was looking for
> > a more Courier specific - HowTo that I suppose would have
> examples/scripts
> > for populating ldap with information from the system passwd file,
> schemas,
> > authldaprc, etc. Actually, this type of information could save the
> > uninitiated hours or weeks of time and frustration trying to piece the
> > information together. I know of many cases in other projects where some
> > folks have given up on ldap completely. I would certainly try to
> > contribute if Rune will help us with a starting point as I'm sure many
> > others will. I doubt that many of us have the time to do a complete
> > HowTo by ourselves.
> >
> > Of course, maybe that isn't at all what he is looking for. :-)
> >
> > ed
> > >
> > >
> > > _______________________________________________
> > > courier-users mailing list
> > > [EMAIL PROTECTED]
> > > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
> > >
> >
> >
> >
> >
> >
> > ---
> >
> > _______________________________________________
> > courier-users mailing list
> > [EMAIL PROTECTED]
> > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
> >
>
>
--
To announce that there must be no criticism of the president,
or that we are to stand by the president, right or wrong, is not
only unpatriotic and servile, but is morally treasonable to
the American public. - Theodore Roosevelt
---
ldap.ldif
Description: Binary data
