Bug 1226533

Summary: nfs-utils-2.6.4-150600 built without --enable-ldap; when used on server LDAP automounts fail
Product: [openSUSE] openSUSE Distribution Reporter: J A Gow <J.A.Gow>
Component: Kernel:FilesystemsAssignee: Kernel Filesystems <kernel-fs>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description J A Gow 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