49dd8ee2834d9477418961dbaffa4a03cfa9fd1e |
|
29-Jan-2018 |
René Genz <liebundartig@freenet.de> |
Fix minor spelling mistakes in tests/*
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
b34ffbf33729c557c3d1aebf4707ad0ffe4f1904 |
|
22-Sep-2016 |
Petr Čech <pcech@redhat.com> |
KRB5: Fixing FQ name of user in krb5_setup()
This patch fixes creation of FQ username if krb5_map_user option
ise used.
Resolves:
https://fedorahosted.org/sssd/ticket/3188
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
2892ddd30663dbc94d15c94a5549fa74260072ce |
|
07-Jul-2016 |
Jakub Hrozek <jhrozek@redhat.com> |
KRB5: Use shortname when expanding the user template in Kerberos ccache
Creating the username part of the ccache file is an output operation, it
makes sense to use sss_output_name() there which parses the name out of
the internal qualified name.
Reviewed-by: Sumit Bose <sbose@redhat.com> |
20a2be57d764f58c4a6532310331e26a3273ada8 |
|
11-Nov-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
TESTS: Check return value of check_leaks_pop
Reviewed-by: Petr Cech <pcech@redhat.com> |
50c9d542e8bf641412debaa82a4dcf67ddb72258 |
|
18-Sep-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
tests: Use unique name for TEST_PATH
We had a cases in patch where two tests were using the same TEST_PATH
and therefore they were stepping each other to the same files
which caused failures. These failures are not easy to reproduce.
This patch uses macro BASE_FILE_STEM for unique name. It should prevent
copy&paste problem resulting to intermittent failures.
@see also
https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
6c676de3f7e8dee3655343c2975995f73ec1ef04 |
|
10-Aug-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
krb5_utils-tests: Remove unused variables
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
7bb9ba8688ec1ca930d693eea05e936bc38f6d1b |
|
05-Aug-2015 |
Sumit Bose <sbose@redhat.com> |
krb5 utils: add sss_krb5_realm_has_proxy()
Reviewed-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
aa8a8318aaa3270e9d9957d0c22dec6342360a37 |
|
28-May-2015 |
Pavel Reichl <preichl@redhat.com> |
krb5: new option krb5_map_user
New option `krb5_map_user` providing mapping of ID provider names to
Kerberos principals.
Resolves:
https://fedorahosted.org/sssd/ticket/2509
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
7c5cd2e7711621af9163a41393e88896a91ac33b |
|
18-Nov-2014 |
Jakub Hrozek <jhrozek@redhat.com> |
KRB5: Move checking for illegal RE to krb5_utils.c
Otherwise we would have to link krb5_child with pcre and transfer the
regex, which would be cumbersome. Check for illegal patterns when
expanding the template instead.
Related:
https://fedorahosted.org/sssd/ticket/2370
Reviewed-by: Sumit Bose <sbose@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
45aeb924ec3ac448bb8d174a5cc061ed98b147c7 |
|
18-Nov-2014 |
Jakub Hrozek <jhrozek@redhat.com> |
KRB5: Move ccache-related functions to krb5_ccache.c
Add a new module krb5_ccache.c that contains all ccache-related
operations. The only user of this module shall be krb5_child.c as the
other modules will run unprivileged and accessing the ccache requires
either privileges of root or the ccache owner.
Related:
https://fedorahosted.org/sssd/ticket/2370
Reviewed-by: Sumit Bose <sbose@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
324749fecd3443cdbd2af68d85f6663e3bbd787c |
|
16-Sep-2014 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
TESTS: Free compiled regexes in krb5_utils-tests
Free compiled regular expressions after use in krb5_utils-tests.
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
6b57784f0f175275fd900eca21c77415e3a5ea52 |
|
09-Jul-2014 |
Jakub Hrozek <jhrozek@redhat.com> |
TOOLS: Always debug to stderr
https://fedorahosted.org/sssd/ticket/2348
Programs that are supposed to only be executed on the foreground should
log to stderr automatically.
Reviewed-by: Michal Židek <mzidek@redhat.com> |
761777fcd7554fa6cb10493e5e490a2263946121 |
|
09-Jan-2014 |
Jakub Hrozek <jhrozek@redhat.com> |
tests: Remove tests that check creating public directories
The functionality was removed, but we forgot to remove the corresponding
tests, mostly because these tests were only ever ran as root. |
5b5bc56b98b8b0ba713b21b58421037fc157ca84 |
|
07-Oct-2013 |
Jakub Hrozek <jhrozek@redhat.com> |
krb5: Fix unit tests |
1c022b3556f442f57326c4a3f250128b1bd232ae |
|
09-Sep-2013 |
Simo Sorce <simo@redhat.com> |
krb5: Unify function to create ccache files
Only 2 types (FILE and DIR) need to precreate files or directories
on the file system, and the 2 functions were basically identical.
Consolidate all in one common function and use that function directly
where needed instead of using indirection.
Resolves:
https://fedorahosted.org/sssd/ticket/2061 |
35da30eb7f97968aabcbd34d4e198e44470ad3dd |
|
09-Sep-2013 |
Simo Sorce <simo@redhat.com> |
krb5: Ingnore unknown expansion sequences
Recently support was added to use also libkrb5 style expansions that
uses a %{varname} type of template.
There are a number of templates we do not care/can't expand in sssd.
The current code misses tests and failed to properly preserve some of
the templates we do not want to handle.
Addiotionally in order to be future proof this patch treats unknown
templates as pass-through templates and defer any error checking to
libkrb5, so that sssd is consistent with how kinit would behave.
Resolves:
https://fedorahosted.org/sssd/ticket/2076 |
3ae2e9971ad97227f644e59ad838419092f0902a |
|
05-Sep-2013 |
Pavel Březina <pbrezina@redhat.com> |
krb5_utils tests: fix some typos |
8340ca480e0fe823441633720d67efc9e4a4bc64 |
|
22-Aug-2013 |
Stephen Gallagher <sgallagh@redhat.com> |
KRB5: Add new #define for collection cache types
Kerberos now supports multiple types of collection caches, not just
DIR: caches. We should add a macro for generic collection behavior
and use that where appropriate. |
53b58615fbc13eddcd6e2f28066b67cb5f16b6d3 |
|
02-Apr-2013 |
Lukas Slebodnik <lslebodn@redhat.com> |
Reusing create_pam_data() on the other places.
Function create_pam_data() should be only one way how to create new
struct pam_data, because it also initialize destructor to created
object. |
ac821fee0289abce3d3afc2878e06341c33ff6b9 |
|
13-Mar-2013 |
Pavel Březina <pbrezina@redhat.com> |
krb5-utils-tests: remove invalid condition
This condition is invalid because different_realm is not set, when
EINVAL is returned. It can make the test fail sometimes. |
ba098f8670c680c805531dd2714f32bd2c108860 |
|
19-Nov-2012 |
Sumit Bose <sbose@redhat.com> |
Fix compare_principal_realm() check
In case of a short UPN compare_principal_realm() erroneously returns an
error. |
9e2c64c6d4f5560e27207193efea6536a566865e |
|
29-Oct-2012 |
Michal Zidek <mzidek@redhat.com> |
Include talloc log in our debug facility
https://fedorahosted.org/sssd/ticket/1495 |
964628ab89229e9266adc5f4f8a26222734788b7 |
|
26-Oct-2012 |
Sumit Bose <sbose@redhat.com> |
Use find_or_guess_upn() where needed |
83f24636ef8d3d2b9c5be46272781ed5e0497ca7 |
|
26-Oct-2012 |
Sumit Bose <sbose@redhat.com> |
krb5_auth: check if principal belongs to a different realm
Add a flag if the principal used for authentication does not belong
to our realm. This can be used to act differently for users from other
realms. |
d7abad9b7a25ad82c5290ce6abecfd2f0e6da03b |
|
09-Jul-2012 |
Stephen Gallagher <sgallagh@redhat.com> |
Fix incorrect return value in tests
Coverity #12798 |
6ca87e797982061576885f944e2ccfaba9573897 |
|
15-Jun-2012 |
Stephen Gallagher <sgallagh@redhat.com> |
KRB5: Auto-detect DIR cache support in configure
We can't support the DIR cache features in systems with kerberos
libraries older than 1.10. Make sure we don't build it on those
systems. |
9a3ba9ca00e73adc3fb17ce8afa532076768023b |
|
14-Jun-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
Add support for storing credential caches in the DIR: back end
https://fedorahosted.org/sssd/ticket/974 |
fd8595874aa06c8057740001ec465ba76b4af142 |
|
14-Jun-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
Add a credential cache back end structure
To be able to add support for new credential cache types easily, this
patch creates a new structure sss_krb5_cc_be that defines common
operations with a credential cache, such as create, check if used or remove. |
85ecf49fdacd910f804caab1be7bf68d23702dc9 |
|
21-Dec-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Honor case sensitive flag when creating the ccname template |
4a6a5421113ab662a665c62ed6a24b61a5a36950 |
|
28-Sep-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Multiline macro cleanup
This is mostly a cosmetic patch.
The purpose of wrapping a multi-line macro in a do { } while(0) is to
make the macro usable as a regular statement, not a compound statement.
When the while(0) is terminated with a semicolon, the do { } while(0);
block becomes a compound statement again. |
89caf5edcc99f5731e89bd51e6ffaad3ec11c304 |
|
25-Aug-2011 |
Pavel Březina <pbrezina@redhat.com> |
New DEBUG facility - SSSDBG_UNRESOLVED changed from -1 to 0
Removed:
SSS_UNRESOLVED_DEBUG_LEVEL (completely replaced with SSSDBG_UNRESOLVED)
Added new macro:
CONVERT_AND_SET_DEBUG_LEVEL(new_value)
Changes unresolved debug level value (SSSDBG_UNRESOLVED) from -1 to 0
so DEBUG macro could be reduced by one condition. Anyway, it has a minor
effect, every time you want to load debug_level from command line parameters,
you have to use following pattern:
/* Set debug level to invalid value so we can deside if -d 0 was used. */
debug_level = SSSDBG_INVALID;
pc = poptGetContext(argv[0], argc, argv, long_options, 0);
while((opt = poptGetNextOpt(pc)) != -1) { ... }
CONVERT_AND_SET_DEBUG_LEVEL(debug_level); |
99dd40a885ed3d42af4bbbde7ee2fc98830544d0 |
|
25-Aug-2011 |
Pavel Březina <pbrezina@redhat.com> |
New DEBUG facility - conversion
https://fedorahosted.org/sssd/ticket/925
Conversion of the old debug_level format to the new one.
(only where it was necessary)
Removed:
SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT) |
daa53f46d3ddcba0cbe2d23251c250794e576cf1 |
|
13-Oct-2010 |
Sumit Bose <sbose@redhat.com> |
Use POPT_TABLEEND to close option table |
564d213ea3f0957a3337cd0f1d63e766e16ce6d8 |
|
16-Jun-2010 |
Stephen Gallagher <sgallagh@redhat.com> |
Standardize on correct spelling of "principal" for krb5
https://fedorahosted.org/sssd/ticket/542 |
29752834fbf3a19e4e117668abfce4e4c7c48ee4 |
|
11-Mar-2010 |
Sumit Bose <sbose@redhat.com> |
Add expandable sequences to krb5_ccachedir
As with krb5_ccname_template sequences like %u can be used in the
krb5_ccachedir parameter which are expanded at runtime. If the directory
does not exist, it will be created. Depending on the used sequences it
is created as a public or private directory. |
9fb59763bce293c2490e0b9f8e97bb1f74ba0910 |
|
04-Mar-2010 |
Stephen Gallagher <sgallagh@redhat.com> |
Add --with-test-dir option to configure
All 'make check' tests will chdir() into this directory before
running the suite. This provides the option of having temporary
files generated in a tmpfs or ramdisk |
953e07b7c43bc9bb7c7616180b1ba1730e22c59a |
|
19-Feb-2010 |
Sumit Bose <sbose@redhat.com> |
Remove unneeded items from struct pam_data |
1c48b5a62f73234ed26bb20f0ab345ab61cda0ab |
|
18-Feb-2010 |
Stephen Gallagher <sgallagh@redhat.com> |
Rename server/ directory to src/
Also update BUILD.txt |