summaryrefslogtreecommitdiffstats
path: root/debian/patches/sudo-ldap-docs
blob: 8d726cfe6f6f944ee8c274df0ee31ea28506252b (plain)
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
Description: Adapt README.LDAP to the actual state of the sudo-ldap package
Author: Marc Haber <mh+debian-packages@zugschlus.de>

--- a/README.LDAP
+++ b/README.LDAP
@@ -35,18 +35,8 @@ They are one and the same.
 
 Build instructions
 ==================
-The simplest way to build sudo with LDAP support is to include the
-'--with-ldap' option.
-
-  $ ./configure --with-ldap
-
-If your ldap libraries and headers are in a non-standard place, you will need
-to specify them at configure time.  E.g.
-
-  $ ./configure --with-ldap=/usr/local/ldapsdk
-
-Sudo is developed using OpenLDAP but Netscape-based LDAP libraries
-(such as those present in Solaris) are also known to work.
+The Debian package of sudo-ldap is already built with LDAP support
+using the OpenLDAP libs.
 
 Your mileage may vary.  Please let the sudo workers mailing list
 <sudo-workers@sudo.ws> know if special configuration was required
@@ -174,13 +164,10 @@ I recommend using any of the following L
 
   There are dozens of others, some Open Source, some free, some not.
 
-Configure your /etc/ldap.conf and /etc/nsswitch.conf
-====================================================
-The /etc/ldap.conf file is meant to be shared between sudo, pam_ldap, nss_ldap
-and other ldap applications and modules.  IBM Secureway unfortunately uses
-the same file name but has a different syntax.  If you need to change where
-this file is stored, re-run configure with the --with-ldap-conf-file=PATH
-option.
+Configure your /etc/sudo-ldap.conf and /etc/nsswitch.conf
+=========================================================
+The Debian package sudo-ldap uses /etc/sudo-ldap.conf as configuration file
+and is configured to use nsswitch.
 
 See the "Configuring ldap.conf" section in the sudoers.ldap manual
 for a list of supported ldap.conf parameters and an example ldap.conf
@@ -192,9 +179,6 @@ After configuring /etc/ldap.conf, you mu
 to tell sudo to look in LDAP for sudoers.  See the "Configuring nsswitch.conf"
 section in the sudoers.ldap manual for details.  Note that sudo will use
 /etc/nsswitch.conf even if the underlying operating system does not support it.
-To disable nsswitch support, run configure with the --with-nsswitch=no option.
-This will cause sudo to consult LDAP first and /etc/sudoers second, unless the
-ignore_sudoers_file flag is set in the global LDAP options.
 
 Debugging your LDAP configuration
 =================================