Commits on Source (53)
-
Mark Reynolds authored
Description: key.h has been deprecated in favor of keyhi.h https://pagure.io/389-ds-base/issue/50095 Reviewed by: mreynolds(one line commit rule)
-
Akshay Adhikari authored
Description: Added py3 support by explicitly changing strings to bytes. Fixed old legacy objects. https://pagure.io/389-ds-base/issue/49588 Reviewed by: mreynolds (Thanks!)
-
Ludwig Krispenz authored
There is code for an indexing subsystem, which looks like it was intended to provide special indexes for specific search filters (not vlv). But it is not used and not documented and unclear if it ever worked or will work. It only contains calls in search processing to check if something is defined and so only provides a bit of overhead in searches. We can remove this dead code. We can also remove the broker api for idl_xxx since it is not used anywhere else.
-
Anuj Borah authored
Description: Port state test suite issue: https://pagure.io/389-ds-base/issue/50082 Reviewed by: Mark Reynolds
-
Simon Pichugin authored
Description: Add plugin UI tabs with basic data editing, enable/disable and dynamic plugin switch. Fix loading. Fix small CSS issues. React. Add customCollapse element. Make customToolbar customizable. Rework data flow in the component. CLI. Put all the plugins to 'plugin' parser. Add wrappers for all main plugins. Clean up plugin args (remove get_dn, generic enable and disable) https://pagure.io/389-ds-base/issue/50041 Reviewed by: mreynolds, mhonek (Thanks!)
-
Thierry Bordaz authored
Bug Description: When running in FIPS mode, DS selects SSHA512 as password storage schema else it selects PBKDF2_SHA256. The problem is that in FIPS mode it selects PBKDF2_SHA256 that is currently not supported by NSS. So DS fails to hash password The scheme selection is done in the early phase of DS startup (slapd_bootstrap_config). To determine it is in FIPS mode, DS calls PK11_IsFIPS that requires that NSS has been initialized. The problem is that during slapd_bootstrap_config, NSS is not yet initialized and PK11_IsFIPS returns PR_FALSE even in FIPS mode Fix Description: The fix consists to check if NSS is initialized. If it is initialize, then rely on PK11_IsFIPS. If it is not initialized then retrieve the FIPS mode from the system, assuming that if system is in FIPS mode, then NSS will be in FIPS mode as well https://pagure.io/389-ds-base/issue/50099 Reviewed by: Mark Reynolds (thanks Mark !) Platforms tested: F27 Flag Day: no Doc impact: no
-
Thierry Bordaz authored
-
Anuj Borah authored
Bug Description: CI test - disk_monitoring Fix Description: Scripts are ported https://pagure.io/389-ds-base/issue/48064 Reviewed by: Simon Pichugin
-
Mark Reynolds authored
Description: Fix issues with deleting SASL mappings, loading the replicated suffix dropdown select lists, improve root dn password change validation, improved docs in dscreate template for suffixes, hide password values in console logging, remove ssca directory whenremoivnign the last instance, and issues with audit fail logging in UI. https://pagure.io/389-ds-base/issue/50056 Reviewed by: vashirov(Thanks!)
-
Anuj Borah authored
Bug Description:Fix CI test suite issues Fix Description: Ported test scrips https://pagure.io/389-ds-base/issue/49761 Reviewed by: Mark Reynolds and spichugi
-
Simon Pichugin authored
Description: We set DEBUG log level if self.verbose is true. So we should properly log the information through self.log.debug when it is necessary. https://pagure.io/389-ds-base/issue/49938 Reviewed by: mreynolds (Thanks!)
-
Viktor Ashirov authored
Bug Description: 1. Some tests were hanging after disk monitoring test suite was executed, because we didn't do a proper cleanup: log directories were still mounted after test has ended. 2. Deprecation warnings from re module. Fix Description: 1. Change scope of the fixture to 'module' instead of 'function'. Split setup fixture to have a separate fixture for log reset for each test. 2. Use raw strings for re functions' parameters. https://pagure.io/389-ds-base/issue/48064 Reviewed by: mreynolds and spichugi (Thanks!)
-
Mark Reynolds authored
Description: make -f rpm.mk dist-bz2 should always generate this directory from scratch: src/cockpit/389-console/cockpit_dist https://pagure.io/389-ds-base/issue/49999 Reviewed by: spichugi & mreynolds
-
Thierry Bordaz authored
Bug Description: At the beginning of an import, a flag is set to mark the target backend is busy. Then import tests if there are pending operations. If such operations exist the import can not proceed and fails. The problem is that in such case of pending operations, the import fails without resetting the busy flag. It let the backend busy (until next reboot) and prevent new import. Fix Description: It needs to reset the busy flag if there are pending operations https://pagure.io/389-ds-base/issue/50117 Reviewed by: Mark Reynolds, William Brown Platforms tested: F27 Flag Day: no Doc impact: no
-
Barbora Smejkalová authored
Description: Added function for getting available memory. Added test case to set nsslapd-cachememsize to custom value above 3805132804 bytes. Test is skipped if available memory is lower than we want to set. https://pagure.io/389-ds-base/issue/49618 Reviewed by: vashirov, spichugi (Thanks!)
-
William Brown authored
Bug Description: Docker for osx doesn't support ipv6, which means that in ipv4 only environments this test fails. We aren't trying to test ipv4/ipv6 here, only that NS handles load, so swapping to ipv4 is not a change to the test Fix Description: Change the PR_AF_INET6 to PR_AF_INET https://pagure.io/389-ds-base/issue/50128 Author: William Brown <william@blackhats.net.au> Review by: ???
-
Barbora Smejkalová authored
Issue 50091 - shadowWarning is not generated if passwordWarning is lower than 86400 seconds (1 day). Description: Added test case to check if shadowWarning attribute is generated when passwordWarning is set to lower value than 84600 seconds. https://pagure.io/389-ds-base/issue/50091 Reviewed by: vashirov, amsharma, spichugi, firstyear (Thank you!)
-
Anuj Borah authored
Port fourwaymmr Test TET suit to python3 https://pagure.io/389-ds-base/issue/50101 Reviewed by: Simon Pichugin
-
William Brown authored
Description: Selinux is not present on all systems. Trying to import python-selinux when it's not available fails, but we can not guarantee that the with_selinux flag to defaults is correct because some systems build with selinux but may not have it enabled. We should check if we can access the tools instead, and skip them (with warnings) if we can't make changes https://pagure.io/389-ds-base/issue/50122 Reviewed by: mreynolds
-
Matúš Honěk authored
Bug Description: fixup-memberof.pl tries with StartTLS even though LDAP was specified. Fix Description: Fix protocol assignment to $info, probably missed during a previous code porting. https://pagure.io/389-ds-base/issue/50134 Author: mhonek Review by: mreynolds, firstyear (thanks!)
-
Marc Muehlfeld authored
Description: Due to an incorrect path in a "mv" command in 389-ds-base.spec.in, building RPMs on RHEL8 failed https://pagure.io/389-ds-base/issue/50130 Reviewed by: vashirov & wibrown
-
William Brown authored
Bug Description: Sudo is assumed to be present and working in passwordless mode with basictest. Fix Description: We can not make this assumption, that sudo is installed (docker) or in passwordless mode. As a result for this test to work, we should run the suite as "sudo py.test" or "dirsrv". Potentially we may need to update defaults.inf for people who want to run the tests as their own user ID. https://pagure.io/389-ds-base/issue/50126 Author: William Brown <william@blackhats.net.au> Review by: ???
-
Ludwig Krispenz authored
Bug: For modrdn operations a cenotaph entry is created to be used in later conflict resolution procedures, this is done by an internal add operation and fails on hubs and consumers Fix: Add the "bypass referral" flag to the internal add operation to allow it Reviewed by: Thierry, thanks
-
Mark Reynolds authored
Description: dsctl db2ldif throws an exception because of a typo in a parameter name. https://pagure.io/389-ds-base/issue/50056 Reviewed by: mreynolds(one line commit rule)
-
Simon Pichugin authored
Bug description: RHDS 9 does not require a -q option to not log debugging messages. -q also suppresses the output that had been included before when doing an import. Fix description: Make -q option less verbose by removing error log messages and add -V option which enables Verbose DEBUG output. https://pagure.io/389-ds-base/issue/50145 Reviewed by: mreynolds (Thanks!)
-
William Brown authored
Bug Description: Due to human error, I missed a path spec in a change I made Fix Description: Fix the path https://pagure.io/389-ds-base/issue/50122 Author: William Brown <william@blackhats.net.au> Review by: ???
-
Matúš Honěk authored
Bug Description: When nsslapd-securePort is not set in dse.ldif, DSUtil (in case of LDAPS) interpolates ldapmodify (and other) call to a URI ending only with a colon because obtained securePort is just an empty string. The very same turns out to happen for the nsslapd-port. Fix Description: Hardcode the default ports, which is a short variant of omitting the colon and port, and which would be chosen by the OpenLDAP utils any way. https://pagure.io/389-ds-base/issue/50138 Author: mhonek Review by: mreynolds (thanks!)
-
Mark Reynolds authored
Description: Slightly rearrange the backend usage to move create/delete to main subcommands instead of being under suffix. https://pagure.io/389-ds-base/issue/49994 Reviewed by: spichugi & firstyear(Thanks!!)
-
William Brown authored
Description: Add a small number of files to gitignore
-
William Brown authored
Bug Description: This allows resetting passwords on the CLI for accounts, as well as allowing accounts to self-change their passwords. Fix Description: Add reset and change password functions, and fix a number of issues with non-DM bind in the server, regrissions in tls enable during tests. https://pagure.io/389-ds-base/issue/50136 Author: William Brown <william@blackhats.net.au> Review by: ???
-
Mark Reynolds authored
Description: Previously automember was only invoked for ADD operations. This enhancement allows it to work with modify operations, and it will also maintain the correct memberships. So if a modify changes which groups the user would belong to, it will add the user to the new group, and remove them from the old group. https://pagure.io/389-ds-base/issue/50077 Reviewed by: spichugi & firstyear (Thanks!!)
-
Mark Reynolds authored
Description: Making the top suffix entry should be optional, and not the fixed default behavior. Added a new option: create_suffix_entry True/False https://pagure.io/389-ds-base/issue/49984 Reviewed by: ?
-
William Brown authored
Description: with_tmpfiles_d does not operate unless it's part of a systemd install. This moves the configure check and operation to within the "with_systemd" code. https://pagure.io/389-ds-base/issue/50123 Reviewed by: vashirov (Thanks!)
-
Mark Reynolds authored
Bug Description: The errors & audit logs default to max number of logs to 1. This prevents the max log size rotation policy from working. This is documented in the docs, but the problem is that this can allow the server to fill up the FS on /var under certain conditions. Fix Description: Change the default max number of logs to "2". This is still a small value, and it allows the rotation policy to be effective. https://pagure.io/389-ds-base/issue/50153 Reviewed by: spichugi & firstyear (Thanks!!)
-
Marc Muehlfeld authored
Description: - Help for "suffix" was no longer correct - Help for "create" changed to "Create a backend database" - Changed descriptions to start with a capital letter for consistency https://pagure.io/389-ds-base/issue/50161 Reviewed by: mhonek, mreynolds
-
Thierry Bordaz authored
Bug Description: When several threads (RA) authenticates to the same host and at the same time There is a good chance they will share the same credential cache. If one authentication fails, the thread will clear the cache (krb5_cc_destroy) although others threads may still use it. Fix Description: The best approach is to drop using krb5 function and use gssapi. It is a quite intrusive change and a simplest temporary fix will serialize all krb5 calls. During initialization of the interaction structure (sasl), if using gssapi mechanism, the calls to krb5 functions are serialized with a lock. Then the lock is released for the authentication and cleanup. Cleanup needs to be serialized as well as it calls krb5_cc_destroy. The fix consist to acquire the lock over initialization/authentication/cleanup. So only one RA can authenticate at the same time. https://pagure.io/389-ds-base/issue/49972 Reviewed by: Robbie Harwood, William Brown (many thanks for your reviews !!) Platforms tested: F27 & F28 Flag Day: no Doc impact: no
-
Mark Reynolds authored
https://pagure.io/389-ds-base/issue/50077 Reviewed by: mreynolds(one line commit rule)
-
Mark Reynolds authored
https://pagure.io/389-ds-base/issue/49540 Reviewed by: mreynolds(one line commit rule)
-
Mark Reynolds authored
https://pagure.io/389-ds-base/issue/49574 Reviewed by: mreynolds(one line commit rule)
-
Mark Reynolds authored
Reviewed by: mreynolds(one line commit rule)
-
Simon Pichugin authored
Description: When HOME env var is not set, the call will fail with an exception. Instead of HOME we can use expanduser method. The expanduser will do the right thing and get home directory on all platforms from either env vars or password database. https://pagure.io/389-ds-base/issue/50152 Reviewed by: mreynolds, wibrown (Thanks!)
-
Mark Reynolds authored
Description: There were some recent regressions about selinux in dscreate. - When skipping labelling of default port an error message was incorrectly logged - restorecon was not using the correct path https://pagure.io/389-ds-base/issue/50165 Reviewed by: firstyear & mhonek (Thanks!!)
-
Mark Reynolds authored
Description: Currently the server is using "/usr/bin/systemctl", but this fails on Debian. There is no need for a path anyway so jsut strip it. https://pagure.io/389-ds-base/issue/50169 Reviewed by: mhonek(Thanks!)
-
German Parente authored
Bug Description: We should enforce that if an object is of type nsds5replica, it must be named cn=replica. This has caused some confusion where people have misconfigured their system by trying alternate names. Fix Description: Check that rdn of replica dn is exactly REPLICA_RDN https://pagure.io/389-ds-base/issue/50059 Author: German Parente <gparente@redhat.com> Review by: ???
-
Mark Reynolds authored
Description: Add a simple test in basic suite to make sure dscreate works, also moved setup/remove tests from lib389 and moved them inside dirsrvtests directory https://pagure.io/389-ds-base/issue/50164 Reviewed by: ?
-
William Brown authored
Bug Description: I missed updating the perl tools during the tmpfiles fix. Fix Description: Change the name in dscreate.pm https://pagure.io/389-ds-base/issue/50125 Author: William Brown <william@blackhats.net.au> Review by: vashirov (Thanks!)
-
German Parente authored
-
Simon Pichugin authored
Description: Add the main functionality to memberOf plugin tab. Increase the eslint max line length from 80 to 100. Rework plugin properties to be more compact. Eslint webpack config. Add react-bootstrap-typeahead for multivalued attributes. Fix the word 'successfully' typos. https://pagure.io/389-ds-base/issue/50041 Reviewed by: mreynolds, wibrown (Thanks!)
-
Mark Reynolds authored
-
Timo Aaltonen authored
Run offline upgrade only when upgrading from versions below 1.4.0.9, ns-slapd itself handles upgrades in newer versions.
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
This diff is collapsed.
File moved
File moved
dirsrvtests/tests/suites/stat/__init__.py
0 → 100644