diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-03-04 10:36:19 -0500 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-03-04 10:42:05 -0500 |
commit | 7753f647639fe1cbf14fc1ef268f3fbaa85a2248 (patch) | |
tree | 936fbbe3d74e864111b37d6002b46e2397bcc568 /server/providers | |
parent | 3257f91e0f39601f36057bec2e0e6c8b5e061cc8 (diff) | |
download | sssd-7753f647639fe1cbf14fc1ef268f3fbaa85a2248.tar.gz sssd-7753f647639fe1cbf14fc1ef268f3fbaa85a2248.tar.bz2 sssd-7753f647639fe1cbf14fc1ef268f3fbaa85a2248.zip |
Simplify some aspects of pam_LOCAL_domain
Use only one context (the local request) for all functions.
Use new helper function in sysdb to set numbers as sysdb_attrs values.
Do not use pam_status to report internal errors, use an error variable
and check it only when we finally reply.
Use sysdb_error_to_errno() to convert and ldb error to errno.
Do not free every single buffer allocated, they are all appended to the
local request and will be automatically freed once the request is finished.
Diffstat (limited to 'server/providers')
0 files changed, 0 insertions, 0 deletions