Bug 1226533 - nfs-utils-2.6.4-150600 built without --enable-ldap; when used on server LDAP automounts fail
Summary: nfs-utils-2.6.4-150600 built without --enable-ldap; when used on server LDAP ...
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Kernel:Filesystems (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Kernel Filesystems
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-19 17:24 UTC by J A Gow
Modified: 2024-06-19 17:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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