Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Issue 7655046: Linux: allow linking directly with Kerberos instead of using dlopen. (Closed)

Created:
9 years, 4 months ago by Paweł Hajdan Jr.
Modified:
9 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Linux: allow linking directly with Kerberos instead of using dlopen. dlopen is still the default for Google Chrome. This option is intended for Linux distro packagers. BUG=92689 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98116

Patch Set 1 #

Total comments: 12

Patch Set 2 : remove bundled header #

Patch Set 3 : install-build-deps #

Total comments: 1

Patch Set 4 : Hopefully fix ChromeOS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -912 lines) Patch
M build/install-build-deps.sh View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M net/http/http_auth_gssapi_posix.h View 3 chunks +12 lines, -3 lines 0 comments Download
M net/http/http_auth_gssapi_posix.cc View 4 chunks +9 lines, -2 lines 0 comments Download
M net/http/http_auth_gssapi_posix_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/http_auth_handler_factory.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/http/http_auth_handler_negotiate_unittest.cc View 4 chunks +2 lines, -2 lines 0 comments Download
M net/http/mock_gssapi_library_posix.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/http/mock_gssapi_library_posix.cc View 2 chunks +1 line, -2 lines 0 comments Download
M net/net.gyp View 1 2 3 2 chunks +23 lines, -1 line 0 comments Download
D net/third_party/gssapi/LICENSE View 1 1 chunk +0 lines, -19 lines 0 comments Download
D net/third_party/gssapi/README.chromium View 1 1 chunk +0 lines, -18 lines 0 comments Download
D net/third_party/gssapi/gssapi.h View 1 1 chunk +0 lines, -844 lines 0 comments Download
D net/third_party/gssapi/gssapi.gyp View 1 1 chunk +0 lines, -15 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Paweł Hajdan Jr.
9 years, 4 months ago (2011-08-18 17:03:50 UTC) #1
cbentzel
http://codereview.chromium.org/7655046/diff/1/net/http/http_auth_gssapi_posix.h File net/http/http_auth_gssapi_posix.h (right): http://codereview.chromium.org/7655046/diff/1/net/http/http_auth_gssapi_posix.h#newcode9 net/http/http_auth_gssapi_posix.h:9: #include <gssapi.h> Is the third_party one included in the ...
9 years, 4 months ago (2011-08-18 21:21:17 UTC) #2
Paweł Hajdan Jr.
http://codereview.chromium.org/7655046/diff/1/net/http/http_auth_gssapi_posix.h File net/http/http_auth_gssapi_posix.h (right): http://codereview.chromium.org/7655046/diff/1/net/http/http_auth_gssapi_posix.h#newcode9 net/http/http_auth_gssapi_posix.h:9: #include <gssapi.h> On 2011/08/18 21:21:17, cbentzel wrote: > Is ...
9 years, 4 months ago (2011-08-18 23:30:32 UTC) #3
wtc
Can we just always link with krb5-config --libs gssapi directly? That'll simplify the code.
9 years, 4 months ago (2011-08-18 23:48:05 UTC) #4
cbentzel
Evan - I'm not familiar enough with how we package/ship our Linux builds. Currently for ...
9 years, 4 months ago (2011-08-19 12:22:35 UTC) #5
Evan Martin
On 2011/08/18 23:48:05, wtc wrote: > Can we just always link with krb5-config --libs gssapi ...
9 years, 4 months ago (2011-08-19 17:19:08 UTC) #6
Evan Martin
On 2011/08/19 17:19:08, Evan Martin wrote: > Who wrote > the initial patch? I ask ...
9 years, 4 months ago (2011-08-19 17:19:49 UTC) #7
cbentzel
I wrote the initial patch, essentially mirroring firefox's approach. I'm fine with this route. On ...
9 years, 4 months ago (2011-08-19 17:21:59 UTC) #8
Evan Martin
Lei, do you know how we can tell whether we expect krb5 to be available ...
9 years, 4 months ago (2011-08-19 17:23:54 UTC) #9
Lei Zhang
On 2011/08/19 17:23:54, Evan Martin wrote: > Lei, do you know how we can tell ...
9 years, 4 months ago (2011-08-19 18:26:21 UTC) #10
Paweł Hajdan Jr.
I'm not sure if it's possible to make Google Chrome link to Kerberos directly. Note ...
9 years, 4 months ago (2011-08-22 18:39:52 UTC) #11
Evan Martin
I agree with cbentzel's comments (you should remove the local gssapi.h in this change, need ...
9 years, 4 months ago (2011-08-22 23:45:17 UTC) #12
wtc
The reason I suggested linking with gssapi directly is to simplify the code. I am ...
9 years, 4 months ago (2011-08-23 00:56:25 UTC) #13
cbentzel
On Mon, Aug 22, 2011 at 8:56 PM, <wtc@chromium.org> wrote: > The reason I suggested ...
9 years, 4 months ago (2011-08-23 01:08:56 UTC) #14
Paweł Hajdan Jr.
PTAL I think the safest plan would be to commit this for now (it doesn't ...
9 years, 4 months ago (2011-08-23 19:17:13 UTC) #15
cbentzel
LGTM This doesn't have the change to build/install-build-deps.sh Was this because debian distros which are ...
9 years, 4 months ago (2011-08-23 20:04:22 UTC) #16
Evan Martin
I think we might need to install the -dev package. Please don't land this unless ...
9 years, 4 months ago (2011-08-23 20:20:30 UTC) #17
Dmitry Polukhin
9 years, 4 months ago (2011-08-24 07:45:30 UTC) #18
http://codereview.chromium.org/7655046/diff/15001/net/http/http_auth_gssapi_p...
File net/http/http_auth_gssapi_posix.h (right):

http://codereview.chromium.org/7655046/diff/15001/net/http/http_auth_gssapi_p...
net/http/http_auth_gssapi_posix.h:9: #include <gssapi.h>
It looks like this CL broke Chrome OS build:

chromeos-chrome-15.0.859.0_rc-r1: In file included from
net/http/http_auth_gssapi_posix.cc:5:
chromeos-chrome-15.0.859.0_rc-r1: ./net/http/http_auth_gssapi_posix.h:9:20:
error: gssapi.h: No such file or directory
chromeos-chrome-15.0.859.0_rc-r1: In file included from
./net/http/http_auth_handler_negotiate.h:21,
chromeos-chrome-15.0.859.0_rc-r1:                  from
net/http/http_auth_handler_factory.cc:16:
chromeos-chrome-15.0.859.0_rc-r1: ./net/http/http_auth_gssapi_posix.h:9:20:
error: gssapi.h: No such file or directory
chromeos-chrome-15.0.859.0_rc-r1: In file included from
./net/http/http_auth_handler_negotiate.h:21,
chromeos-chrome-15.0.859.0_rc-r1:                  from
net/http/http_auth.cc:14:
chromeos-chrome-15.0.859.0_rc-r1: ./net/http/http_auth_gssapi_posix.h:9:20:
error: gssapi.h: No such file or directory

Powered by Google App Engine
This is Rietveld 408576698