[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-05-10 Thread pbrezina
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals pbrezina commented: """ Pushed PR: https://github.com/SSSD/sssd/pull/5450 * `master` * ec932d35172819ac68343355faaad4dc6ffae688 - KCM: Disable responder idle timeout with renewals * ddc

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-05-10 Thread pbrezina
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals pbrezina commented: """ Thank you. Ack. """ See the full comment at https://github.com/SSSD/sssd/pull/5450#issuecomment-836525263 ___ sssd-devel mail

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-05-07 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ > Thank you for your patience, last two nitpick in code and we can push. > > And perhaps different wording for the release notes (fill in the version): > > ```

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-05-07 Thread pbrezina
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals pbrezina commented: """ Thank you for your patience, last two nitpick in code and we can push. And perhaps different wording for the release notes (fill in the version): ``` :feature: Added

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-05-07 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ > And one more thing - add [release > notes](https://github.com/SSSD/sssd/blob/master/.git-commit-template#L7) and > upstream ticket to the commit messages, e.g

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-05-07 Thread pbrezina
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals pbrezina commented: """ > > And one more thing - add [release > > notes](https://github.com/SSSD/sssd/blob/master/.git-commit-template#L7) > > and upstream ticket to the commit messages, e.g. >

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-05-07 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ > And one more thing - add [release > notes](https://github.com/SSSD/sssd/blob/master/.git-commit-template#L7) and > upstream ticket to the commit messages, e.g

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-05-07 Thread pbrezina
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals pbrezina commented: """ And one more thing - add [release notes](https://github.com/SSSD/sssd/blob/master/.git-commit-template#L7) and upstream ticket to the commit messages, e.g. * https://gi

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-04-01 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ > In this case the hash table is completely redundant. I think we have two > options: > > 1. Keep the hash table. But in this case it would be better to mai

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-04-01 Thread pbrezina
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals pbrezina commented: """ > > Also what do we need the renew hash table for? I don't see where you take > > advantage of it? You always call `kcm_ccdb_renew_init` from > > `kcm_renew_tgt_timer_ha

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-31 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ > Also what do we need the renew hash table for? I don't see where you take > advantage of it? You always call `kcm_ccdb_renew_init` from > `kcm_renew_tgt_timer

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-31 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ > Also what do we need the renew hash table for? I don't see where you take > advantage of it? You always call `kcm_ccdb_renew_init` from > `kcm_renew_tgt_timer

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-31 Thread pbrezina
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals pbrezina commented: """ Sorry, it still does not work correctly. Right now you don't continue with next user if you did not find the current. You want: ```diff diff --git a/src/responder/kcm/kc

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-26 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ > Hi Justin, > I'm sorry it takes so long, but there are few more thinks. They are mostly > minor, but one makes kcm fail to start. > These issues are addressed

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-26 Thread pbrezina
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals pbrezina commented: """ > Thanks a lot Pavel for the further review, it is better to get everything > resolved now than having to fix issues later. > > > If the cache contains uid that is not r

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-25 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ Thanks a lot Pavel for the further review, it is better to get everything resolved now than having to fix issues later. > If the cache contains uid that is not

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-17 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ I pushed a new version addressing the latest review items from Pavel. The CI failure `Details` link shows no actual files, just an empty header. Is it expected?

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-16 Thread pbrezina
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals pbrezina commented: """ > > It's not sleeping, it still spins in tevent loop doing stuff which may have > > a negative impact on battery. > > That's exactly my question: what is it doing? IIUC,

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-15 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ > Ah, I missed the last patch: `KCM: Disable responder idle timeout with > renewals`. So it will work correclty. But I wonder if it would be better to > keep th

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-15 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ > Ah, I missed the last patch: `KCM: Disable responder idle timeout with > renewals`. So it will work correclty. But I wonder if it would be better to > keep th

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-15 Thread alexey-tikhonov
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals alexey-tikhonov commented: """ > It's not sleeping, it still spins in tevent loop doing stuff which may have a > negative impact on battery. That's exactly my question: what is it doing? IIUC,

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-15 Thread pbrezina
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals pbrezina commented: """ > > But I wonder if it would be better to keep the idle timeout enabled. > > What's wrong with keeping an idle process "running"? Sleeping process with > small memory fo

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-15 Thread alexey-tikhonov
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals alexey-tikhonov commented: """ > But I wonder if it would be better to keep the idle timeout enabled. What's wrong with keeping an idle process "running"? Sleeping process with small memory fo

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-15 Thread pbrezina
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals pbrezina commented: """ > There are few minor comments... but: > > If I understand it correctly, this functionality requires KCM to be running. > KCM is currently socket activated so I see two

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-05 Thread sumit-bose
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals sumit-bose commented: """ Hi, thanks for updating the patches so that the build works automatically on platforms without the new libkrb5 calls. The CI failures with rawhide and F34 are (unfort

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-03 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ It looks like most the CI failures are unrelated to this PR, @sumit-bose could you please confirm this? """ See the full comment at https://github.com/SSSD/sss

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-03-01 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ Disregard my previous comment, I added a custom pytest marker to skip the intg test if not built with renewal support """ See the full comment at https://githu

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-02-24 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ @sumit-bose How do I conditionally exclude the `test_kcm_renewals` integration test from `src/tests/intg/test_kcm.py` when kcm renewals are not being built? See

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-02-15 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ Changes made as requested. """ See the full comment at https://github.com/SSSD/sssd/pull/5450#issuecomment-779398475 ___

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-02-15 Thread sumit-bose
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals sumit-bose commented: """ Hi, @justin-stephenson, you can add `--disable-kcm-renewal` for platforms where the calls are not available in `contrib/ci/configure.sh` @pbrezina, can you update the

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-02-11 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ CI fails as expected with `configure: error: krb5 marshalling functions not available, --disable-kcm-renewal should be used` """ See the full comment at https:

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-02-11 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ Sorry for the delay. I updated the PR to * Use the exported krb5 marshalling credentials functions * Build KCM renewals code conditionally, if the krb5 marshal

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-01-29 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ Thank you, I'll work on it and update the PR. """ See the full comment at https://github.com/SSSD/sssd/pull/5450#issuecomment-769816677

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-01-29 Thread sumit-bose
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals sumit-bose commented: """ > > thanks for the effort. What would be your suggestion for the way forward? > > We can add a configure check if the new functions are already available. > > But if t

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-01-28 Thread frozencemetery
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals frozencemetery commented: """ > thanks for the effort. What would be your suggestion for the way forward? We > can add a configure check if the new functions are already available. But if > the

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-01-28 Thread sumit-bose
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals sumit-bose commented: """ > The krb5 PR has merged upstream. For convenience, I've backported the two > functions to Fedora rawhide starting in krb5-1.19-0.beta2.3.fc34. Hi Robbie, thanks for

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-01-28 Thread frozencemetery
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals frozencemetery commented: """ The krb5 PR has merged upstream. For convenience, I've backported the two functions to Fedora rawhide starting in krb5-1.19-0.beta2.3.fc34. """ See the full comme

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-01-19 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ I addressed several of the aforementioned issues, I'll make a second pass tomorrow. I could not find any instances of `Mid-function variable declaration` but ma

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-01-19 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ > I've started discussion upstream in krb5 about making public functions for > cred marshalling in krb5. This would allow SSSD to avoid reimplementing > several h

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-01-19 Thread frozencemetery
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals frozencemetery commented: """ Hi, you've written "fixed" below several things, but the code isn't change. Are you missing a push? """ See the full comment at https://github.com/SSSD/sssd/pull

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-01-14 Thread frozencemetery
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals frozencemetery commented: """ (krb5 discussion PR: https://github.com/krb5/krb5/pull/1153 ) """ See the full comment at https://github.com/SSSD/sssd/pull/5450#issuecomment-760546977 ___

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-01-14 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ This is ready for review, latest CI failures are unrelated. """ See the full comment at https://github.com/SSSD/sssd/pull/5450#issuecomment-760264220 __

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-01-14 Thread justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals justin-stephenson commented: """ Latest CI failures are unrelated. """ See the full comment at https://github.com/SSSD/sssd/pull/5450#issuecomment-760264220

[SSSD] [sssd PR#5450][comment] kcm: add support for kerberos tgt renewals

2021-01-08 Thread frozencemetery
URL: https://github.com/SSSD/sssd/pull/5450 Title: #5450: kcm: add support for kerberos tgt renewals frozencemetery commented: """ (I'll want to review this once it passes CI.) """ See the full comment at https://github.com/SSSD/sssd/pull/5450#issuecomment-756832041 ___