2754a8dcfa937d45b024a2e57419248bfd4c4919 |
|
21-Nov-2017 |
Pavel Březina <pbrezina@redhat.com> |
ipa: implement method to refresh HBAC rules
Related:
https://pagure.io/SSSD/sssd/issue/2840
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
7c1d1393537dec95e09b83b607ce9d0e8f49584c |
|
28-Aug-2017 |
Fabiano Fidêncio <fidencio@redhat.com> |
IPA_COMMON: Introduce ipa_get_host_attrs()
By adding this method it can reused in the future for new backend
modules.
Related:
https://pagure.io/SSSD/sssd/issue/2995
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
18d898d9cb30f298b3a35dc1c1bace95ef4e0b3b |
|
28-Aug-2017 |
Fabiano Fidêncio <fidencio@redhat.com> |
IPA_ACCESS: Make use of struct ipa_common_entries
Just by doing so ipa_save_hbac() can be completely removed.
Related:
https://pagure.io/SSSD/sssd/issue/2995
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
0f623456437c96f50330fe0ff21afd9638d14e57 |
|
28-Aug-2017 |
Fabiano Fidêncio <fidencio@redhat.com> |
IPA_RULES_COMMON: Introduce ipa_common_save_rules()
This method is kind of a replacement for ipa_save_hbac() one.
While ipa_save_hbac() wasn't removed, its porpuse has been totally
changed. Now it just prepare the ground and calls
ipa_common_save_rules() which is a more generic function that can be
reused for new backend modules.
In order to make the code cleaner a new structure has also been
introduced: struct ipa_common_entries; which contains the values that
will be used to save the entry and the entrygroup to sysdb.
Related:
https://pagure.io/SSSD/sssd/issue/2995
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
d2a0b4a6a220bf9a58c7306c3f673891efc419eb |
|
28-Aug-2017 |
Fabiano Fidêncio <fidencio@redhat.com> |
IPA_ACCESS: Make ipa_purge_hbac() more generic
This mothod can also be reused in the future for new backend modules.
In order to make it more generic, let's just move it to
ipa_rules_common.[ch], rename it to ipa_common_purge_rules() and make
the subtreename to be purged a new paramether of this method.
Related:
https://pagure.io/SSSD/sssd/issue/2995
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
e17e37cd0e2109e7f1bd4ae48edfc8cca85b3f93 |
|
28-Aug-2017 |
Fabiano Fidêncio <fidencio@redhat.com> |
IPA_ACCESS: Make hbac_get_cache_rules() more generic
This method can also be reused in the future for new backend modules.
In order to make it more generic, let's just move it to
ipa_rules_common.[ch], rename it to ipa_common_get_cached_rules() and
make the rule, subtree name and the attributes to be searched new
parameters of this method.
In order to not be declaring the enourmous list of attributes HBAC uses
when calling this method, a new hbac_get_attrs_to_get_cached_rules()
method has been introduced.
Related:
https://pagure.io/SSSD/sssd/issue/2995
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
9a18f78f38e274f4906af6ef8e1a82d844fde4cc |
|
28-Aug-2017 |
Fabiano Fidêncio <fidencio@redhat.com> |
IPA: Make ipa_hbac_sysdb_save() more generic
Although there's no change in the ipa_hbac_sysdb_save() itself, its name
has been changed to ipa_common_entries_and_groups_sysdb_save() and its
been split out from HBAC related files and moved to the newly created
ipa_rules_common.[ch] files, which will also be used in the future for
new backend modules.
ipa_rules_common.[ch] is not exactly the best name for those files, IMO,
but I really cannot come up with something better.
Related:
https://pagure.io/SSSD/sssd/issue/2995
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
8a26d32bc9b71e85a42b7832891100a7249f92aa |
|
28-Aug-2017 |
Fabiano Fidêncio <fidencio@redhat.com> |
IPA_ACCESS: Remove not used attribute
struct time_rules_ctx * is not used anywhere in in the access handler,
thus there's no need to store it.
Related:
https://pagure.io/SSSD/sssd/issue/2995
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
709989b80b5d6112fc6b62db762570330b9e2eea |
|
08-Jun-2017 |
Lukas Slebodnik <lslebodn@redhat.com> |
Remove unnecessary sys/param.h
They are mostly required for macros MAX/MIN which were not used
in these modules.
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com> |
dea636af4d1902a081ee891f1b19ee2f8729d759 |
|
20-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
DP: Switch to new interface
Reviewed-by: Sumit Bose <sbose@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
7c30eade4ae794ed809845f2ef70dda849b6e7c9 |
|
23-Mar-2016 |
Lukas Slebodnik <lslebodn@redhat.com> |
UTIL: Allow to append new line in sss_vdebug_fn
libldb is not consistent with appending line feed
in debug messages. AS a result of this two messages can be on the same line
in sssd log files. Which makes analyzing log files more difficult.
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
e0c86d21388bffe2e3919e780780c40d96186abb |
|
12-Mar-2016 |
Jakub Hrozek <jhrozek@redhat.com> |
libipa_hbac: Move the library to src/lib/ipa_hbac
Moving the library to the lib directory will force maintainers to think
twice about changes, because it would be obvious this is a library.
Also don't use includes from sssd source tree paths, but add the util
path to Makefile's CFLAGS so that other projects can copy the
hbac_evaluator.c file verbatim.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
d833f316243f4ccd52b9b53dbd6e91c784825479 |
|
23-Feb-2016 |
Lukas Slebodnik <lslebodn@redhat.com> |
IPA: log real hbac function
The string "hbac" wsa logged previously. Real hbac function
will be logged with this patch.
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
c426a8985a009e4506bef8dac76af4fa6fc2035c |
|
23-Feb-2016 |
Lukas Slebodnik <lslebodn@redhat.com> |
IPA: Use sss_vdebug_fn in hbac_debug_messages
This patch reduce unnecessary memory allocations for
log messages from libhbac.
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
2a44a8c6683cfea218ee5329bcfad953dfeb6746 |
|
23-Feb-2016 |
Lukas Slebodnik <lslebodn@redhat.com> |
UTIL: Use prefix for debug function
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
65ce66c43141f7e5c8482a8f8e7e217a23791588 |
|
01-Oct-2015 |
Petr Cech <pcech@redhat.com> |
HBAC: Better libhbac debugging
Added support for logging via external log function.
Log provides information about rules evaluating (HBAC_DBG_INFO level)
and additionally can describe rules (HBAC_DBG_TRACE level).
Resolves:
https://fedorahosted.org/sssd/ticket/2703
Reviewed-by: Pavel Reichl <preichl@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Reviewed-by: Michal Židek <mzidek@redhat.com> |
6dff95bdfe437afc0b62b5270d0d84140981c786 |
|
24-Mar-2015 |
Jakub Hrozek <jhrozek@redhat.com> |
IPA: Remove the ipa_hbac_treat_deny_as option
https://fedorahosted.org/sssd/ticket/2603
Since deny rules are no longer supported on the server, the client
should no longer support them either. Remove the option.
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
fdfe33975cd902bf7a334e49f2667f6346c4e6ae |
|
24-Mar-2015 |
Jakub Hrozek <jhrozek@redhat.com> |
IPA: Deprecate the ipa_hbac_treat_deny_as option
https://fedorahosted.org/sssd/ticket/2603
Deny rules have not been supported by the IPA server since 2.1. We
should deprecate the ipa_hbac_treat_deny_as option.
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
87f8bee53ee1b4ca87b602ff8536bc5fd5b5b595 |
|
17-Mar-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
Add missing new lines to debug messages
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
db18dda869bc6c52a41797b2066cf121cf10f49c |
|
22-Jul-2014 |
Pavel Reichl <preichl@redhat.com> |
UTIL: rename find_subdomain_by_name
The function was named "find_subdomain" yet it could find both main
domain and subdomain.
sed 's/find_subdomain_by_name/find_domain_by_name/' -i `find . -name "*.[ch]"`
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
83bf46f4066e3d5e838a32357c201de9bd6ecdfd |
|
12-Feb-2014 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
Update DEBUG* invocations to use new levels
Use a script to update DEBUG* macro invocations, which use literal
numbers for levels, to use bitmask macros instead:
grep -rl --include '*.[hc]' DEBUG . |
while read f; do
mv "$f"{,.orig}
perl -e 'use strict;
use File::Slurp;
my @map=qw"
SSSDBG_FATAL_FAILURE
SSSDBG_CRIT_FAILURE
SSSDBG_OP_FAILURE
SSSDBG_MINOR_FAILURE
SSSDBG_CONF_SETTINGS
SSSDBG_FUNC_DATA
SSSDBG_TRACE_FUNC
SSSDBG_TRACE_LIBS
SSSDBG_TRACE_INTERNAL
SSSDBG_TRACE_ALL
";
my $text=read_file(\*STDIN);
my $repl;
$text=~s/
^
(
.*
\b
(DEBUG|DEBUG_PAM_DATA|DEBUG_GR_MEM)
\s*
\(\s*
)(
[0-9]
)(
\s*,
)
(
\s*
)
(
.*
)
$
/
$repl = $1.$map[$3].$4.$5.$6,
length($repl) <= 80
? $repl
: $1.$map[$3].$4."\n".(" " x length($1)).$6
/xmge;
print $text;
' < "$f.orig" > "$f"
rm "$f.orig"
done
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com> |
a3c8390d19593b1e5277d95bfb4ab206d4785150 |
|
12-Feb-2014 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
Make DEBUG macro invocations variadic
Use a script to update DEBUG macro invocations to use it as a variadic
macro, supplying format string and its arguments directly, instead of
wrapping them in parens.
This script was used to update the code:
grep -rwl --include '*.[hc]' DEBUG . |
while read f; do
mv "$f"{,.orig}
perl -e \
'use strict;
use File::Slurp;
my $text=read_file(\*STDIN);
$text=~s#(\bDEBUG\s*\([^(]+)\((.*?)\)\s*\)\s*;#$1$2);#gs;
print $text;' < "$f.orig" > "$f"
rm "$f.orig"
done
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com> |
e2ac9be4f293b96f3c8992f1171e44bc1da5cfca |
|
15-Nov-2013 |
Michal Zidek <mzidek@redhat.com> |
SYSDB: Drop redundant sysdb_ctx parameter from sysdb.c |
d115f40c7a3999e3cbe705a2ff9cf0fd493f80fb |
|
15-Nov-2013 |
Michal Zidek <mzidek@redhat.com> |
SYSDB: Drop the sysdb_ctx parameter - module sysdb_ops (part 2) |
443eb8217741df57d9f58f2098487b91e3404e71 |
|
25-Oct-2013 |
Jakub Hrozek <jhrozek@redhat.com> |
LDAP: Amend sdap_access_check to allow any connection
Related:
https://fedorahosted.org/sssd/ticket/2082
Also move the check for subdomain to the handler. I think it is the job
of the handler to decide which domain the request belongs to, not the
request itself. |
caf576da562bf7bd30e74ad921c1212ec7d230bc |
|
13-Sep-2013 |
Ondrej Kos <okos@redhat.com> |
IPA: Deprecate ipa_hbac_support_srchost option
This option got already deprecated on the ipa server side.
Option is undocumented and warning is printed both to the sssd log files
and syslog.
Resolves:
https://fedorahosted.org/sssd/ticket/1918 |
ee02e59e4d966f44c7a48ad04474156fc65d7006 |
|
17-Jun-2013 |
Pavel Březina <pbrezina@redhat.com> |
handle ERR_ACCOUNT_EXPIRED properly
https://fedorahosted.org/sssd/ticket/1953 |
dcb44c39dda9699cdd6488fd116a51ced0687de3 |
|
07-Jun-2013 |
Jakub Hrozek <jhrozek@redhat.com> |
LDAP: sdap_id_ctx might contain several connections
With some LDAP server implementations, one server might provide
different "views" of the identites on different ports. One example is
the Active Directory Global catalog. The provider would contact
different view depending on which operation it is performing and against
which SSSD domain.
At the same time, these views run on the same server, which means the same
server options, enumeration, cleanup or Kerberos service should be used.
So instead of using several different failover ports or several
instances of sdap_id_ctx, this patch introduces a new "struct
sdap_id_conn_ctx" that contains the connection cache to the particular
view and an instance of "struct sdap_options" that contains the URI.
No functional changes are present in this patch, currently all providers
use a single connection. Multiple connections will be used later in the
upcoming patches. |
dfd71fc92db940b2892cc996911cec03d7b6c52b |
|
19-Mar-2013 |
Simo Sorce <simo@redhat.com> |
Convert sdap_access to new error codes
Also simplify sdap_access_send to avoid completely fake _send() routines. |
cbaba2f47da96c4191971bce86f03afb3f88864a |
|
21-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Add be_req_get_data() helper funciton.
In preparation for making struct be_req opaque. |
03abdaa21ecf562b714f204ca42379ff08626f75 |
|
21-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Add be_req_get_be_ctx() helper.
In preparation for making be_req opaque |
8e5549e453558d4bebdec333a93e215d5d6ffaec |
|
21-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Introduce be_req_terminate() helper
Call it everywhere instead of directly dereferencing be_req->fn
This is in preparation of making be_req opaque. |
ccc2af010bbbe6d8a7496fb717216135bc4c1993 |
|
21-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Remove domain from be_req structure |
249a28dbf31e11794c7f35d709c5561c1555898d |
|
21-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Pass domain not be_req to access check functions |
ffbd3f324558fe7e04d6007761391889800baa95 |
|
21-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Move hbac_ctx_is_offline() |
1f5965110f3f4e1a8d35cf1e308b156e912c8639 |
|
21-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Remove hbac_ctx_sdap_id_[ctx|op]() |
051491353666d0be95316dc62a1e7f280b4bad57 |
|
21-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Remove hbac_ctx_ev() |
f67c42ad2b6b23bda8232d3adb51ed75b9f30f38 |
|
21-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Remove hbac_ctx_be() |
28c0e7ebc857bf488bbc043c9574de6abc1efea7 |
|
21-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Remove sysdb argument from hbac_get_cached_rules() |
e0404de84c31d2387bb244d018a5cac8d01f8b19 |
|
21-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Remove sysdb arg from [ipa_]hbac_sysdb_save()
Also make ipa_hbac_save_list() static |
697160f588c509982e9b504ecb857cea7dd308a5 |
|
21-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Remove sysdb arg from ipa_hbac_service_info_send() |
d34961fdcf5a999d9debee3d1d8e255457798295 |
|
21-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Remove sysdb argument from ipa_host_info_send() |
770896b194b7b66b09c2a30545b4d091fd86b1f4 |
|
15-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Add domain argument to sysdb_search_custom()
Also changes sysdb_search_custom_by_name() |
9675bccabff4e79d224f64611ad9ff3e073b488e |
|
15-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Make sysdb_custom_subtree_dn() require a domain. |
94a66f84bd3c28fcabffeb84c682dccf89d89c2b |
|
19-Nov-2012 |
Sumit Bose <sbose@redhat.com> |
Do not save HBAC rules in subdomain subtree
Currently the sysdb context is pointed to the subdomain subtree
containing user the user to be checked at the beginning of a HBAC
request. As a result all HBAC rules and related data is save in the
subdomain tree as well. But since the HBAC rules of the configured
domain apply to all users it is sufficient to save them once in the
subtree of the configured domain.
Since most of the sysdb operations during a HBAC request are related to
the HBAC rules and related data this patch does not change the default
sysdb context but only create a special context to look up subdomain
users. |
95f5e7963a36b7b68859ce91ae4b232088bbaa09 |
|
24-Sep-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
SYSDB: Remove unnecessary domain parameter from several sysdb calls
The domain can be read from the sysdb object. Removing the domain string
makes the API more self-contained. |
21d485184df986e1a123f70c689517386e51a5ce |
|
23-Aug-2012 |
Michal Zidek <mzidek@redhat.com> |
Unify usage of sysdb transactions
Removing bad examples of usage of sysdb_transaction_start/commit/end
functions and making it more consistent (all files except of
src/db/sysdb_*.c). |
1390b5db218b0ecf0a806ab206bbda4d485658fb |
|
31-Jul-2012 |
Jan Zeleny <jzeleny@redhat.com> |
Modify hbac_get_cached_rules() so it can be used outside of HBAC code |
a71607420a44728e6aa237911da4221640a6a0e0 |
|
02-Jul-2012 |
Stephen Gallagher <sgallagh@redhat.com> |
IPA: Don't hang onto memory longer than necessary
This request and attached memory would be freed at the end of
access-check processing, but it's a waste to keep it around. |
55d21766613d11646da3e2e7df69ca02c03ee053 |
|
24-Apr-2012 |
Jan Zeleny <jzeleny@redhat.com> |
Detect subdomain request in IPA access provider |
a0f186208e39a88b9e18d875121c5032531e7705 |
|
24-Apr-2012 |
Jan Zeleny <jzeleny@redhat.com> |
Accept be_req instead if be_ctx in LDAP access provider |
158aff60c94aa72a925b766fb33c4117a959970b |
|
12-Mar-2012 |
Stephen Gallagher <sgallagh@redhat.com> |
IPA: Initialize hbac_ctx to NULL |
d10350e1854cd2156567f058f5a76041994e7f2b |
|
09-Mar-2012 |
Stephen Gallagher <sgallagh@redhat.com> |
IPA: Check nsAccountLock during PAM_ACCT_MGMT
https://fedorahosted.org/sssd/ticket/1227 |
fdab7bbf8933351f6254438c30ff361cd748b15a |
|
24-Feb-2012 |
Jan Zeleny <jzeleny@redhat.com> |
IPA hosts refactoring |
1a7d1977037864e52858058777af8ff8401547dd |
|
07-Feb-2012 |
Jan Cholasta <jcholast@redhat.com> |
IPA: Add host info handler |
ad07ed37b6b51ef134d4524edaf2259e19ac984f |
|
06-Feb-2012 |
Jan Zeleny <jzeleny@redhat.com> |
Separate the host-retrieval code from IPA HBAC to common IPA code |
71ad247500b417836a1a2edec257a4433a7c415f |
|
06-Feb-2012 |
Jan Zeleny <jzeleny@redhat.com> |
Implemented support for multiple search bases in HBAC rules and services |
c935271de3b99d35112e0faf854cbfa9dfaa104a |
|
14-Jan-2012 |
Jan Zeleny <jzeleny@redhat.com> |
Support multiple search bases in HBAC |
75a43c7f91fcb27dee75976cc7c094dd5fa589f6 |
|
16-Dec-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Export the function to convert ldb_result to sysdb_attrs
It will be reused later in the sudo responder |
6fb75e297bf7fc83e3db1f5ae8560624656ef319 |
|
29-Nov-2011 |
Jan Zeleny <jzeleny@redhat.com> |
Add ipa_hbac_support_srchost option to IPA provider
don't fetch all host groups if this option is false
https://fedorahosted.org/sssd/ticket/1078 |
ac3a1f3da772cf101101c31675c63dc3549b21b5 |
|
22-Nov-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Cleanup: Remove unused parameters |
ea40c46597f124f08802b6a6422394777d9bfb91 |
|
28-Sep-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
IPA access: hostname comparison should be case-insensitive |
e79d23932ef9d52cf4eb32ddec2d0a9b3af9a9eb |
|
15-Aug-2011 |
Jan Zeleny <jzeleny@redhat.com> |
sysdb refactoring: memory context deleted
This patch deletes memory context parameter in those places in sysdb
where it is not necessary. The code using modified functions has been
updated. Tests updated as well. |
8a1738f9379a1b8fb5c95c3df649e014ff5a1434 |
|
15-Aug-2011 |
Jan Zeleny <jzeleny@redhat.com> |
sysdb refactoring: deleted domain variables in sysdb API
The patch also updates code using modified functions. Tests have also
been adjusted. |
a0be5e4a1a3087e66546ab0f1db0e590ed652e34 |
|
29-Jul-2011 |
Stephen Gallagher <sgallagh@redhat.com> |
Fix memory leak in ipa_hbac_evaluate_rules
https://fedorahosted.org/sssd/ticket/933 |
98fc4cbc838615a88b9725a13ab7491e89cbac32 |
|
08-Jul-2011 |
Stephen Gallagher <sgallagh@redhat.com> |
Add ipa_hbac_treat_deny_as option
By default, we will treat the presence of any DENY rule as denying
all users. This option will allow the admin to explicitly ignore
DENY rules during a transitional period. |
1360b4f4d6e948023daeda8787f575e7f8117444 |
|
08-Jul-2011 |
Stephen Gallagher <sgallagh@redhat.com> |
Add ipa_hbac_refresh option
This option describes the time between refreshes of the HBAC rules
on the IPA server. |
32a5516cc2822cf6ad9950278e3c9701a9389bb4 |
|
08-Jul-2011 |
Stephen Gallagher <sgallagh@redhat.com> |
Add new HBAC lookup and evaluation routines |
90890b6f4ee75194db0e6dc9c99a8d21f34dd8be |
|
08-Jul-2011 |
Stephen Gallagher <sgallagh@redhat.com> |
Remove old HBAC implementation |
073e71701dc28e21aaa1750d8b456ac699b8dda8 |
|
28-Feb-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Use realm for basedn instead of IPA domain
https://fedorahosted.org/sssd/ticket/807 |
56789cfa13f85071f5fb37575fa1f1071f587efc |
|
19-Jan-2011 |
Sumit Bose <sbose@redhat.com> |
Add ipa_hbac_search_base config option |
29993ce4fbdf08f28077f4b6824c8b6b8d616cb8 |
|
17-Jan-2011 |
Sumit Bose <sbose@redhat.com> |
Add ldap_search_enumeration_timeout config option |
a530a96721d8106a6839b6b643b0abc5d7a7b9e0 |
|
17-Jan-2011 |
Sumit Bose <sbose@redhat.com> |
Add timeout parameter to sdap_get_generic_send() |
f88099bfd7acb3d17c4af8744e1dd9eb63eddf65 |
|
17-Dec-2010 |
Stephen Gallagher <sgallagh@redhat.com> |
Fix uninitialized value error in set_local_and_remote_host_info
https://fedorahosted.org/sssd/ticket/725 |
c0d9451e86d246496e456a0925730c60c946e1d9 |
|
17-Dec-2010 |
Stephen Gallagher <sgallagh@redhat.com> |
Fix unsafe return condition in ipa_access_handler
https://fedorahosted.org/sssd/ticket/718 |
583a018d792c7a28762ecfba74ef1adc48724f22 |
|
08-Dec-2010 |
Stephen Gallagher <sgallagh@redhat.com> |
Remove IPA_ACCESS_TIME define |
890db77ce114fa416838f363fe2b8627ff9087e0 |
|
08-Dec-2010 |
Sumit Bose <sbose@redhat.com> |
Remove check_access_time() from IPA access provider
It is planned to release IPA 2.0 without time range specifications in
the access control rules. To avoid confusion the evaluation is removed
from sssd, too. |
f778b38f8d8a04e0afcb8b704dc864bfe0ac2f3a |
|
19-Nov-2010 |
Sumit Bose <sbose@redhat.com> |
Use a more efficient host search filter |
0940074366b91dc4005a2b531a99231d1efdeadf |
|
15-Nov-2010 |
Stephen Gallagher <sgallagh@redhat.com> |
Sanitize sysdb search filters in the IPA provider |
18a45c63a7902251a0d0b92f78f78eb7d26a0046 |
|
22-Oct-2010 |
Sumit Bose <sbose@redhat.com> |
Download only enabled IPA HBAC rules |
a685a84bfd4071ccdcc99dd7393d97a7a8d30a1d |
|
23-Sep-2010 |
Sumit Bose <sbose@redhat.com> |
Save all data to sysdb in one transaction |
ff76f3e78451b78d8acad95121273ae385726393 |
|
23-Sep-2010 |
Sumit Bose <sbose@redhat.com> |
Handle host objects like other objects |
91e8aec6b798a86e84d882cf2f55e1d76b5dbb27 |
|
07-Sep-2010 |
Jan Zeleny <jzeleny@redhat.com> |
Cleaned some dead assignments
Two needless assignments were deleted, two were complemented
with code checking function results.
Ticket: #582 |
3e4a95a5aa1bed0a31f55232a1bcc179f2801f4a |
|
23-Jul-2010 |
eindenbom <eindenbom@gmail.com> |
Fix IPA access backend handling of obsolete and missing HBAC entries:
- Ticket #567: Fix removal of obsolete HBAC host, rules and service records from sysdb.
- Ticket #565: When no HBAC host record is found return PAM_PERM_DENIED instead of PAM_SYSTEM_ERROR. |
1598d6523bbb05028f3c8ab14f6a4e68ce698901 |
|
23-Jul-2010 |
Sumit Bose <sbose@redhat.com> |
Do not treat missing HBAC rules as an error |
056901f031d8df43ec4fc7e67bc43dd5d967de71 |
|
09-Jul-2010 |
eindenbom <eindenbom@gmail.com> |
Use new LDAP connection framework in IPA access backend. |
a904f31f3560d80513809cb1f7c9affdd9cf5412 |
|
02-Jun-2010 |
Sumit Bose <sbose@redhat.com> |
Unify sdap and sysdb data handling |
4c51ec32c11aadd6a3c7a43c2d12a612301aaea8 |
|
02-Jun-2010 |
Sumit Bose <sbose@redhat.com> |
Compare full service name |
07a093af8274f7b051184ec7be8f0807e05eb68e |
|
02-Jun-2010 |
Sumit Bose <sbose@redhat.com> |
Remove service groups
Because the memberOf attribute is now set for the service objects we do
not need to fetch the service groups separately anymore. |
c5b4479301dbf1ac9dd82b6b41e436ec28d08c82 |
|
02-Jun-2010 |
Sumit Bose <sbose@redhat.com> |
Use new schema for HBAC service checks |
1f77bdebb06d9d1e2d3ca5479904afa292f09658 |
|
02-Jun-2010 |
Sumit Bose <sbose@redhat.com> |
Use sysdb_attrs_get_string_array() instead of sysdb_attrs_get_el()
sysdb_attrs_get_el() creates an empty element in the sysdb_attrs
structure if the requested element does not exist. Recent versions of
libldb do not accept empty elements when writing new objects to disk.
sysdb_attrs_get_string_array() does not create an empty element but
returns ENOENT. |
a790a52db5bfe24679873d0083eb35236e616b83 |
|
27-May-2010 |
Sumit Bose <sbose@redhat.com> |
Check ipaEnabledFlag |
227dcb12f8cb8bc5f6968bc87d44e1a0bdb08c69 |
|
16-May-2010 |
Stephen Gallagher <sgallagh@redhat.com> |
Don't report a fatal error for an HBAC denial |
f40f1592cf53f37430cc50f4c1d696fd46c2f073 |
|
07-May-2010 |
Sumit Bose <sbose@redhat.com> |
Compare the full service name |
d293186e98a9bd68c8961980978485adae082788 |
|
03-May-2010 |
Sumit Bose <sbose@redhat.com> |
Fix a wrong return value in IPA HBAC |
270a0a1b6182ef1fbff2a93af6731788cf954874 |
|
03-May-2010 |
Simo Sorce <ssorce@redhat.com> |
Better handle sdap_handle memory from callers.
Always just mark the sdap_handle as not connected and let later _send()
functions to take care of freeing the handle before reconnecting.
Introduce restart functions to avoid calling _send() functions in _done()
functions error paths as this would have the same effect as directly freeing
the sdap_handle and cause access to freed memory in sdap_handle_release()
By freeing sdap_handle only in the connection _recv() function we
guarantee it can never be done within sdap_handle_release() but only
in a following event. |
e5e32021c23f3726d68ee756e8e3de48b3214063 |
|
12-Apr-2010 |
Simo Sorce <ssorce@redhat.com> |
sysdb: remove remaining traces of sysdb_handle |
d8d877a5fcde1defdd1a438df020e087339873a0 |
|
12-Apr-2010 |
Simo Sorce <ssorce@redhat.com> |
Remove remaining use of sysdb_transaction_send |
4c898e1bb31ccf2af4039a7c3c5fcd82fb5667ed |
|
12-Apr-2010 |
Simo Sorce <ssorce@redhat.com> |
sysdb: convert sysdb_asq_search |
a137f77b4ddff7f0651ffda710cec1f01618d7a9 |
|
12-Apr-2010 |
Simo Sorce <ssorce@redhat.com> |
sysdb: convert sysdb_store_custom |
9def019030f844e429c067c7cca27ff99c921527 |
|
12-Apr-2010 |
Simo Sorce <ssorce@redhat.com> |
sysdb: convert sysdb_search_custom |
1c733ece101ca43b84c59a8dc7953346312dbf64 |
|
12-Apr-2010 |
Simo Sorce <ssorce@redhat.com> |
sysdb: convert sysdb_search_user_by_name/uid |
0995e4cc173577122bea5a1d4698262fd0e9c200 |
|
12-Apr-2010 |
Simo Sorce <ssorce@redhat.com> |
sysdb: convert sysdb_search_entry and sysdb_delete_recursive |
beaaf02fe968b216d0633c92592a1fd9daad30ec |
|
25-Mar-2010 |
Sumit Bose <sbose@redhat.com> |
Fix LDAP search paths for IPA HBAC
- use domain_to_basedn() to construct LDAP search paths for IPA HBAC
- move domain_to_basedn() to a separate file to simplify the build of
a test |
1c48b5a62f73234ed26bb20f0ab345ab61cda0ab |
|
18-Feb-2010 |
Stephen Gallagher <sgallagh@redhat.com> |
Rename server/ directory to src/
Also update BUILD.txt |