Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | journald: Fix LMI_JournalLogRecord.PerceivedSeverity | Tomas Bzatek | 2014-05-15 | 1 | -1/+1 |
| | | | | | The string conversion was not working at all, we were accessing already freed memory. | ||||
* | account: Don't expose the LMI_Account.UserPassword value | Tomas Bzatek | 2014-05-15 | 2 | -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 robust | Tomas Bzatek | 2014-05-15 | 1 | -4/+19 |
| | | | | | | Return proper error when required properties are not set. https://fedorahosted.org/openlmi/ticket/270 | ||||
* | account: Mark TestAccountInvalidEtc tests as dangerous | Tomas Bzatek | 2014-05-15 | 1 | -0/+2 |
| | | | | | | Really dislike these messages: cp: cannot remove ‘/etc/passwd’: Permission denied | ||||
* | journald: Fix EOF reporting when not advancing next on ↵ | Tomas Bzatek | 2014-05-15 | 1 | -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 file | Tomas Bzatek | 2014-05-15 | 1 | -0/+21 |
| | |||||
* | spec: enable libuser on RHEL-6HEADmaster | Radek Novacek | 2014-05-13 | 1 | -1/+0 |
| | |||||
* | add make-rpm.sh | Jan Synacek | 2014-05-13 | 1 | -0/+26 |
| | |||||
* | account: use defaultdict instead of Counter | Radek Novacek | 2014-05-13 | 1 | -2/+2 |
| | | | | Counter is not present in python <= 2.6, so replace it with defaultdict. | ||||
* | Hardware: spring cleanup & refactor | Peter Schiffer | 2014-05-12 | 63 | -331/+247 |
| | | | | | | * use openlmi common library where possible * get rid of LMI_Hardware.h file * some other cosmetic changes | ||||
* | logicalfile: fix configuration installation | Jan Synacek | 2014-05-12 | 1 | -1/+1 |
| | |||||
* | logicalfile: install configuration | Jan Synacek | 2014-05-12 | 1 | -0/+2 |
| | |||||
* | logicalfile: package default configuration | Jan Synacek | 2014-05-12 | 1 | -1/+5 |
| | |||||
* | logicalfile: add configuration documentation | Jan Synacek | 2014-05-12 | 2 | -0/+22 |
| | |||||
* | logicalfile: test providers' configuration | Jan Synacek | 2014-05-12 | 3 | -22/+188 |
| | |||||
* | Software-dbus: implemented LMI_HostedSoftwareIdentityResourceProvider | Peter Schiffer | 2014-05-09 | 1 | -3/+68 |
| | |||||
* | spec: BR: glib2 | Radek Novacek | 2014-05-09 | 1 | -0/+1 |
| | |||||
* | Software-dbus: embrace the new openlmi common library | Peter Schiffer | 2014-05-09 | 10 | -291/+217 |
| | |||||
* | spec: explicitly enable devassistant when requested | Radek Novacek | 2014-05-09 | 1 | -0/+2 |
| | | | | | Devassistant is by default disabled, it needs to be explicitly enabled when it should be used. | ||||
* | spec: modularize spec file | Radek Novacek | 2014-05-09 | 2 | -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-legacy | Radek Novacek | 2014-05-09 | 2 | -1/+6 |
| | |||||
* | cmake: use add_dependencies instead of DEPENDS argument of add_custom_target | Radek Novacek | 2014-05-09 | 1 | -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 mode | Tomas Bzatek | 2014-05-07 | 1 | -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 scripts | Tomas Bzatek | 2014-05-07 | 2 | -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.util | Alois Mahdal | 2014-05-07 | 5 | -218/+224 |
| | |||||
* | Software-dbus: implemented LMI_ResourceForSoftwareIdentityProvider | Peter Schiffer | 2014-05-07 | 5 | -177/+1013 |
| | |||||
* | Improve random_string util function | Alois Mahdal | 2014-05-07 | 3 | -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 import | Jan Synacek | 2014-05-07 | 1 | -1/+1 |
| | |||||
* | cmake: fixed build error caused by greedy sed edit | Michal Minar | 2014-05-06 | 1 | -2/+2 |
| | |||||
* | spec: fix indmanager paths | Jan Synacek | 2014-05-06 | 1 | -3/+6 |
| | |||||
* | libopenlmi: re-version to 0.0.2 | Jan Synacek | 2014-05-06 | 1 | -11/+7 |
| | |||||
* | indmanager: move to libs | Jan Synacek | 2014-05-06 | 9 | -4/+4 |
| | |||||
* | libopenlmi: rename back to openlmicommon and get versioning right | Jan Synacek | 2014-05-06 | 13 | -23/+26 |
| | |||||
* | libopenlmi: minor fixes and improvements | Jan Synacek | 2014-05-06 | 60 | -235/+272 |
| | |||||
* | libopenlmi: reorganize and gather | Jan Synacek | 2014-04-30 | 135 | -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 Crhonek | 2014-04-29 | 3 | -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_defaults | Jan Synacek | 2014-04-29 | 1 | -0/+1 |
| | |||||
* | logicalfile: enhance tests | Jan Synacek | 2014-04-28 | 1 | -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 directories | Jan Synacek | 2014-04-28 | 1 | -2/+13 |
| | |||||
* | logicalfile: respect configuration when creating symlinks | Jan Synacek | 2014-04-28 | 1 | -1/+7 |
| | |||||
* | logicalfile: provide default configuration | Jan Synacek | 2014-04-28 | 2 | -1/+18 |
| | |||||
* | common: logging fixes | Jan Synacek | 2014-04-25 | 2 | -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 checks | Jan Synacek | 2014-04-24 | 1 | -2/+4 |
| | |||||
* | logicalfile: add support for symlink creation | Jan Synacek | 2014-04-24 | 5 | -3/+51 |
| | |||||
* | moved openlmicommon library to common/ subfolder | Michal Minar | 2014-04-23 | 6 | -20/+26 |
| | |||||
* | Software-dbus: safer extracting of element name from SwIdentity InstanceID | Peter Schiffer | 2014-04-23 | 9 | -68/+70 |
| | |||||
* | Software-dbus: implemented LMI_InstalledSoftwareIdentityProvider | Peter Schiffer | 2014-04-18 | 6 | -55/+291 |
| | |||||
* | Avoid endless import loop in lmi.test.unittest. | Jan Safranek | 2014-04-18 | 2 | -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 Safranek | 2014-04-18 | 1 | -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 Safranek | 2014-04-18 | 1 | -15/+25 |
| | | | | Older rpm doesn't support it. |