Well, I'll be ...
I changed postmaster to log to a file, but that didnt reveal much.
I upped the syslog vebosity to debug in identd.conf and added an entry
daemon.* /var/log/postmaster.log in syslog.conf.
Then as user sharris I did:
psql -h workbench -d testuserdb -U testuser
While doing tail -f /var/log/postmaster.log
Feb 27 00:47:05 freeflight identd: reply to 192.168.0.141:
36458, 5432 : USERID : OTHER :504
So that got me wondering, does the U switch work?
So I su - 'ed testuser and did
psql -h workbench -d testuserdb
Feb 27 00:49:53 freeflight identd: reply to 192.168.0.141:
36465, 5432 : USERID : OTHER :testuser
And was given the database shell.
Testusers uid on the client is 1293 and on the server is 501.
However, as soon as I stop identd it stops working.
So you were right, it all comes down to identd, but the U switch in psql
should of worked?
Perhaps I should make the uids match?
Computer Concepts Limited
25 Leslie Hills Drive
PO Box 8744 Riccarton
Christchurch, New Zealand
Notice of confidential information:
The information contained in this e-mail message is
confidential information and may also be legally privileged,
intended only for the individual or entity named above.
If you are not the intended recipient you are hereby
notified that any use, review, dissemination, distribution
or copying of this document is strictly prohibited.
If you have received this document in error, please
immediately notify the sender by telephone and destroy the
message. Thank you.
In response to
pgsql-admin by date
|Next:||From: ahmed zatout||Date: 2003-02-27 02:33:04|
|Previous:||From: Murthy Kambhampaty||Date: 2003-02-26 21:51:13|
|Subject: Dump/restoring a given table in a given schema|