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!!
On 12/16/19 10:13 AM, Alberto Viana wrote:
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?
Please! These are definitely bugs in our code. Keep in mind these tools are very new and some things got missed (obviously). We'll fix them all ASAP - just keep filing tickets.
Thanks for your patience!
Thanks!!
389-users mailing list -- 389-users@lists.fedoraproject.org To unsubscribe send an email to 389-users-leave@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....
Hi Mark,
No problems at all, the idea is to contribute to the project.
Thanks!!
Alberto Viana
On Mon, Dec 16, 2019 at 12:19 PM Mark Reynolds mreynolds@redhat.com wrote:
On 12/16/19 10:13 AM, Alberto Viana wrote:
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?
Please! These are definitely bugs in our code. Keep in mind these tools are very new and some things got missed (obviously). We'll fix them all ASAP - just keep filing tickets.
Thanks for your patience!
Thanks!!
389-users mailing list -- 389-users@lists.fedoraproject.org To unsubscribe send an email to 389-users-leave@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....
--
389 Directory Server Development Team
On 17 Dec 2019, at 06:17, Alberto Viana albertocrj@gmail.com wrote:
Hi Mark,
No problems at all, the idea is to contribute to the project.
We're happy to have you here to help and contribute. Welcome!
Appreciate the bug report :)
Thanks!!
Alberto Viana
On Mon, Dec 16, 2019 at 12:19 PM Mark Reynolds mreynolds@redhat.com wrote:
On 12/16/19 10:13 AM, Alberto Viana wrote:
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?
Please! These are definitely bugs in our code. Keep in mind these tools are very new and some things got missed (obviously). We'll fix them all ASAP - just keep filing tickets.
Thanks for your patience!
Thanks!!
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@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....
--
389 Directory Server Development Team
389-users mailing list -- 389-users@lists.fedoraproject.org To unsubscribe send an email to 389-users-leave@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....
— Sincerely,
William Brown
Senior Software Engineer, 389 Directory Server SUSE Labs
389-users@lists.fedoraproject.org