#566488 Add debconf questions for LDAP_URI and MAP_OBJECT_CLASS/MAP_ATTRIBUTE

Package:
autofs5-ldap
Source:
autofs
Submitter:
Bernhard Reutner-Fischer
Date:
2023-04-26 09:09:11 UTC
Severity:
normal
#566488#5
Date:
2009-11-24 21:16:43 UTC
From:
To:
vv:/var/log# grep autofs daemon.log
Nov 24 21:42:51 vv automount[13952]: parse_ldap_config: lookup(ldap): Configuration file /etc/autofs_ldap_auth.conf exists, but is not usable. Please make sure
that it is owned by root, group is root, and the mode is 0600.

When coming from a working autofs4 setup, $subject configfile is installed
with the wrong mode (0644 instead of the suggested 0600).

This renders a user-maintained system unable to use until somebody who
- knows how to chmod
- can chmod
fixes the issue (and admittedly dselect'ed this update).

Furthermore, upon configuration, the package should ask for which
  LDAP_URI
  MAP_OBJECT_CLASS/MAP_ATTRIBUTE
attributes it should configure the system for in order to prompt the
user to ask somebody who knows to make sense out of it.

Ideally these MAP_OBJECT_CLASS/MAP_ATTRIBUTE would be probed
according to the given LDAP_URI server, obviously.

#566488#10
Date:
2010-01-23 14:09:53 UTC
From:
To:
tag 557865 + pending, patch
clone 557865 -1
retitle -1 Add debconf questions for  LDAP_URI and  MAP_OBJECT_CLASS/MAP_ATTRIBUTE
severity -1 normal
thanks

Hey,
attached is a minimalistic patch that fixes the mode problem
by adding a exclude to dh_fixperms.

The NMU is uploaded for this issue is uploaded right now.

Please note that other issues in mentioned in this bug are not fixed:

Therefore this bug is cloned, the new bug has now severity normal.

Greetings
Winnie