summaryrefslogtreecommitdiffstats
path: root/defparams.pl
diff options
context:
space:
mode:
authorcyeh%bluemartini.com <>2000-09-16 03:35:16 +0200
committercyeh%bluemartini.com <>2000-09-16 03:35:16 +0200
commit391664703db43356450e6e471e30f4053a2e62a2 (patch)
treeff6fea075afa01e5d49f464288c36d9b9fdbed13 /defparams.pl
parentc89c74e34e758d9eb7050f416e788eb82e71691a (diff)
downloadbugzilla-391664703db43356450e6e471e30f4053a2e62a2.tar.gz
bugzilla-391664703db43356450e6e471e30f4053a2e62a2.tar.xz
fixes for 51184, 51185, 51186: allow for ldap authentication. patches
by jmrobins@tgix.com (Joe Robins). LDAP sections haven't been tested yet, but the code is arranged such that it shouldn't disturb existing user authentication system.
Diffstat (limited to 'defparams.pl')
-rw-r--r--defparams.pl30
1 files changed, 30 insertions, 0 deletions
diff --git a/defparams.pl b/defparams.pl
index 695bd2c9c..3a767f84f 100644
--- a/defparams.pl
+++ b/defparams.pl
@@ -203,6 +203,36 @@ sub check_despotbaseurl {
}
+# Adding in four parameters for LDAP authentication. -JMR, 7/28/00
+DefParam("useLDAP",
+ "Turn this on to use an LDAP directory for user authentication ".
+ "instead of the Bugzilla database. (User profiles will still be ".
+ "stored in the database, and will match against the LDAP user by ".
+ "email address.)",
+ "b",
+ 0);
+
+
+DefParam("LDAPserver",
+ "The name (and optionally port) of your LDAP server. (e.g. ldap.company.com, or ldap.company.com:portnum)",
+ "t",
+ "");
+
+
+DefParam("LDAPBaseDN",
+ "The BaseDN for authenticating users against. (e.g. \"ou=People,o=Company\")",
+ "t",
+ "");
+
+
+DefParam("LDAPmailattribute",
+ "The name of the attribute of a user in your directory that ".
+ "contains the email address.",
+ "t",
+ "mail");
+#End of LDAP parameters
+
+
DefParam("headerhtml",
"Additional HTML to add to the HEAD area of documents, eg. links to stylesheets.",
"l",