389ds / 389-ds-base

The enterprise-class Open Source LDAP server for Linux
https://www.port389.org/
Other
211 stars 93 forks source link

dse.ldif doesn't replicate update to nsslapd-sasl-mapping-fallback #692

Closed 389-ds-bot closed 4 years ago

389-ds-bot commented 4 years ago

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/47355


For IPA ticket https://fedorahosted.org/freeipa/ticket/3330 we are going to configure SASL LDAP mapping fallback.

The value is updated in LDAP but not in dse.ldif.

# service dirsrv@GREYOAK-COM stop
Redirecting to /bin/systemctl stop  dirsrv@GREYOAK-COM.service
# grep nsslapd-sasl-mapping-fallback /etc/dirsrv/slapd-GREYOAK-COM/dse.ldif
nsslapd-sasl-mapping-fallback: off
# service dirsrv@GREYOAK-COM start
Redirecting to /bin/systemctl start  dirsrv@GREYOAK-COM.service
# ldapsearch -LLL -x -s base -D 'cn=directory manager' -W -b cn=config nsslapd-sasl-mapping-fallback
Enter LDAP Password:
dn: cn=config
nsslapd-sasl-mapping-fallback: on
389-ds-bot commented 4 years ago

Comment from mreynolds (@mreynolds389) at 2013-05-07 22:21:07

what version of 389? I was not able to reproduce this behavior. Using ldapmodify correctly updates the dse.ldif and the cn=config entry. I can restart the server, and everything is still correctly set.

389-ds-bot commented 4 years ago

Comment from rcritten (@rcritten) at 2013-05-07 22:25:01

389-ds-base-1.3.1.0-1.fc19.x86_64

389-ds-bot commented 4 years ago

Comment from mreynolds (@mreynolds389) at 2013-05-08 00:41:07

I can reproduce some strange behavior with the current version.

389-ds-bot commented 4 years ago

Comment from mreynolds (@mreynolds389) at 2013-05-08 02:57:31

attachment 0001-Ticket-47355-dse.ldif-doesn-t-replicate-update-to-ns.patch

389-ds-bot commented 4 years ago

Comment from mreynolds (@mreynolds389) at 2013-05-08 03:25:38

git merge ticket47355 Updating 2473fcb..ba0d579 Fast-forward ldap/servers/slapd/libglobs.c | 17 +++++++++-------- ldap/servers/slapd/slap.h | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-)

git push origin master Counting objects: 13, done. Delta compression using up to 4 threads. Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7), 958 bytes, done. Total 7 (delta 5), reused 0 (delta 0) To ssh://git.fedorahosted.org/git/389/ds.git 2473fcb..ba0d579 master -> master

commit ba0d57922339a1f114db236da28112280f2ec9c1

389-ds-bot commented 4 years ago

Comment from rcritten (@rcritten) at 2017-02-11 22:53:27

Metadata Update from @rcritten: