Closed Bug 189424 Opened 22 years ago Closed 18 years ago

Bugzilla 2.16.2 documentation - 4.2.4 - LDAP Authentication

Categories

(Bugzilla :: Documentation, defect, P3)

x86
Windows NT
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: philippe.astruc, Unassigned)

Details

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
Priority: -- → P3
Target Milestone: --- → Bugzilla 2.18
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
QA Contact: mattyt-bugzilla → default-qa
We use Net::LDAP now, so this doesn't need to be documented anymore.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Target Milestone: Bugzilla 2.18 → ---
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.