Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-03-2010, 06:30 PM   #1
LQ Newbie
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Apache + Mod_Auth_NTLM_Mod + Samba + Tomcat

So what I want to do is have SSO in a servlet.

I had it sort of working - Apache was successfully setting the REMOTE_USER environment variable.

I reset the VM, though, and now it's stopped working. BUT winbind -u, -g, -n, and net ads testjoin reports that the Join is OK. And I've chown 750 /var/run/samba/winbindd_privileged . And added www-data to the winbindd_priv group.

What the bejeezus is wrong?

And is there an easier way to get the remote user to tomcat - I've tried using JCIFs - that's not /bad/, but we're moving to vista - which I think uses NTLMv2, which JCIFS does not support.

Here's my Apache security

<Directory />
Options FollowSymLinks Multiviews Indexes
AllowOverride All
AuthName "Authentication"
NTLMAuth on
NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"
NTLMBasicAuthoritative on
AuthType NTLM
require valid-user

I'm not using HTTPS, only HTTP

I think we're using server 200..8. But it might be 2003.

EDIT: I'm not sure if this is a network or a linux - server problem.

Last edited by cpinto; 02-03-2010 at 06:43 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apache-tomcat and jakarta-tomcat shifter Programming 1 07-28-2007 11:36 PM
Apache 2.2.0 and Apache-Tomcat 5.5.17, how can i connect them? Ukitake Fedora 1 06-04-2006 09:25 AM
Using Samba to Access Files From Apache/Tomcat? PerfectReign Linux - Networking 2 05-16-2005 10:45 AM
Why use Apache with Tomcat rather than just Tomcat itself? davee Linux - Software 1 08-21-2003 10:47 PM
Tomcat + Apache gilbert_on_line Linux - Software 1 04-18-2001 09:44 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration