Package: libnss-pgsql2
Version: 1.4.0debian-8
Severity: minor

Dear Maintainer,


In the /usr/share/doc/libnss-pgsql2/nss-pgsql.html file we have:

-----x8-----x8-----x8-----x8-----x8-----x8
getgrnam

    A query that returns group_name, group_passwd, group_gid for a given group name
-----x8-----x8-----x8-----x8-----x8-----x8


In the provided config file nss-pgsql.conf in example directory there we have:

-----x8-----x8-----x8-----x8-----x8-----x8
# Must return group_name, group_passwd, group_gid
getgrnam        = SELECT groupname, passwd, gid, ARRAY(SELECT username FROM usergroups WHERE usergroups.gid = group_table.gid) AS members FROM group_table WHERE groupname = $1
-----x8-----x8-----x8-----x8-----x8-----x8


The nss-pgsql.html file and the comment in the file nss-pgsql.conf are missing the ARRAY part.

Regards.


-- System Information:
Debian Release: 10.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libnss-pgsql2 depends on:
ii  libc6   2.28-10
ii  libpq5  11.5-1+deb10u1

libnss-pgsql2 recommends no packages.

Versions of packages libnss-pgsql2 suggests:
ii  libpam-pgsql  0.7.3.2-1
pn  nscd          <none>

-- no debconf information

--
________________________________________________________________
Santiago Castillo Oli                        scasti...@aragon.es
Técnico de Sistemas Informáticos                    976 71 50 06
Biblioteca de Aragón
Doctor Cerrada 22, 50005 Zaragoza

Reply via email to