RE: mod_auth_ldap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would trust more an Apache version that you compiled yourself, since
this guarantees you have all dependencies installed.

The online building documentation is good:

http://httpd.apache.org/docs/2.2/install.html

Building it from scratch seems more difficult that what it actually is.
Don't fear it.

Below is the general sequence (you may adapt to Solaris and build
directories). You also need to decide what modules to build. Note that
"all" does not add ALL modules, you still need to specify some of the
modules you want. Try adding modules until you get what you need.

The list of modules is available here:

http://httpd.apache.org/docs/2.2/mod/


You can run 
   # ./configure --help 
for information on more options.


$ cd ~
$ tar -zxvf httpd-major.minor.build.tar.gz   
$ cd httpd-major.minor.build

## The following line creates the makefile
$ ./configure --srcdir=~/httpd-major.minor.build \
              --with-port=80
              --prefix=/opt/apache2
              --with-ldap
              --with-included-apr
              --enable-mods-shared="all ssl ldap authnz_ldap echo info"
## now lets build the software
$ make 

## Finally, lets copy all required files in the directory 
## pointed by the --prefix argument

$ make install   

If you run 'configure' again, you may want to start clean:
$ make clean

You will still need to write the scripts to start the daemon when the OS
is restarted and register those scripts to run in the appropriate
sequence; after network services are available. I can't help with that.

The above instructions build the modules as shared libraries. You need
to use LoadModule in your httpd.conf file. You can link the libraries
statically, but I don't see good reasons to do that.

-Jorge
              



-----Original Message-----
From: Drew Tomlinson [mailto:drew@xxxxxxxxxxxxxxxxxx] 
Sent: Friday, September 26, 2008 1:31 PM
To: users@xxxxxxxxxxxxxxxx
Subject:  mod_auth_ldap

I used the Apache 2.2.6 package from SunFreeware to upgrade various 
Sparc servers running Solaris 8 and 9.  However this package does not 
include mod_auth_ldap which is needed for a few of the sites.  I've 
Googled and only turned up a lot of pages detailing compiling problems.

I have not compiled on Solaris machines and would like to avoid if 
possible.  Can anyone point me to a place where I might download this 
module and avoid compiling nightmares?  :)  If not, how about a good 
Apache compiling tutorial for a newbie.

Thanks,

Drew



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux