summaryrefslogtreecommitdiffstats
path: root/src/account/LMI_IdentityProvider.c
Commit message (Collapse)AuthorAgeFilesLines
* libopenlmi: reorganize and gatherJan Synacek2014-04-301-4/+3
| | | | | | | Make naming consistent. Gather common functionality into one library and try to use it across all providers. Introduce libtool-style versioning for libraries.
* Updated copyright yearsPeter Schiffer2014-01-161-1/+1
| | | | Updated copyright years to include new year 2014.
* account: Use lckpwdf() to protect passwd filesTomas Bzatek2014-01-141-0/+10
| | | | | | | | | Glibc provides convenient lock functions to protect passwd and shadow files. This commit makes use of them for any write operation. Read access is still unprotected for the time being for performance reasons. https://fedorahosted.org/openlmi/ticket/205
* Add lmi_get_computer_system function and fix lmi_get_system_nameRadek Novacek2013-10-311-4/+4
| | | | | | | | | | | | | | PG_ComputerSystem has different method how to get hostname than our providers. In order to create the associations to this class we need to enumerate it. The downside is that all providers must supply CMPIContext to the lmi_init function. New function lmi_get_computer_system returns CMPIObjectPath to the configured CIM_ComputerSystem subclass instance. This object should be used in all references with ComputerSystem. Function lmi_get_system_name has been altered to return same value as ComputerSystem "Name" property.
* Call lmi_init function from providersRadek Novacek2013-09-191-0/+2
|
* Account: Fix memory leaksRoman Rakus2013-09-051-0/+6
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Account: Fix memory corruptionRoman Rakus2013-09-041-17/+24
| | | | | | | | | There was false assumption that lu_end doesn't free error messages. The code is restructured to copy error message to temporary string holder, which is freed after and error message is correctly returned, all in one place. Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Account: Use return CIM_RC_ERR_FAILED instead of exit(1)Roman Rakus2013-09-041-5/+5
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Account: Use asprintf instead of snprintfRoman Rakus2013-06-121-4/+4
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Account: Use KReturn2 instead of CMReturnWithCharsRoman Rakus2013-06-121-13/+8
| | | | | | KReturn2 now supports valist so we don't need to use temp variables Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Happy New Year! (better later than never)Jan Synacek2013-03-131-1/+1
|
* Relicence all sources from GPLv2+ to LGPLv2+0.0.15Radek Novacek2012-11-121-10/+13
|
* Account: Include license text in source filesRoman Rakus2012-10-261-0/+17
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* account: DeleteInstance of LMI_IdentityRoman Rakus2012-09-211-1/+68
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Rename prefix from Cura_ to LMI_Radek Novacek2012-08-281-0/+190