action #132128
closed[security] test fails in sssd_openldap_functional: missing sudo.schema config file?
100%
Description
Observation¶
openQA test in scenario sle-15-SP2-Server-DVD-Updates-aarch64-sssd_openldap_functional@aarch64-virtio fails in
sssd_openldap_functional
Could be a product issue? -> not, because continuation from ticket #130919 and something not working well with 15-SP4 container like it did with 15-SP3.
Step 16/18 : RUN slapadd -b dc=sssdtest,dc=com -l /tmp/user.ldif
---> Running in 9bd2f343fdcc
[91m649ce3ae could not stat config file "/etc/openldap/schema/sudo.schema": No such file or directory (2)
slapadd: bad configuration file!
[0mThe command '/bin/sh -c slapadd -b dc=sssdtest,dc=com -l /tmp/user.ldif' returned a non-zero code: 1
t1CLe-1-
Idea: Try docker build -t openldap2_image --build-arg tag="registry.suse.com/suse/sle15:15.4" --build-arg pkgs="openldap2 sudo" . etc locally and see how that sudo.schema should be fulfilled in such a container that the slapadd command would finish successfully?
Updated by tjyrinki_suse over 1 year ago
- Tags set to fail
- Description updated (diff)
- Status changed from New to Workable
- Estimated time set to 24.00 h
Updated by tjyrinki_suse over 1 year ago
- Description updated (diff)
Note: copy from git data/sssd/openldap/* to eg local 15-SP4 installation, then run the docker creation command.
Updated by msmeissn over 1 year ago
main problem is that the LDAP server parts from openldap2 are now completely gone from SLES 15 SP4 onwards.
you will need to port this to use 389-ds.
You can actually pull the suse/389-ds app container perhaps and configure that?
Updated by pstivanin over 1 year ago
- Status changed from Workable to Resolved
- % Done changed from 0 to 100