Closed Bug 282250 Opened 20 years ago Closed 18 years ago

Add negotiateauth support

Categories

(Camino Graveyard :: General, enhancement, P2)

PowerPC
macOS
enhancement

Tracking

(Not tracked)

RESOLVED FIXED
Camino1.5

People

(Reporter: ptejad, Assigned: alqahira)

References

Details

(Keywords: fixed1.8.1.2)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b) Gecko/20050119 Camino/0.8+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b) Gecko/20050119 Camino/0.8+

this is similar to https://bugzilla.mozilla.org/show_bug.cgi?id=237572

I have verified that adding the
mozilla/extensions/negotiateauth/libnegotiateauth.dylib file to the project in
the components folder enables spnego authentication for Camino.

You will also want to add a "ac_add_options --enable-extensions=negotiateauth"
and "ac_add_options --enable-crypto" lines to your mozconfig so that it gets built

Reproducible: Always
how large is the optimized dylib? how many people would actually have need for this?
the file is 68k.  It would be necessary for anyone in an Active Directory domain
using SPNEGO authentication on their websites.
Seems like a valid request like many others we have, part fo unconfirmed cleanup.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: please add negotiateauth to the default list of camino extensions, and add dylib file to xcode project → Add negotiateauth support
Priority: -- → P2
Target Milestone: --- → Camino1.0
Note: since bug 280792, negotiateauth is now called auth on the trunk.
Target Milestone: Camino1.0 → Camino1.1
Mark, is this just a build-config change?

Mike, 68k seems worth it to me for adding in [negotiate]auth support.
Assignee: mikepinkerton → nobody
QA Contact: general
Target Milestone: Camino1.1 → Camino1.2
Was this ever resolved? Can these libs be included in the build?
*shrug* i don't think anyone else has ever asked for it. i guess if firefox ships with it, we should too. do they for sure?
yep, FF does ship with it.
I'm looking into this.  While I've added dylibs to our build before, they've been things I'm familiar with and could test myself, so please bear with me ;)  (Also, the branch is a little bit of a rat's nest.)
Assignee: nobody → alqahira
I'd be happy to test and to get some others at at Los Alamos NA Lab to test too. Just let me know when it's ready and if there are specific tests you would like done.
I've uploaded a test build that I think has this working.  It's PPC-only, and the trunk rather than branch since the trunk build stuff seemed more straightforward: http://www.ardisson.org/smokey/moz/CaminoTrunk-20070201-auth.dmg

Allan, ptejad@sandia.gov, can you guys take this build for a quick spin and see if it actually works with the auth systems at your labs?  (Note the trunk code is heavily under development right now, so there may be issues with page rendering, etc.; just test the auth stuff ;) )

If all seems well, I'll proceed with the branch work and then get the patches reviewed, and hopefully we'll have this in for 1.1/1.1b1.
Status: NEW → ASSIGNED
Attached patch trunk patch v1Splinter Review
This is the patch that I used to make the build in the previous comment.

The configure.in change is untested (I built my tree with --enable-negotiateauth instead, but since we'll burn hereafter, it's not an optional .mozconfig flag but something that should go in configure.in)
woowoo! Kerberos auth stuff seems to work fine with the version you built. I look forward to seeing it in main.

-Allan
Here's a branch build, same deal as the trunk (except it should be stable enough for daily use):

http://www.ardisson.org/smokey/moz/Camino-1.1a2+20070201-auth.dmg

Please let us know if this works with your auth systems, and if so, I'll get the patches reviewed.
Attached patch Branch patch v1Splinter Review
Here's the patch for the 1.8 branch, used for the build above.  Once again, the configure.in change isn't tested (I built with --enable-extensions=all,our,default,extensions,auth in my .mozconfig instead).
I'm downloading now and will start to use as a my primary browser after download. Thanks for the incredibly fast response. 
I've been using it for a few days and it seems to work. Slow to launch, but that's probably because it's a PPC application (hopefully we'll see a universal version soon :-).  
Comment on attachment 253789 [details] [diff] [review]
Branch patch v1

Allan, thanks for the testing!

We'll try to get this in for 1.1b1 (fingers crossed, as we'll have to negotiate with Core on configure.in change).
Attachment #253789 - Flags: superreview?(mark)
Comment on attachment 253692 [details] [diff] [review]
trunk patch v1

Thanks for remembering nsStaticComponents.cpp!
Attachment #253692 - Flags: superreview?(mark) → superreview+
Attachment #253789 - Flags: superreview?(mark) → superreview+
Comment on attachment 253789 [details] [diff] [review]
Branch patch v1

Requesting branch approval for the configure.in portion of this patch (which is a change to the Camino-only section).
Attachment #253789 - Flags: approval1.8.1.2?
Comment on attachment 253789 [details] [diff] [review]
Branch patch v1

Approved for 1.8 branch, a=jay for drivers.
Attachment #253789 - Flags: approval1.8.1.2? → approval1.8.1.2+
Whiteboard: [needs checkin]
Checked in on trunk and MOZILLA_1_8_BRANCH.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1.2
Resolution: --- → FIXED
Whiteboard: [needs checkin]
Allan, you can grab an official nightly beginning Tuesday morning and get your authentication with Universal goodness: http://www.caminobrowser.org/download/releases/nightly/
Moving fixed "1.2" bugs to 1.1 where they were really fixed. Filter on CaminoFixed1.1 for bugmail purposes.
Target Milestone: Camino1.2 → Camino1.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: