
peljasz at yahoo
Jul 31, 2012, 2:25 AM
Post #10 of 11
(406 views)
Permalink
|
|
Re: [Bulk] Re: [Bulk] Re: DAViCal web client
[In reply to]
|
|
yes, well, setup got me frustrated and I did not notice that at one point setup process got through, I fixed postress user and it got to "webcal" user complaining about lack of permission it would help to fix the wiki pages for the client, I've search the archives and saw this kind of situation I got myself into many many people experienced, and still do tip that webcal user need to be setup for webcal database in postgres' pg_hba.conf (in one finely controls access to postgres) now my question would be, can the client be squeezed into the sama vhost DAViCal server is in? regards On 30/07/12 18:09, Michael Rasmussen wrote: > On Mon, 30 Jul 2012 16:40:46 +0100 > lejeczek <peljasz [at] yahoo> wrote: > >> thanks Michael for clarifying things for me, however >> I'm still not sure I get the hang of these users/password >> relations >> davical server runs just fine, now for postgres the dba is >> postgres as per default installation, yet when I try these I >> get, probably common: >> >> stage2: SQLSTATE[08006] [7] could not connect to server: >> Permission denied Is the server running on host "localhost" >> and accepting TCP/IP connections on port 5432? >> >> I did tamper with pg_hba.conf so to test it I get connection >> locally and remotely as postgres user >> I'm at loss to follow this, >> any thoughts? >> > The user postgres will, by default, only be allowed to connect via a > unix socket on localhost which is configured by this line: > local all all ident > > What I would suggest for you to do is the following: > As root > 1) createuser -P -s sys > 2) Add this line as the first line after the first line starting by > host in the file pg_hba.conf: > host all sys 127.0.0.1/32 md5 > 3) restart postgresql > > Use this newly created user as postgres dba > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Davical-general mailing list > Davical-general [at] lists > https://lists.sourceforge.net/lists/listinfo/davical-general ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Davical-general mailing list Davical-general [at] lists https://lists.sourceforge.net/lists/listinfo/davical-general
|