Bugzilla – Bug 1226533
nfs-utils-2.6.4-150600 built without --enable-ldap; when used on server LDAP automounts fail
Last modified: 2024-06-19 17:24:33 UTC
On upgrading a working openSuSE Leap 15.5 NFS server to Leap 15.6, the idmapper fails and directories are mounted on clients with incorrect owner/group. It turns out umich_ldap.so is missing because nfs-utils-2.6.4-150600 is built without the --enable-ldap flag. The fix is simple; applying the following patch to the spec file in the source RPM and rebuilding the RPM leads to a working package: --- nfs-utils.spec 2024-05-09 11:22:07.000000000 +0100 +++ nfs-utils.spec.new 2024-06-17 16:30:10.774452696 +0100 @@ -177,6 +177,7 @@ --enable-mount \ --enable-libmount-mount \ --enable-junction \ + --enable-ldap \ --disable-static \ --with-pluginpath=%{_libdir}/libnfsidmap-1.0.0 \ --enable-mountconfig