As a follow-up, I figured out a workaround for the following error that
I reported earlier:
adding new entry "ou=auto.master,dc=example,dc=org"ldap_add: Invalid
syntax (21) additional info: objectClass: value #1 invalid per
syntax
Original steps:
1) Install /etc/ldap/slapd.conf (which includes the "caseExactIA5Match"
fixed version of the autofs schema)
2) Start slapd
3) Attempts to enter an automountMap entry causes an invalid syntax
error
Workaround:
1) Install /etc/ldap/slapd.conf (which includes the "caseExactIA5Match"
fixed version of the autofs schema)
2) start slapd
3) stop and restart slapd again
4) Attempts to enter automountMap entry now succeed
Why this is necessary I can't say but the behavior is consistent. This
extra restart was not necessary for versions of slapd+autofs that
shipped with 18.04 and previous Ubuntu versions.
Also I'm going to further show my ignorance here and say that I found
"caseExactMatch" in several other schema files too. I'm wondering why
other users haven't run into something similar?
# find /etc/ldap/schema/ -type f -exec grep -q caseExactMatch {} \;
-print/etc/ldap/schema/corba.schema/etc/ldap/schema/duaconf.ldif/etc/ld
ap/schema/core.schema <-- commented
out/etc/ldap/schema/duaconf.schema/etc/ldap/schema/java.schema/etc/ldap
/schema/core.ldif <-- commented
out/etc/ldap/schema/java.ldif/etc/ldap/schema/autofs.schema
Thank you again for your help on this.
As a follow-up, I figured out a workaround for the following error that
I reported earlier:
adding new entry "ou=auto. master, dc=example, dc=org" ldap_add: Invalid
syntax (21) additional info: objectClass: value #1 invalid per
syntax
Original steps: slapd.conf (which includes the "caseExactIA5Match"
1) Install /etc/ldap/
fixed version of the autofs schema)
2) Start slapd
3) Attempts to enter an automountMap entry causes an invalid syntax
error
Workaround: slapd.conf (which includes the "caseExactIA5Match"
1) Install /etc/ldap/
fixed version of the autofs schema)
2) start slapd
3) stop and restart slapd again
4) Attempts to enter automountMap entry now succeed
Why this is necessary I can't say but the behavior is consistent. This
extra restart was not necessary for versions of slapd+autofs that
shipped with 18.04 and previous Ubuntu versions.
Also I'm going to further show my ignorance here and say that I found etc/ldap/ schema/ corba.schema/ etc/ldap/ schema/ duaconf. ldif/etc/ ld core.schema <-- commented ldap/schema/ duaconf. schema/ etc/ldap/ schema/ java.schema/ etc/ldap ldap/schema/ java.ldif/ etc/ldap/ schema/ autofs. schema
"caseExactMatch" in several other schema files too. I'm wondering why
other users haven't run into something similar?
# find /etc/ldap/schema/ -type f -exec grep -q caseExactMatch {} \;
-print/
ap/schema/
out/etc/
/schema/core.ldif <-- commented
out/etc/
Thank you again for your help on this.