New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dsctl doesn't work with 'slapd-' in the instance name #3877
Comments
Comment from mreynolds (@mreynolds389) at 2020-01-16 17:42:22 Metadata Update from @mreynolds389:
|
Comment from vashirov (@vashirov) at 2020-01-16 17:43:40 Metadata Update from @vashirov:
|
Comment from vashirov (@vashirov) at 2020-01-16 17:49:36 Metadata Update from @vashirov:
|
Comment from firstyear (@Firstyear) at 2020-01-23 01:33:02 So doesn't this mean the instance in /etc is called "slapd-slapd-instance"? |
Comment from vashirov (@vashirov) at 2020-01-23 09:50:26 In the reproducer in the description it was called |
Comment from firstyear (@Firstyear) at 2020-01-24 00:23:43 Ahhh I missed that. Thanks for clarifying. |
Comment from mhonek (@kenoh) at 2020-01-30 13:53:03 Commit 52930da0 fixes this issue |
Comment from mhonek (@kenoh) at 2020-01-30 14:02:30 Metadata Update from @kenoh:
|
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/50823
Description of problem:
If the instance name contains 'slapd-' anywhere in the name, dsctl doesn't work with the instance.
Version-Release number of selected component (if applicable):
389-ds-base-1.4.2.4-4.module+el8.2.0+4930+d4051b3a.x86_64
How reproducible:
always
Steps to Reproduce:
Actual results:
[root@server-rhel8 ds]# dsctl --list
slapd-server-nsslapd-test
[root@server-rhel8 ds]# dsctl -v slapd-server-nsslapd-test status
DEBUG: The 389 Directory Server Administration Tool
DEBUG: Inspired by works of: ITS, The University of Adelaide
DEBUG: Called with: Namespace(func=<function instance_status at 0x7f6ef1096950>, instance='slapd-server-nsslapd-test', json=False, list=False, remove_all=False, verbose=True)
DEBUG: list instance not found in /etc/dirsrv/slapd-server-nstest/dse.ldif: server-nstest
ERROR: No such instance 'slapd-server-nsslapd-test'
ERROR: Unable to access instance information. Are you running as the correct user? (usually dirsrv or root)
Expected results:
dsctl should be able to control such instance.
Additional info:
The text was updated successfully, but these errors were encountered: