summaryrefslogtreecommitdiff
path: root/src/providers/dp_auth_util.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-27Copy pam data from DBus messageSumit Bose1-41/+67
Instead of just using references to the pam data inside of the DBus message the data is copied. New the DBus message can be freed at any time and the pam data is part of the memory hierarchy. Additionally it is possible to overwrite the authentication tokens in the DBus message, because it is not used elsewhere.
2010-05-27Make data provider id_callback publicStephen Gallagher1-2/+2
2010-05-20Revert "Copy pam data from DBus message"Stephen Gallagher1-67/+41
This reverts commit 2faf73eef14d66aeb345ffa38d0f53670fa8a9a1.
2010-05-20Copy pam data from DBus messageSumit Bose1-41/+67
Instead of just using references to the pam data inside of the DBus message the data is copied. New the DBus message can be freed at any time and the pam data is part of the memory hierarchy. Additionally it is possible to overwrite the authentication tokens in the DBus message, because it is not used elsewhere.
2010-05-07Split pam_data utilities into a separate fileSumit Bose1-35/+0
2010-03-17Fix a series of memory leaks in the SBUSStephen Gallagher1-1/+5
2010-03-15Properly handle dbus send attempts on a closed connectionStephen Gallagher1-22/+1
dbus_connection_send_with_reply() will report success and return a NULL pending_reply when the connection is not open for communication. This patch creates a new wrapper around dbus_connection_send_with_reply() to properly detect this condition and report it as an error.
2010-02-22Remove unnecessary domain parameter from PAM requestsStephen Gallagher1-21/+1
If we're sending a message to the backend, we already know which domain the request is targeting. Carrying this information is not useful and confuses the interface.
2010-02-22Remove unnecessary "domain" parameter from DP registrationStephen Gallagher1-4/+3
This was a holdover from when the DP and the providers were unique processes. The NSS and PAM registrations do not need to send the domain, as it is not ambiguous which one they are talking to.
2010-02-19Remove unneeded items from struct pam_dataSumit Bose1-6/+0
2010-02-18Rename server/ directory to src/Stephen Gallagher1-0/+414
Also update BUILD.txt