I didn't realize that this was considered unusual.  AutoFs integration
has been a critical part of our infrastructure across multiple
departments at our university for decades, starting with NIS/NIS+.
 Without AutoFS integration we would be ... very, very sad.

I have filed a bug report w/ Debian and included a patch against Debian
Sid's autofs-5.1.6 source package: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968675

Since this is the same source file as Ubuntu 20.04 uses I've included
the patch file for your use, on the off chance that it would make
things easier (attached).

Looking at the up-stream source from 
https://mirrors.edge.kernel.org/pub/linux/daemons/autofs/v5/ it appears
that version 5.1.2's autofs.schema file was correct.  The typo first
appears in 5.1.3, released in May 24th 2017, and has affected every
release of autofs since.

I have also submitted a bug report, including a patch file, to the 
aut...@vger.kernel.org mailing list for the autofs developers.

Michael Peek

On Tue, 2020-08-18 at 16:42 +0000, Robie Basak wrote:
> Thank you for taking the time to report this bug and helping to make
> Ubuntu better.
> 
> Since this affects an unusual end-user configuration, I'm setting
> Importance to Low, and I don't expect anyone to work on this soon.
> However if you can help definitively explain what needs adjusting to fix
> this correctly, then that would be helpful and we can try to help get
> that fix landed. Caveat: normally we'd expect an explanation and patch
> to be sent to Debian first.
> 
> I'm deferring a decision on whether or not this requires a fix in
> openldap until the above is clear.
> 
> ** Changed in: autofs (Ubuntu)
>    Importance: Undecided => Low
> 
> ** Changed in: openldap (Ubuntu)
>    Importance: Undecided => Low
> 


** Bug watch added: Debian Bug tracker #968675
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968675

** Patch added: "autofs-5.1.6-schema-fix.diff"
   
https://bugs.launchpad.net/bugs/1891548/+attachment/5402829/+files/autofs-5.1.6-schema-fix.diff

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openldap in Ubuntu.
https://bugs.launchpad.net/bugs/1891548

Title:
  autofs-ldap's /etc/ldap/schema/autofs.schema crashes slapd

Status in autofs package in Ubuntu:
  New
Status in openldap package in Ubuntu:
  New

Bug description:
  Ubuntu Release:
  # lsb_release -rd
  Description:  Ubuntu 20.04.1 LTS
  Release:      20.04

  Version of packages in use:
  # dpkg -l autofs autofs-ldap slapd | grep '^ii'
  ii  autofs         5.1.6-2ubuntu0.1       amd64        kernel-based 
automounter for Linux
  ii  autofs-ldap    5.1.6-2ubuntu0.1       amd64        LDAP map support for 
autofs
  ii  slapd          2.4.49+dfsg-2ubuntu1.3 amd64        OpenLDAP server (slapd)

  Expected:
  No errors from slaptest

  Actual Output:
  5f359370 /etc/ldap/schema/autofs.schema: line 14 attributetype: AttributeType 
inappropriate matching rule: "caseExactMatch"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1891548/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to