error with " DECLARE nss_pgsql_internal_allusers_curs SCROLL CURSOR FOR FOR READ ONLY"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libnss-pgsql (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi all,
I'm using libnss_pgsql module but there's problems with it. If I exute
"getent passwd", the following messages show
in /var/lib/
using /etc/passwd and /etc/group to authenticate ssh uses.
ERROR: syntax error at or near "FOR" at character 61
> STATEMENT: DECLARE nss_pgsql_
> FOR READ ONLY
> ERROR: current transaction is aborted, commands ignored until end of
> transaction block
> STATEMENT: FETCH FROM nss_pgsql_
Eveny I modify codes nss-pgsql.conf like:
> getpwnam = SELECT login AS
> username,
> homedir,
to
> getpwnam = SELECT AS
> ,passwd,
> homedir,
The previous error message would show. I can't figure out why. Can anyone
give some advice? Thanks!
(the link of original post is http://