Hi Guys, I'm trying to config and enable uniqueness attribute plugin:
~# dsconf RNP plugin attr-uniq add "uid-test" --attr-name uid Successfully created the cn=uid-test,cn=plugins,cn=config if I try to enable it: ~# dsconf RNP plugin attr-uniq enable uid-test Error: 'Namespace' object has no attribute 'plugin_cls' Researching on google seems to be a python3 argparse bug ( https://bugs.python.org/issue16308), but I'm not sure. My python version: Python 3.6.8 The workaround was use the "enable" option: ~# dsconf plugin attr-uniq add "uid-test" --enabled on --attr-name uid ~# dsconf RNP plugin attr-uniq show uid-test dn: cn=uid-test,cn=plugins,cn=config cn: uid-test nsslapd-plugin-depends-on-type: database nsslapd-pluginDescription: Enforce unique attribute values *nsslapd-pluginEnabled: on* nsslapd-pluginId: NSUniqueAttr nsslapd-pluginInitfunc: NSUniqueAttr_Init nsslapd-pluginPath: libattr-unique-plugin nsslapd-pluginType: betxnpreoperation nsslapd-pluginVendor: 389 Project nsslapd-pluginVersion: none objectClass: top objectClass: nsslapdplugin objectClass: extensibleObject uniqueness-attribute-name: uid But the problem seems to be in other dsconf functions too and is really annoying :/ Should I file a ticket? Thanks!!
_______________________________________________ 389-users mailing list -- 389-users@lists.fedoraproject.org To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org