Package: nslcd
Version: 0.7.13
Severity: wishlist
Tags: patch

Hi,

nslcd refuses to return group names which contain a tilde. It does this on
the basis that it's not part of the portable filename character set:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_276

I would argue that it's not really nslcd's job to validate what's in the
directory and that it's up to the user to decide whether he cares about
the portability of his user/group names.

You have already added exceptions by allowing "$" and I would like to ask
you to add another exception for "~".

But you should probably revisit the problem as a whole.

Good programming principles is to be tolerant in what you read but be
strict in what you send. By that I mean that it's not really nslcd's job
to impose supplementary restrictions that are not needed. Or at least
those restrictions should be configurable so that they can be disabled.

For your information, the diff I used to fix the problem that a customer
of mine encountered is here:
https://launchpad.net/~hertzog/+archive/freexian-bugfixes/+files/nss-pam-ldapd_0.7.2-1.diff.gz

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 
'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to