Hi,
first, thank you all for the work on a refurbished autofs package! I
would like to draw your attention to #639529, as it would be great to
fix this before the wheezy freeze and it's just a minor modification.
Let me sum up, as the lengthy history of the issue might be confusing:
The name service switch functionality allows to assign different
resources for various informations like passwords, groups etc.
The resource to use is defined in "/etc/nsswitch.conf". Everybody
using the autfs-ldap package needs to add:
"automount: files ldap"
to "/etc/nsswitch.conf". This activates the look up of mount points
in LDAP. For example, this has to be done in debian-edu and
debian-lan.
The patches already attached above make sure the line needed is added
on installation and removed after purging the autofs-ldap package.
Modifying "/etc/nsswitch.conf" is fine, cf. [1]. A similar patch has
been applied to sudo-ldap, cf. #639530.
Thanks,
Andi
[1] Modifying nsswitch.conf shouldn't be a problem, quoting from
<URL:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610600#34>:
"Usually, policy forbids that a package modifies the "configuration
file" of another package, but in this case /etc/nsswitch.conf is not a
conffile in dpkg sense but just a default. This is on purpose so that
packages that need to modify such file do so without having to ask me
about that.
Therefore, I think we should just modify sudo-ldap so that the
required line is added to /etc/nsswitch.conf on postinst and removed
on purge, as only users of sudo-ldap need such line, i.e. please do
not rely on base-files and just do with nsswitch.conf whatever is
required for it to work with your package."
--
----------------------------------
A N D R E A S B. M U N D T
GPG key: 4096R/617B586D 2010-03-22 Andreas B. Mundt--<[email protected]>
Andreas B. Mundt--<[email protected]>
============================================================================
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]