summaryrefslogtreecommitdiffstats
path: root/src/providers/dp_auth_util.c
Commit message (Collapse)AuthorAgeFilesLines
* Copy pam data from DBus messageSumit Bose2010-05-271-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.
* Make data provider id_callback publicStephen Gallagher2010-05-271-2/+2
|
* Revert "Copy pam data from DBus message"Stephen Gallagher2010-05-201-67/+41
| | | | This reverts commit 2faf73eef14d66aeb345ffa38d0f53670fa8a9a1.
* Copy pam data from DBus messageSumit Bose2010-05-201-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.
* Split pam_data utilities into a separate fileSumit Bose2010-05-071-35/+0
|
* Fix a series of memory leaks in the SBUSStephen Gallagher2010-03-171-1/+5
|
* Properly handle dbus send attempts on a closed connectionStephen Gallagher2010-03-151-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.
* Remove unnecessary domain parameter from PAM requestsStephen Gallagher2010-02-221-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.
* Remove unnecessary "domain" parameter from DP registrationStephen Gallagher2010-02-221-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.
* Remove unneeded items from struct pam_dataSumit Bose2010-02-191-6/+0
|
* Rename server/ directory to src/Stephen Gallagher2010-02-181-0/+414
Also update BUILD.txt