logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: mod_ntml for RedHat
Author
paulstadler



Joined: 08 May 2009
Posts: 6

PostPosted: Fri 08 May '09 16:45    Post subject: mod_ntml for RedHat Reply with quote

Hi

I am trying out NTLM authentication on unix. For this I am looking for a mod_ntlm.so file for RedHat Rel 4.

Can anyone point me from where i can download.

Thanks
Back to top
paulstadler



Joined: 08 May 2009
Posts: 6

PostPosted: Fri 08 May '09 16:47    Post subject: Reply with quote

the environment will be Oracle Application Server 10.1.2 running on Redhat.
Back to top
paulstadler



Joined: 08 May 2009
Posts: 6

PostPosted: Fri 08 May '09 16:52    Post subject: Reply with quote

using Apache 1.3
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Fri 08 May '09 16:59    Post subject: Reply with quote

I guess http://modntlm.sourceforge.net/ is a good start point
Back to top
paulstadler



Joined: 08 May 2009
Posts: 6

PostPosted: Fri 08 May '09 17:09    Post subject: Reply with quote

i looked at that and i am getting compile errors..

apxs -c -Wc,-Wall mod_ntlm.c
apxs:Error: /usr/bin/apu-config not found!.
make: *** [mod_ntlm.so] Error 1


dont know where to get these packages from

Thanks
-PS
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Fri 08 May '09 17:21    Post subject: Reply with quote

That is from the Apache Portable Runtime (apr) project http://apr.apache.org/.

I posted the windows version of it on http://apache.pastebin.ca/1416480

I guess you can edit it for your needs.


Well I'm note sure if apr works with apache 1.3
Did you download the source for apache 1.3?
Back to top
paulstadler



Joined: 08 May 2009
Posts: 6

PostPosted: Fri 08 May '09 17:25    Post subject: Reply with quote

Hi

I haven't looked at apr site, will take a look now.

I downloaded the tar file and untared and issued the make command and I am getting this error..


$ make
apxs -c -Wc,-Wall mod_ntlm.c
apxs:Error: /usr/bin/apu-config not found!.
make: *** [mod_ntlm.so] Error 1


Thanks
-PS
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 08 May '09 17:55    Post subject: Reply with quote

I'd think RH would be similar to Fedora since .. they are much in the same

yum install apr
yum install apr-util

those are guesses.

1.3 does not use APR AFAIK so I will assume at this point apxs needs it for sum dum reason, or doesn't need it at all but thinks you are building a module for 2.x. You may only need the util but this all theory anyway since I'm in uncharted hostile territory here.

I do see a 1.3 version of the module source at the website.
hope you are using that.

Maybe I'll give it a try tonight on the Fedora box and see how it goes. I'm trying to get on a friendlier basis with *nix anyway.
Back to top
paulstadler



Joined: 08 May 2009
Posts: 6

PostPosted: Fri 08 May '09 20:21    Post subject: Reply with quote

Thanks. I look forward to ur findings
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sat 09 May '09 1:19    Post subject: Reply with quote

I just took a look at apxs (as is today) and apsx that comes with the Apache 1.3 version .. there is quite a difference in them.

If your's does not look somewhat similar to this inside


Code:
my $CFG_LIBS_SHLIB    = q(ApacheCore.lib kernel32.lib advapi32.lib wsock32.lib ws2_32.lib);        # substituted via Makefile.tmpl
my $CFG_PREFIX        = q(/Apache); # substit
my $CFG_SBINDIR       = q(/Apache); # substit
my $CFG_INCLUDEDIR    = q(/Apache/include); #
my $CFG_LIBEXECDIR    = q(/Apache/modules); #
my $CFG_SYSCONFDIR    = q(/Apache/conf); # sub


chances are you are using too new a version of APSX .. which is not surprising since I am sure RH is shipping with Apache 2.x

Obviously yours will not have all the Windows Lib files in it (kernel32, etc etc), but it should show the ApacheCore.lib

And now I can definitely say Apache 1.3 is not connected in any way to APR .. that was post 1.3
Back to top


Reply to topic   Topic: mod_ntml for RedHat View previous topic :: View next topic
Post new topic   Forum Index -> Apache