[SSSD] [sssd PR#694][comment] SSSCTL: user-show says that user is expired

2018-11-22 Thread jhrozek
  URL: https://github.com/SSSD/sssd/pull/694
Title: #694: SSSCTL: user-show says that user is expired

jhrozek commented:
"""
* master: 291071cb3c04eda7606d62bbff123a0a125c7d60
"""

See the full comment at 
https://github.com/SSSD/sssd/pull/694#issuecomment-441124198
___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org


[SSSD] [sssd PR#694][comment] SSSCTL: user-show says that user is expired

2018-11-22 Thread pbrezina
  URL: https://github.com/SSSD/sssd/pull/694
Title: #694: SSSCTL: user-show says that user is expired

pbrezina commented:
"""
Thank you. Ack.
"""

See the full comment at 
https://github.com/SSSD/sssd/pull/694#issuecomment-441055972
___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org


[SSSD] [sssd PR#694][comment] SSSCTL: user-show says that user is expired

2018-11-22 Thread thalman
  URL: https://github.com/SSSD/sssd/pull/694
Title: #694: SSSCTL: user-show says that user is expired

thalman commented:
"""
Thanks for comments. PR updated.
"""

See the full comment at 
https://github.com/SSSD/sssd/pull/694#issuecomment-441025815
___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org


[SSSD] [sssd PR#694][comment] SSSCTL: user-show says that user is expired

2018-11-21 Thread sumit-bose
  URL: https://github.com/SSSD/sssd/pull/694
Title: #694: SSSCTL: user-show says that user is expired

sumit-bose commented:
"""
> I think you can simplify the condition to:
> 
> ```
> +if (strcasecmp(dom->provider, "files") == 0) {

jfyi, there is is_files_provider() as well.

> +*_value = "Never";
> +return EOK;
> +}
> ```


"""

See the full comment at 
https://github.com/SSSD/sssd/pull/694#issuecomment-440680104
___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org


[SSSD] [sssd PR#694][comment] SSSCTL: user-show says that user is expired

2018-11-21 Thread pbrezina
  URL: https://github.com/SSSD/sssd/pull/694
Title: #694: SSSCTL: user-show says that user is expired

pbrezina commented:
"""
I think you can simplify the condition to:
```
+if (strcasecmp(dom->provider, "files") == 0) {
+*_value = "Never";
+return EOK;
+}
```
"""

See the full comment at 
https://github.com/SSSD/sssd/pull/694#issuecomment-440641917
___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org


[SSSD] [sssd PR#694][comment] SSSCTL: user-show says that user is expired

2018-11-16 Thread thalman
  URL: https://github.com/SSSD/sssd/pull/694
Title: #694: SSSCTL: user-show says that user is expired

thalman commented:
"""
Updated.
"""

See the full comment at 
https://github.com/SSSD/sssd/pull/694#issuecomment-439407410
___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org


[SSSD] [sssd PR#694][comment] SSSCTL: user-show says that user is expired

2018-11-15 Thread pbrezina
  URL: https://github.com/SSSD/sssd/pull/694
Title: #694: SSSCTL: user-show says that user is expired

pbrezina commented:
"""
This works well but there is one corner case that will print "Expired" instead 
of "Never". If you will run `sss_cache -U` to invalidate all users (or 
`sss_cache -u` to invalidate single user from files domain) it will set data 
expiration time to 1 which will get past your check.

We do not have anything like "never expire" for ldap objects (expiration time < 
current time means that the object is expired and needs to be updated, this 
apply for expiration time = 0 as well). This is special case for files provider 
therefore I'd rather check `sss_domain_info->provider == "files"` instead of 
the expiration time itself.
"""

See the full comment at 
https://github.com/SSSD/sssd/pull/694#issuecomment-439030260
___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org