summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* journald: Fix LMI_JournalLogRecord.PerceivedSeverityTomas Bzatek2014-05-151-1/+1
| | | | | The string conversion was not working at all, we were accessing already freed memory.
* account: Don't expose the LMI_Account.UserPassword valueTomas Bzatek2014-05-152-15/+43
| | | | | | | | | | | | | | | According to the Simple Identity Management Profile (DSP1034) document the LMI_Account.UserPassword property should not contain the password itself, no matter how encrypted it is. It should either contain an array of zero elements when password has been set or NULL when password is missing or not configured. Another change this commit brings is a more precise behaviour of LMI_Account.ModifyInstance() method. When the UserPassword property is array of zero elements, no change regarding password is made. This case was previously treated as a request for password removal. The DSP1034 profile doesn't specify such scenario, let's treat it the same way as the GetInstance() operation.
* account: Make LMI_MemberOfGroup.CreateInstance() more robustTomas Bzatek2014-05-151-4/+19
| | | | | | Return proper error when required properties are not set. https://fedorahosted.org/openlmi/ticket/270
* account: Mark TestAccountInvalidEtc tests as dangerousTomas Bzatek2014-05-151-0/+2
| | | | | | Really dislike these messages: cp: cannot remove ‘/etc/passwd’: Permission denied
* journald: Fix EOF reporting when not advancing next on ↵Tomas Bzatek2014-05-151-1/+3
| | | | | | | | | LMI_JournalMessageLog.GetRecord() Testing wrong return code when sd_journal_next() was not called as it was not needed. When step_next == FALSE the EOF flag must be never set since the journal EOF case is tested at the beginning of the function and we're not advancing next thus staying on a valid cursor.
* indmanager: Add a Debugging section in the README fileTomas Bzatek2014-05-151-0/+21
|
* spec: enable libuser on RHEL-6HEADmasterRadek Novacek2014-05-131-1/+0
|
* add make-rpm.shJan Synacek2014-05-131-0/+26
|
* account: use defaultdict instead of CounterRadek Novacek2014-05-131-2/+2
| | | | Counter is not present in python <= 2.6, so replace it with defaultdict.
* Hardware: spring cleanup & refactorPeter Schiffer2014-05-1263-331/+247
| | | | | | * use openlmi common library where possible * get rid of LMI_Hardware.h file * some other cosmetic changes
* logicalfile: fix configuration installationJan Synacek2014-05-121-1/+1
|
* logicalfile: install configurationJan Synacek2014-05-121-0/+2
|
* logicalfile: package default configurationJan Synacek2014-05-121-1/+5
|
* logicalfile: add configuration documentationJan Synacek2014-05-122-0/+22
|
* logicalfile: test providers' configurationJan Synacek2014-05-123-22/+188
|
* Software-dbus: implemented LMI_HostedSoftwareIdentityResourceProviderPeter Schiffer2014-05-091-3/+68
|
* spec: BR: glib2Radek Novacek2014-05-091-0/+1
|
* Software-dbus: embrace the new openlmi common libraryPeter Schiffer2014-05-0910-291/+217
|
* spec: explicitly enable devassistant when requestedRadek Novacek2014-05-091-0/+2
| | | | | Devassistant is by default disabled, it needs to be explicitly enabled when it should be used.
* spec: modularize spec fileRadek Novacek2014-05-092-19/+158
| | | | | | | Add support for easier enabling/disabling providers on different versions of hosting operating system. Also add support for RHEL-6.
* cmake: install mof for service-legacyRadek Novacek2014-05-092-1/+6
|
* cmake: use add_dependencies instead of DEPENDS argument of add_custom_targetRadek Novacek2014-05-091-7/+11
| | | | | Older cmake can't cope with target dependencies defined with the DEPENDS argument. Use add_dependencies which should be more compatible.
* devassistant: Fix template files file modeTomas Bzatek2014-05-071-0/+0
| | | | | To fix E: non-executable-script /usr/share/devassistant/files/crt/c/openlmi/src/cmpiLMI_{{PROJECT_NAME}}-cimprovagt 0644L /bin/sh
* devassistant: Add support for creating new scriptsTomas Bzatek2014-05-072-0/+143
| | | | | | | This snippet first clones the upstream openlmi-scripts repo and uses the make_new.py script to create new command. The generated structure is independent from the openlmi-scripts repo and only depends on openlmi-tools.
* Move generic code to lmi.test.utilAlois Mahdal2014-05-075-218/+224
|
* Software-dbus: implemented LMI_ResourceForSoftwareIdentityProviderPeter Schiffer2014-05-075-177/+1013
|
* Improve random_string util functionAlois Mahdal2014-05-073-7/+9
| | | | | | | | | When writing new test, I find myself constantly computing the size from desired strength and prefix length, whereas I mostly don't care about the final size at all (plus, one can usually see that from surrounding code). Providing strength simplifies use and the function code.
* logicalfile: fix unittest importJan Synacek2014-05-071-1/+1
|
* cmake: fixed build error caused by greedy sed editMichal Minar2014-05-061-2/+2
|
* spec: fix indmanager pathsJan Synacek2014-05-061-3/+6
|
* libopenlmi: re-version to 0.0.2Jan Synacek2014-05-061-11/+7
|
* indmanager: move to libsJan Synacek2014-05-069-4/+4
|
* libopenlmi: rename back to openlmicommon and get versioning rightJan Synacek2014-05-0613-23/+26
|
* libopenlmi: minor fixes and improvementsJan Synacek2014-05-0660-235/+272
|
* libopenlmi: reorganize and gatherJan Synacek2014-04-30135-735/+622
| | | | | | | Make naming consistent. Gather common functionality into one library and try to use it across all providers. Introduce libtool-style versioning for libraries.
* Service-legacy (non d-bus):Vitezslav Crhonek2014-04-293-14/+18
| | | | | | - Detect and handle unsupported methods - serviceutil.sh - fix 'is-enabled' method, call 'status' command with LANG=C because of parsing its output, fix indentation
* logicalfile: add sentinel to provider_config_defaultsJan Synacek2014-04-291-0/+1
|
* logicalfile: enhance testsJan Synacek2014-04-281-9/+24
| | | | | After creating a directory or symlink, check if the object created really is the directory or symlink.
* logicalfile: respect configuration when creating/removing directoriesJan Synacek2014-04-281-2/+13
|
* logicalfile: respect configuration when creating symlinksJan Synacek2014-04-281-1/+7
|
* logicalfile: provide default configurationJan Synacek2014-04-282-1/+18
|
* common: logging fixesJan Synacek2014-04-252-7/+9
| | | | | | Fix top level configuration defaults. Add warning when attempting to parse non-existent group or key from a key file. Correct loglevel comment in configuration.
* logicalfile: remove unused code and add a few checksJan Synacek2014-04-241-2/+4
|
* logicalfile: add support for symlink creationJan Synacek2014-04-245-3/+51
|
* moved openlmicommon library to common/ subfolderMichal Minar2014-04-236-20/+26
|
* Software-dbus: safer extracting of element name from SwIdentity InstanceIDPeter Schiffer2014-04-239-68/+70
|
* Software-dbus: implemented LMI_InstalledSoftwareIdentityProviderPeter Schiffer2014-04-186-55/+291
|
* Avoid endless import loop in lmi.test.unittest.Jan Safranek2014-04-182-28/+8
| | | | lmi.test.unittest is now defined directly in lmi/test/__init__.py
* Uninstall 'unicode-chars' package in test_enum_instance_names test.Jan Safranek2014-04-181-0/+1
| | | | | | The package is installed by TestSoftwareIdentityChecks.test_package_file_checks_unicode and can make the test fail.
* Don't use epoch for 'rpm -q' or '-e'.Jan Safranek2014-04-181-15/+25
| | | | Older rpm doesn't support it.