-
Notifications
You must be signed in to change notification settings - Fork 85
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
After an upgrade the LDAP server won't start if nsslapd-conntablesize is present in the dse.ldif file #5956
Comments
jchapma
added a commit
to jchapma/389-ds-base
that referenced
this issue
Oct 17, 2023
…blesize Description: A commit, that increased the default connection table size included the deprecation of the attribute nsslapd-conntablesize. An attempt to set the value of this attribute issued a warning message and returned LDAP_OPERATIONS_ERROR. This causes an issue after an upgrade, the server fails to start if nsslapd-conntablesize is present in dse.ldif Fix: Return LDAP_SUCESS instead... Related: 389ds#5956 Reviewed by:
jchapma
added a commit
that referenced
this issue
Oct 18, 2023
…blesize (#5957) Description: A commit, that increased the default connection table size included the deprecation of the attribute nsslapd-conntablesize. An attempt to set the value of this attribute issued a warning message and returned LDAP_OPERATIONS_ERROR. This causes an issue after an upgrade, the server fails to start if nsslapd-conntablesize is present in dse.ldif Fix: Return LDAP_SUCESS instead... Related: #5956 Reviewed by: @Firstyear (Thank you)
jchapma
added a commit
that referenced
this issue
Oct 18, 2023
…blesize (#5957) Description: A commit, that increased the default connection table size included the deprecation of the attribute nsslapd-conntablesize. An attempt to set the value of this attribute issued a warning message and returned LDAP_OPERATIONS_ERROR. This causes an issue after an upgrade, the server fails to start if nsslapd-conntablesize is present in dse.ldif Fix: Return LDAP_SUCESS instead... Related: #5956 Reviewed by: @Firstyear (Thank you)
jchapma
added a commit
that referenced
this issue
Oct 18, 2023
…blesize (#5957) Description: A commit, that increased the default connection table size included the deprecation of the attribute nsslapd-conntablesize. An attempt to set the value of this attribute issued a warning message and returned LDAP_OPERATIONS_ERROR. This causes an issue after an upgrade, the server fails to start if nsslapd-conntablesize is present in dse.ldif Fix: Return LDAP_SUCESS instead... Related: #5956 Reviewed by: @Firstyear (Thank you)
jchapma
added a commit
that referenced
this issue
Oct 18, 2023
…blesize (#5957) Description: A commit, that increased the default connection table size included the deprecation of the attribute nsslapd-conntablesize. An attempt to set the value of this attribute issued a warning message and returned LDAP_OPERATIONS_ERROR. This causes an issue after an upgrade, the server fails to start if nsslapd-conntablesize is present in dse.ldif Fix: Return LDAP_SUCESS instead... Related: #5956 Reviewed by: @Firstyear (Thank you)
jchapma
added a commit
that referenced
this issue
Oct 18, 2023
…blesize (#5957) Description: A commit, that increased the default connection table size included the deprecation of the attribute nsslapd-conntablesize. An attempt to set the value of this attribute issued a warning message and returned LDAP_OPERATIONS_ERROR. This causes an issue after an upgrade, the server fails to start if nsslapd-conntablesize is present in dse.ldif Fix: Return LDAP_SUCESS instead... Related: #5956 Reviewed by: @Firstyear (Thank you)
jchapma
added a commit
to jchapma/389-ds-base
that referenced
this issue
Oct 18, 2023
…blesize Description: Add a test case for issue 5956 Related: 389ds#5956 Reviewed by:
jchapma
added a commit
that referenced
this issue
Oct 23, 2023
…a… …blesize (#5963) Description: A commit, that increased the default connection table size included the deprecation of the attribute nsslapd-conntablesize. An attempt to set the value of this attribute issued a warning message and returned LDAP_OPERATIONS_ERROR. This causes an issue after an upgrade, the server fails to start if nsslapd-conntablesize is present in dse.ldif Fix: Correct return value Related: #5956 Reviewed by: @tbordaz @droideck (Thank you)
jchapma
added a commit
that referenced
this issue
Oct 24, 2023
…a… …blesize (#5963) Description: A commit, that increased the default connection table size included the deprecation of the attribute nsslapd-conntablesize. An attempt to set the value of this attribute issued a warning message and returned LDAP_OPERATIONS_ERROR. This causes an issue after an upgrade, the server fails to start if nsslapd-conntablesize is present in dse.ldif Fix: Correct return value Related: #5956 Reviewed by: @tbordaz @droideck (Thank you)
jchapma
added a commit
that referenced
this issue
Oct 24, 2023
…a… …blesize (#5963) Description: A commit, that increased the default connection table size included the deprecation of the attribute nsslapd-conntablesize. An attempt to set the value of this attribute issued a warning message and returned LDAP_OPERATIONS_ERROR. This causes an issue after an upgrade, the server fails to start if nsslapd-conntablesize is present in dse.ldif Fix: Correct return value Related: #5956 Reviewed by: @tbordaz @droideck (Thank you)
jchapma
added a commit
that referenced
this issue
Oct 24, 2023
…a… …blesize (#5963) Description: A commit, that increased the default connection table size included the deprecation of the attribute nsslapd-conntablesize. An attempt to set the value of this attribute issued a warning message and returned LDAP_OPERATIONS_ERROR. This causes an issue after an upgrade, the server fails to start if nsslapd-conntablesize is present in dse.ldif Fix: Correct return value Related: #5956 Reviewed by: @tbordaz @droideck (Thank you)
jchapma
added a commit
that referenced
this issue
Oct 24, 2023
…a… …blesize (#5963) Description: A commit, that increased the default connection table size included the deprecation of the attribute nsslapd-conntablesize. An attempt to set the value of this attribute issued a warning message and returned LDAP_OPERATIONS_ERROR. This causes an issue after an upgrade, the server fails to start if nsslapd-conntablesize is present in dse.ldif Fix: Correct return value Related: #5956 Reviewed by: @tbordaz @droideck (Thank you)
@tbordaz Apologies, but I am only seeing this message now. I will chat with you during the week to see if its still relevant. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description
After an upgrade of the 389-ds packages, the server won't start and it complains about nsslapd-conntablesize being present in the dse.ldif file.
Package Version and Platform:
Steps to Reproduce
Steps to reproduce the behavior:
Make sure nsslapd-conntablesize is present in the dse.ldif
Upgrade the 389-ds packages ( here I'm using a system with IPA installed )
Attempts to restart the LDAP server will fail.
For instance:
ipactl start Starting Directory Service Failed to start Directory Service: CalledProcessError(Command ['/bin/systemctl', 'start', 'dirsrv@<INSTANCE>.service'] returned non-zero exit status 1)
LDAP errors log:
[17/Oct/2023:14:45:29.422170234 +0200] - ERR - dse_read_one_file - The entry cn=config in file /etc/dirsrv/slapd-<INSTANCE>/dse.ldif (lineno: 17) is invalid, error code 1 (Operations error) - User setting of nsslapd-conntablesize attribute is disabled, server has auto calculated its value to 0.
[17/Oct/2023:14:45:29.493095110 +0200] - ERR - init_dse_file - Could not load config file [dse.ldif]
[17/Oct/2023:14:45:29.494808167 +0200] - ERR - setup_internal_backends - Please edit the file to correct the reported problems and then restart the server.
After removing the nsslapd-conntablesize line, the server can be started.
Expected results
Working LDAP server.
Additional context
This can also be reproduced by editing directly the dse.ldif and adding the nsslapd-conntablesize parameter.
The text was updated successfully, but these errors were encountered: