Love Hornquist Astrand
4c7ba73439
Default to false(?), at least default to something.
2011-05-17 21:22:45 -07:00
Jeffrey Altman
aaa4400942
Apply missing function modifiers
...
GSSAPI_CALLCONV, GSSAPI_LIB_FUNC, GSSAPI_LIB_CALL as appropriate
Change-Id: I5198cfc7dd665bdc064aa0e613dac7db7465e2b9
2011-05-17 14:02:49 -04:00
Jeffrey Altman
87aad6a13a
Add NO_LOCALNAME
...
The pname to uid functionality at present assumes there is
an implementation of getpwnam() and that the local user
identifier is an integer. On Windows, the local user identifier
is a SId. Add NO_LOCALNAME as a build option so that Windows
(for now) can build without providing a getpwnam() implementation.
Change-Id: I04cfd6d2cd52e6228733f1da1dab420b453e6566
2011-05-17 13:56:37 -04:00
Luke Howard
3a100237e6
fix link regression, use EVP_DigestFinal_ex
2011-05-16 23:36:02 +02:00
Luke Howard
5431c4bcd3
Set MN_mech if mechanism doesn't set it
2011-05-16 18:20:53 +02:00
Luke Howard
6abb251957
check correct status code in attr_authorize_localname
2011-05-15 15:52:40 +02:00
Luke Howard
f6ce64e1da
fix uninitialised variable check in attr_pname_to_uid()
2011-05-15 14:20:56 +02:00
Luke Howard
66cd3b451c
remove incorrect NULLity check for gm_pname_to_uid
2011-05-15 14:17:58 +02:00
Luke Howard
1f02feb3dc
fix off-by-one in GSS_C_ATTR_LOCAL_LOGIN_USER attribute
2011-05-15 14:17:43 +02:00
Luke Howard
23bf28b1b8
remove unused variable from gss_add_cred_with_password
2011-05-15 01:51:08 +02:00
Luke Howard
810523e6c4
remove extraneous whitespace
2011-05-14 23:12:33 +02:00
Luke Howard
80f06cfc19
cleanup
2011-05-14 23:10:25 +02:00
Luke Howard
9d0a97c022
fix pointer error
2011-05-14 18:01:47 +02:00
Luke Howard
88e3968a9e
implement gss_add_cred_with_password over gss_acquire_cred_ext
2011-05-14 17:57:09 +02:00
Luke Howard
33d1877c21
use gss_const_OID for gss_acquire_cred_ext
2011-05-14 17:16:49 +02:00
Luke Howard
cbebf13216
acquire_cred_with_password is a SPI symbol
2011-05-14 17:09:20 +02:00
Luke Howard
48719d5651
shim acquire_cred_with_password SPI into acquire_cred_ext
2011-05-14 17:00:55 +02:00
Luke Howard
dfba868910
Merge branch 'master' into lukeh/acquire-cred-ex-moonshot-integ
...
Conflicts:
lib/gssapi/Makefile.am
lib/gssapi/mech/gss_acquire_cred_with_password.c
lib/gssapi/test_context.c
lib/gssapi/version-script.map
2011-05-14 16:48:49 +02:00
Luke Howard
4a36c8dd7d
remove MN check in gss_authorize_localname because all names are MNs
2011-05-14 16:10:12 +02:00
Luke Howard
3069d80734
Merge branch 'master' into lukeh/acquire-cred-ex
2011-05-14 14:56:16 +02:00
Luke Howard
d1b553aae2
add some loopback detection in GSS dynamic loading
2011-05-13 02:27:01 +02:00
Luke Howard
6971125a79
add some loopback detection in GSS dynamic loading
2011-05-13 02:26:41 +02:00
Luke Howard
5dc4aeee49
Merge branch 'master' into lukeh/moonshot
...
Conflicts:
lib/gssapi/mech/gss_mech_switch.c
2011-05-13 00:19:01 +02:00
Luke Howard
b323601091
mechglue fixes
...
- support gssspi_set_cred_option
- pick up OID sets of names for dynamic mechs
2011-05-13 00:16:56 +02:00
Luke Howard
766b7a558c
Allow composite names in gss_import_name()
2011-05-12 14:02:15 +02:00
Luke Howard
3287820448
Allow NULL arguments to gss_{get_name_attribute,inquire_name}
2011-05-12 14:02:11 +02:00
Luke Howard
4933215778
Allow NULL arguments to gss_{get_name_attribute,inquire_name}
2011-05-12 14:01:40 +02:00
Luke Howard
4693ab98df
Allow composite names in gss_import_name()
2011-05-12 13:39:19 +02:00
Luke Howard
e128b0ca01
Merge branch 'master' into lukeh/moonshot
...
Conflicts:
lib/gssapi/krb5/external.c
lib/libedit/src/vi.c
2011-05-12 13:04:55 +02:00
Love Hornquist Astrand
f5f9014c90
Warning fixes from Christos Zoulas
...
- shadowed variables
- signed/unsigned confusion
- const lossage
- incomplete structure initializations
- unused code
2011-04-29 20:25:05 -07:00
Luke Howard
02cf28e20b
implement gss_acquire_cred_ex with password support
...
add missing SPIs to gss_mech_switch
s/acquire_cred_ex/acquire_cred_ext/g
2011-04-16 11:06:24 +02:00
Love Hornquist Astrand
d0502b2eb4
return error message from lower layer, only modify for Kerberos
2011-04-14 12:54:16 -07:00
Luke Howard
0d7bc0c549
remove user_ok from gss_authorize_localname
2011-04-09 13:41:51 +10:00
Luke Howard
d5277a8da1
slightly retentive cleanup of error codes
2011-04-09 13:06:36 +10:00
Luke Howard
bac9c34172
authorize_localname SPI now includes nametype
2011-04-09 11:34:19 +10:00
Luke Howard
6c6e483e00
gss_authorize_localname implementation
2011-04-08 10:58:57 +10:00
Luke Howard
093403a2a7
Merge branch 'master' into lukeh/moonshot
2011-04-03 18:08:23 +10:00
Luke Howard
1a6d126023
Use RFC 5587 const types for draft-josefsson-gss-capsulate APIs
2011-04-03 18:07:07 +10:00
Luke Howard
87e3a85985
gss_userok need not check for complete
2011-03-28 23:56:00 +11:00
Luke Howard
efd2d44a30
kill gss_map_name_to_any
2011-03-22 16:48:07 +11:00
Luke Howard
d116a78297
add missing exports
2011-03-21 23:53:17 +11:00
Luke Howard
907da38cd9
attribute-based implementation of gss_pname_to_uid
2011-03-21 11:54:52 +11:00
Luke Howard
e60a9956c4
cleanup pname_to_uid
2011-03-20 23:19:07 +11:00
Luke Howard
e78371829c
implement gss_userok/gss_pname_to_uid
2011-03-20 20:34:59 +11:00
Luke Howard
9455577b65
Merge branch 'master' of github.com:heimdal/heimdal
...
Conflicts:
lib/gssapi/gssapi/gssapi.h
lib/gssapi/gssapi_mech.h
lib/gssapi/mech/gss_mech_switch.c
2011-03-20 19:08:10 +11:00
Love Hornquist Astrand
217021914d
add more oids
2011-03-13 13:40:52 -07:00
Love Hornquist Astrand
c3905ff795
glue in some more functions
2011-03-12 19:29:00 -08:00
Love Hornquist Astrand
4248882381
drop gss_name_any since it removed from the draft
2011-03-12 12:49:42 -08:00
Love Hornquist Astrand
fbf5cff0ac
Patch from Luke Howard to allow dynamic gss_mo
2011-03-12 12:45:53 -08:00
Luke Howard
2b2ab30f53
Add naming extension SPIs
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2011-03-12 12:35:43 -08:00