troubleshooting.sdf 3.98 KB
Newer Older
Gavin Henry's avatar
Gavin Henry committed
1
# $OpenLDAP$
Kurt Zeilenga's avatar
Kurt Zeilenga committed
2
# Copyright 2007-2012 The OpenLDAP Foundation, All Rights Reserved.
3
4
5
6
# COPYING RESTRICTIONS APPLY, see COPYRIGHT.

H1: Troubleshooting

Gavin Henry's avatar
Gavin Henry committed
7
If you're having trouble using OpenLDAP, get onto the
Gavin Henry's avatar
Gavin Henry committed
8
OpenLDAP-Software mailing list, or:
Gavin Henry's avatar
Gavin Henry committed
9

Gavin Henry's avatar
Gavin Henry committed
10
11
12
* Browse the list archives at {{URL:http://www.openldap.org/lists/#archives}} 
* Search the FAQ at {{URL:http://www.openldap.org/faq/}}
* Search the Issue Tracking System at {{URL:http://www.openldap.org/its/}}
Gavin Henry's avatar
Gavin Henry committed
13
14

Chances are the problem has been solved and explained in detail many times before.
15

Gavin Henry's avatar
Gavin Henry committed
16
17
18
19
20
H2: User or Software errors?

More often than not, an error is caused by a configuration problem or a misunderstanding
of what you are trying to implement and/or achieve. 

21
We will now attempt to discuss common user errors.
Gavin Henry's avatar
Gavin Henry committed
22

23
24
H2: Checklist

Gavin Henry's avatar
Gavin Henry committed
25
26
The following checklist can help track down your problem. Please try to use if {{B:before}}
posting to the list, or in the rare circumstances of reporting a bug.
27

Gavin Henry's avatar
Gavin Henry committed
28
.{{S: }}
29
30
31
32
^{{B: Use the {{slaptest}} tool to verify configurations before starting {{slapd}}}}

.{{S: }}
+{{B: Verify that {{slapd}} is listening to the specified port(s) (389 and 636, generally) before trying the {{ldapsearch}}}}
Gavin Henry's avatar
Gavin Henry committed
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

.{{S: }}
+{{B: Can you issue an {{ldapsearch}}?}}

.{{S: }}
+{{B: If not, have you enabled complex ACLs without fully understanding them?}}

.{{S: }}
+{{B: Do you have a system wide LDAP setting pointing to the wrong LDAP Directory?}}

.{{S: }}
+{{B: Are you using TLS?}}

.{{S: }}
+{{B: Have your certificates expired?}}
48

Gavin Henry's avatar
Gavin Henry committed
49
50
51
52
53
54
55
H2: OpenLDAP Bugs

Sometimes you may encounter an actual OpenLDAP bug, in which case please visit 
our Issue Tracking system {{URL:http://www.openldap.org/its/}} and report it.
However, make sure it's not already a known bug or a common user problem.

* bugs in historic versions of OpenLDAP will not be considered;
56
* bugs in released versions that are no longer present in the Git master branch, 
Gavin Henry's avatar
Gavin Henry committed
57
58
59
60
61
62
63
64
65
66
67
either because they have been fixed or because they no longer apply, 
will not be considered as well;
* bugs in distributions of OpenLDAP software that are not related to the 
software as provided by OpenLDAP will not be considered; in those cases please 
refer to the distributor.

Note: Our Issue Tracking system is {{B:NOT}} for OpenLDAP {{B:Support}}, please join our
mailing Lists: {{URL:http://www.openldap.org/lists/}} for that.

The information you should provide in your bug report is discussed in our FAQ-O-MATIC at
{{URL:http://www.openldap.org/faq/data/cache/59.html}}
68

Gavin Henry's avatar
Gavin Henry committed
69
70
71
72
H2: 3rd party software error

The OpenLDAP Project only supports OpenLDAP software. 

Gavin Henry's avatar
Gavin Henry committed
73
You may however seek commercial support ({{URL:http://www.openldap.org/support/}}) or join 
Gavin Henry's avatar
Gavin Henry committed
74
75
76
77
the general LDAP forum for non-commercial discussions and information relating to LDAP at: 
{{URL:http://www.umich.edu/~dirsvcs/ldap/mailinglist.html}}


78
79
H2: How to contact the OpenLDAP Project

80
81
82
* Mailing Lists: {{URL:http://www.openldap.org/lists/}}
* Project: {{URL: http://www.openldap.org/project/}}
* Issue Tracking: {{URL:http://www.openldap.org/its/}}
Gavin Henry's avatar
Gavin Henry committed
83

84
85
86
87

H2: How to present your problem


Gavin Henry's avatar
Gavin Henry committed
88
H2: Debugging {{slapd}}(8)
89

90
91
92
After reading through the above sections and before e-mailing the OpenLDAP lists, you
might want to try out some of the following to track down the cause of your problems:

93
* Loglevel stats (256) is generally a good first loglevel to try for getting 
94
95
96
  information useful to list members on issues
* Running {{slapd -d -1}} can often track down fairly simple issues, such as 
  missing schemas and incorrect file permissions for the {{slapd}} user to things like certs
Gavin Henry's avatar
Gavin Henry committed
97
* Check your logs for errors, as discussed at {{URL:http://www.openldap.org/faq/data/cache/358.html}}
98
99

H2: Commercial Support
Gavin Henry's avatar
Gavin Henry committed
100
101
102
103
104

The firms listed at {{URL:http://www.openldap.org/support/}} offer technical support services catering to OpenLDAP community. 

The listing of any given firm should not be viewed as an endorsement or recommendation of any kind, nor as otherwise indicating 
there exists a business relationship or an affiliation between any listed firm and the OpenLDAP Foundation or the OpenLDAP Project or its contributors.