Asanka C. Herath
03694f3505
Trim trailing slashes of plug-in paths
2010-11-24 15:32:11 -05:00
Asanka C. Herath
f159cef78a
Rename get_entry() -> _krb5_config_get_entry()
2010-11-24 15:32:11 -05:00
Asanka C. Herath
88252f6967
Windows: Include debug symbols in assembly
2010-11-24 15:32:10 -05:00
Asanka C. Herath
8aa7a84b7a
Windows: Build installers
2010-11-24 15:32:09 -05:00
Asanka C. Herath
d247242f63
Windows: Registry based configuration
...
Load configuration data in the registry into a krb5_config_section.
Each registry key corresponds to a krb5_config_section and each
registry value becomes a bound string value.
The set of values contained in the root Heimdal registry key is
treated as if they were defined in the [libdefaults] section.
E.g. the configuration file:
[libdefaults]
foo = bar
[Foo]
x = y
y = {
baz = quux
}
is equivalent to the registry keys:
[HKEY_CURRENT_USER\Software\Heimdal]
"foo"="bar"
[HKEY_CURRENT_USER\Software\Heimdal\Foo]
"x"="y"
[HKEY_CURRENT_USER\Software\Heimdal\Foo\y]
"baz"="quux"
2010-11-24 15:32:08 -05:00
Asanka C. Herath
392f9541f1
Override existing plug-ins by default when loading cache plug-ins
2010-11-24 15:32:08 -05:00
Asanka C. Herath
8f7a1311e1
Windows: Construct search string from directory name
...
The implementation of opendir() in lib/roken/dirent.c takes as input a
directory name. For the contents of the specified directory to be
enumerated correctly, this directory name must be converted to a
wildcard.
2010-11-24 15:32:07 -05:00
Asanka C. Herath
6abe08a0a3
Validate plug-in names before loading
...
On Windows, we only want to load .dll files are plug-ins, even though
there might be other support files present in the plug-in directory.
2010-11-24 15:32:06 -05:00
Asanka C. Herath
7fea5ff69a
Use expanded path names when loading plug-ins
2010-11-24 15:32:05 -05:00
Love Hornquist Astrand
2d169563f1
no longer install kauth, it have been a symlink to kinit for a very long time
2010-11-24 10:10:14 -08:00
Simon Wilkinson
5b91f58f35
hcrypto: Remove getarg.h include from validate.c
...
None of the functions prototyped in getarg.h are used by validate.c,
so simplify out-of-tree builds by removing the header from the file.
2010-11-24 10:55:27 +00:00
Simon Wilkinson
9fc90e01b5
roken: Remove multiple prototype for hstrerror
...
hsterror had two prototypes, one with the Windows magic, and one
without. Remove the one without so Windows can build again.
2010-11-24 10:32:55 +00:00
Jeffrey Altman
f317b91b1b
roken: Prototype getopt
...
Add a prototype for getopt to the roken.h header, and fix the function
definition in getopt.c to be ANSI, rather than K&Rs style.
2010-11-24 09:43:04 +00:00
Asanka C. Herath
0cc7b890e2
Windows: Build getopt.c in roken
2010-11-23 02:25:34 -05:00
Asanka C. Herath
e266044cc4
Declarations for getopt externs
2010-11-23 02:25:24 -05:00
Asanka C. Herath
904d779d06
Windows: Support building roken as a DLL
2010-11-23 02:25:17 -05:00
Asanka C. Herath
1f2dc24b5d
Annotate exported variables in getopt.c
2010-11-23 02:24:43 -05:00
Asanka C. Herath
0ee4597aed
Always include <config.h> in roken implementation
...
Remove unnecessary ifdefs and add <config.h> to dlfcn_w32.c. This is
required for correct export declarations when building roken as a DLL.
2010-11-23 02:24:38 -05:00
Simon Wilkinson
bbd724dad0
roken: getopt should include roken.h
...
In order to correctly rename the function, getopt.c needs to include
roken.h
2010-11-22 23:33:46 +00:00
Jeffrey Altman
bd78baf668
Windows: Include winsock2.h before ws2tcpip.h
...
Before we can include ws2tcpip.h, we must have already included
winsock2.h. The latest SDK does this by including winsock2 within
the ws2tcpip header, but the older SDKs do not, and fail to build.
2010-11-22 23:09:07 +00:00
Love Hornquist Astrand
c79f78874b
document -i
2010-11-22 13:23:04 -08:00
Love Hornquist Astrand
9ee7dd24d9
support kswitch -i, interactive mode
2010-11-22 13:19:27 -08:00
Love Hornquist Astrand
34c3c2ab40
add Credential cache server - KCM
2010-11-22 12:13:59 -08:00
Love Hornquist Astrand
2514d45803
add basekey
2010-11-22 10:57:01 -08:00
Love Hornquist Astrand
2202e9b126
no info target heim_ntlm_calculate_lm2
2010-11-22 10:56:43 -08:00
Love Hornquist Astrand
46f10ca9c6
remove -template dependencies
2010-11-21 13:00:20 -08:00
Love Hornquist Astrand
b1cfe43834
use right variable
2010-11-21 12:53:28 -08:00
Love Hornquist Astrand
39f669b42e
include <string.h>
2010-11-21 12:30:53 -08:00
Love Hornquist Astrand
663548b9e5
remove libauth since either is krb4 only, or non longer existing operating systems
2010-11-20 14:56:11 -08:00
Love Hornquist Astrand
6920fbbef1
remove krb5 support
2010-11-20 14:39:20 -08:00
Love Hornquist Astrand
fae3d127a2
remove krb4 support
2010-11-20 14:38:21 -08:00
Love Hornquist Astrand
aa750c33d1
remove unused variables
2010-11-20 14:13:58 -08:00
Love Hornquist Astrand
65a1ee8163
dont use private prototype
2010-11-20 14:13:31 -08:00
Love Hornquist Astrand
cc42e85e7f
Remove deprecated krb4 kdc components
2010-11-20 14:11:35 -08:00
Love Hornquist Astrand
8f2e0a7010
export internal functions so we dont need private headers
2010-11-20 14:05:54 -08:00
Love Hornquist Astrand
6ce02c45a3
use --one-code-file
2010-11-20 13:52:28 -08:00
Love Hornquist Astrand
09c0c65d6f
remove v4 support for hprop
2010-11-20 13:26:40 -08:00
Love Hornquist Astrand
37fcf33d7c
document hdb_entry_ex
2010-11-18 23:40:09 -08:00
Love Hornquist Astrand
c71d2bf0d3
spelling, From Kaiting Chen <kaitocracy@gmail.com>
2010-11-18 23:25:18 -08:00
Andrew Bartlett
387b0fa7ba
Add more required functions to base/version-script.map
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-11-11 20:43:20 -08:00
Andrew Bartlett
79bf21032a
Add new external function krb5_kdc_pkinit_config()
...
This starts up the pkinit configuration and sets some default values,
and is needed in a seperate function so Samba4 can call it from it's
own KDC wrapper.
Andrew Bartlett
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-11-11 20:42:51 -08:00
Andrew Bartlett
712c6209f2
Fix base/version-script.map to match syntax of other version-script.map files
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-11-11 20:42:04 -08:00
Love Hornquist Astrand
f6f4517eda
first drop of version-script.map
2010-11-10 09:03:52 +01:00
Andrew Tridgell
157d60a0eb
heimdal: fixed a shadowed variable warning for error_message
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org >
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-11-08 22:27:32 -08:00
Love Hornquist Astrand
c54b80f00c
wrap heim_array_filter() in __BLOCKS__
2010-11-08 22:20:59 -08:00
Love Hornquist Astrand
457c2d6d2c
use md4 to verify md4
2010-11-08 14:39:26 -08:00
Andrew Bartlett
2e34d7cf6e
heimdal: fixed the use of error_message() in heimdal
...
the lex code in heimdal had a function error_message() which is
confusingly the ame as a core function from the com_err library. This
replaces it with lex_error_message(), and allows Samba4 to have a
stricter check for duplicate symbols between it's components.
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org >
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-11-08 13:43:25 -08:00
Love Hornquist Astrand
2e31740f62
always check for error token in case of a failure
2010-11-08 13:40:01 -08:00
Andrew Bartlett
526aeef0c7
heimdal Add clock-skew handling to DCE-style GSSAPI
...
The clock skew handling was previously only on properly wrapped
GSSAPI, and was skipped for DCE-style. This allows the ASN.1 errors
from the krb5_rd_req to suggest parsing as a kerberos error packet.
Andrew Bartlett
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-11-08 13:36:52 -08:00
Love Hornquist Astrand
f178458310
use krb5_data_ct_cmp
2010-11-06 20:53:04 +01:00