[SSSD] NSS: disable midpoint refresh for netgroups if ptask refresh is enabled

Pavel Reichl preichl at redhat.com
Wed Feb 26 17:35:14 UTC 2014


Hello, 

please see attached patches.

patch #1 - disable midpoint refresh for netgroups if ptask refresh is
enabled

The rest of patches solves some minor problems that occurred while I
was working on 1st patch:

patch #2 - fixes sysdb_getnetgr to return ENOENT as is as is expected in
code
patch #3 - first check return value then access output parameter
patch #4 - some minor code style improvements, some lines over 80
columns, IMO strange indentation of string constants - feel free to
NACK.

Bye,

Pavel Reichl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-NSS-disable-midpoint-refresh-for-netgroups.patch
Type: text/x-patch
Size: 3041 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20140226/1ca26909/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-SYSDB-sysdb_getnetgr-returns-ENOENT.patch
Type: text/x-patch
Size: 1408 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20140226/1ca26909/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-NSS-sysdb_getnetgr-check-return-value-first.patch
Type: text/x-patch
Size: 2314 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20140226/1ca26909/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-NSS-Some-minor-code-style-improvements.patch
Type: text/x-patch
Size: 7987 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20140226/1ca26909/attachment-0003.bin>


More information about the sssd-devel mailing list