Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
4c4ca1f2
Commit
4c4ca1f2
authored
May 05, 2014
by
Pieter Hintjens
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1009 from fichtner/gss_freebsd
gssapi: RFC 2744 mandates GSS_C_NT_HOSTBASED_SERVICE
parents
40cbbe3c
8c09ae6e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
gssapi_client.cpp
src/gssapi_client.cpp
+2
-1
gssapi_mechanism_base.cpp
src/gssapi_mechanism_base.cpp
+1
-1
gssapi_mechanism_base.hpp
src/gssapi_mechanism_base.hpp
+2
-0
No files found.
src/gssapi_client.cpp
View file @
4c4ca1f2
...
...
@@ -165,7 +165,8 @@ int zmq::gssapi_client_t::initialize_context ()
send_tok
.
value
=
service_name
;
send_tok
.
length
=
strlen
(
service_name
);
OM_uint32
maj
=
gss_import_name
(
&
min_stat
,
&
send_tok
,
gss_nt_service_name
,
&
target_name
);
GSS_C_NT_HOSTBASED_SERVICE
,
&
target_name
);
if
(
maj
!=
GSS_S_COMPLETE
)
return
-
1
;
...
...
src/gssapi_mechanism_base.cpp
View file @
4c4ca1f2
...
...
@@ -317,7 +317,7 @@ int zmq::gssapi_mechanism_base_t::acquire_credentials (char * service_name_, gss
name_buf
.
length
=
strlen
((
char
*
)
name_buf
.
value
)
+
1
;
maj_stat
=
gss_import_name
(
&
min_stat
,
&
name_buf
,
gss_nt_service_name
,
&
server_name
);
GSS_C_NT_HOSTBASED_SERVICE
,
&
server_name
);
if
(
maj_stat
!=
GSS_S_COMPLETE
)
return
-
1
;
...
...
src/gssapi_mechanism_base.hpp
View file @
4c4ca1f2
...
...
@@ -24,7 +24,9 @@
#ifdef HAVE_LIBGSSAPI_KRB5
#ifndef ZMQ_HAVE_FREEBSD
#include <gssapi/gssapi_generic.h>
#endif
#include <gssapi/gssapi_krb5.h>
#include "mechanism.hpp"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment