Bugzilla 2.16.2 documentation - 4.2.4 - LDAP Authentication

RESOLVED INVALID

Status

()

Bugzilla
Documentation
P3
normal
RESOLVED INVALID
16 years ago
12 years ago

People

(Reporter: Philippe Astruc, Unassigned)

Tracking

Details

(Reporter)

Description

16 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)
Build Identifier: 

I tested succesfully the optional configuration to integrate Bugzilla 2.16.2 
with LDAP.
The documentation in 4.2.4 is not complete.
This is what I had to do to make it work :
1) Get LDAP C SDK source using CVS
cvs co -P DirectorySDKSourceC
You should have a mozilla directory
2) Get these version of binariy releases of NSS and NSPR (nspr-4.2.tar.gz et 
nss-3.4.1.tar.gz). Create the dist directory in mozilla directory and untar 
nspr-4.2.tar.gz et nss-3.4.1.tar.gz in mozilla/dist
3) Add the following symbolic links in the directory mozilla/dist/include :
lrwxrwxrwx    1 root     root           19 jan 15 12:22 nspr -> ../nspr-
4.2/include/
lrwxrwxrwx    1 root     root           20 jan 15 12:23 nss -> ../nss-
3.4.1/include/
4) Add the following symbolic links in /mozilla/dist/bin :
lrwxrwxrwx    1 root     root           15 jan 15 12:22 nspr -> ../nspr-4.2/bin/
lrwxrwxrwx    1 root     root           16 jan 15 12:23 nss -> ../nss-3.4.1/bin/
and in /mozilla/dist/lib :
lrwxrwxrwx    1 root     root           15 jan 15 12:22 nspr -> ../nspr-4.2/lib/
lrwxrwxrwx    1 root     root           16 jan 15 12:24 nss -> ../nss-3.4.1/lib/
5) Build the LDAP C SDK (libraries and tools): 
cd mozilla/directory/c-sdk
./configure (ou ./configure --with-nss if ssl support needed -> not tested in 
my case)
gmake
6) headers copy before perldap compil
cp mozilla/dist/public/ldap/* mozilla/dist/include
7) Get and untar perldap-1.4.1.tar.gz anywhere
8) perl Makefile.PL (mozilla/dist comme répertoire pour les librairires LDAP 
SDK)
make
su root
make install
9) Modify CGI.pl !!!! (It is sad to have to do that)
Add the following 2 lines at the beginning
use Mozilla::LDAP::Conn;
use Mozilla::LDAP::Entry; 
10) Change the LDAP parameters as described
useLDAP, LDAPserver, LDAPBaseDN and LDAPmailattribute
11) Add your LDAP server in /etc/hosts
<ip_address> <server_name>

Comment : It would be nice not to have to do step 9) in the future release.


Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Matthew is still going to be around to help out, but Jake is taking over the
day-to-day front-line triage type stuff for Documentation
Assignee: matthew → jake

Updated

16 years ago
Priority: -- → P3
Target Milestone: --- → Bugzilla 2.18

Comment 2

16 years ago
Other LDAP bugs that may need noted...
Bug 176435 - More documentation
Bug 158630 and bug 120128 - Patches to use Net::LDAP
Bug 180642 - Bugzilla::Auth module (probably won't mention)
Bug 51182 - Tracking bug about LDAP
Jake is leaving for a while (Reserve unit got called up), and we don't have a
new docs owner yet.  Anyone interested in helping out, please add
documentation@bugzilla.org to your watch list in your email preferences in Bugzilla.
Assignee: jake → documentation

Updated

12 years ago
QA Contact: mattyt-bugzilla → default-qa

Comment 4

12 years ago
We use Net::LDAP now, so this doesn't need to be documented anymore.
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → INVALID

Updated

12 years ago
Target Milestone: Bugzilla 2.18 → ---

Comment 5

12 years ago
I agree. I entered this in 2003.
with 2.22 it seems easy to configure LDAP and well documented here :
http://www.bugzilla.org/docs/2.22/html/extraconfig.html
Nothing to add. This could be closed.
You need to log in before you can comment on or make changes to this bug.