I'm able to triage this bug, and it seems like the culprit is `conf_*`
functions present in conffile.c (nfs-utils), which are also present in
cfg.c (libnfsidmap2), and due to runtime linking, `conf_*` present in
`rpc.idmapd` executable (nfs-utils) takes precedence over the `conf_*`
functions present in `/lib/libnfsidmap.so.0` due to symbol search order,
and therefore complicating configuration parsing.

The diff attached marks the `conf_*` functions, present in `conffile.c`
which seem to conflict with functions present in `cfg.c`, as `static`,
and therefore fixing the conflict.

For the record, I'm running `Ubuntu Precise`.

Thanks

** Patch added: "Fix (in quilt format, needs to go in debian/patches)"
   
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1088154/+attachment/3461680/+files/20-conffile.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1088154

Title:
  LDAP support broken in rpc.idmapd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1088154/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to