This file is indexed.

/usr/share/doc/courier-authlib-ldap/README.ldap is in courier-authlib-ldap 0.63.0-4build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
LDAP support based on a patch by:
Luc Saillard <luc.saillard@alcove.fr>  Thu, 30 Dec 1999 20:33:08 +0100

Adapted as a generic authlib authentication module - SV 12/31/99.

Configuration File
------------------

     LDAP configuration is placed in the file authldaprc, which is installed,
     by default, as /usr/lib/courier-imap/etc/authldaprc.
     Use --with-authldaprc=pathname to override the location.

     This file must be owned by root and have the permissions set to 0400
     because the LDAP administrator password is stored in this file.

     See the default authldaprc for more information.

     CC both me and Luc Saillard for questions on authldap.

Schema
------

OpenLDAP 2.0 defaults to schema checking on all directories.  The file
authldap.schema contains a definition of a LDAP objects
CourierMailAccount, CourierMailAlias, and CourierDomainAlias.

Only CourierMailAccount is used for mailbox authentication (i.e. IMAP,
webmail).  The other two objects are used by LDAP-based mail routing
in the Courier Mail Server.

The file authldap.ldif contains an ldif format definition of the same objects.
This is the same schema definition as in authldap.schema, except in the ldif
format.

Here are some sample LDAP objects that use this schema:

dn: o=example, c=com
ObjectClass: organization
o: example
c: com

dn: mail=xyz123@example.com, o=example, c=com
ObjectClass: CourierMailAccount
ObjectClass: person
cn: Xavier Y Zimmerman
sn: Zimmerman
mail: xyz123@example.com
clearPassword: tux
userPassword: {MD5}WrbkuYvH+3FvwH7Zj+34Ag==
homeDirectory: /home/xyz123
uidNumber: 1001
gidNumber: 1001

dn: mail=mailalias@example.com, o=example, c=com
ObjectClass: CourierMailAlias
ObjectClass: nisMailAlias
cn: mailalias
mail: mailalias
maildrop: xyz123

dn: virtualdomain=domain.com, o=example, c=com
ObjectClass: nisMailAlias
ObjectClass: CourierDomainAlias
cn: domain.com
virtualdomain: domain.com
virtualdomainuser: wxyz456


Notice on Luc's original patch:
-------------------------------

  Copyright (C) 1999 Luc Saillard

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.