Re: [HACKERS] pam auth - add rhost item

2016-03-22 Thread Grzegorz Sampolski
New patch, which change pamservice parameter from pamusedns to pam_use_hostname. On 03/21/2016 10:59 AM, Grzegorz Sampolski wrote: > Ok. So if no one objected to the evening - in my time zone ofcourse :) > I will change pamusedns to pam_use_hostname. > > On 03/21/2016 08:43 AM, Ha

Re: [HACKERS] pam auth - add rhost item

2016-03-21 Thread Grzegorz Sampolski
Ok. So if no one objected to the evening - in my time zone ofcourse :) I will change pamusedns to pam_use_hostname. On 03/21/2016 08:43 AM, Haribabu Kommi wrote: > On Wed, Mar 16, 2016 at 10:46 PM, Grzegorz Sampolski <grz...@gmail.com> wrote: >> Hi. >> Can be, but as you ment

Re: [HACKERS] pam auth - add rhost item

2016-03-19 Thread Grzegorz Sampolski
irrespectively OS resolver use dns or not - I mean getnameinfo() not give you such information if OS resolver use dns or not. No to drug the discussion I can change pamusedns to pam_use_hostname if you prefer. On 03/16/2016 03:00 AM, Peter Eisentraut wrote: > On 3/10/16 8:11 AM, Grzegorz Sampol

Re: [HACKERS] pam auth - add rhost item

2016-03-12 Thread Grzegorz Sampolski
Hi. Thank you for improve documentation and yes I'm fine with this chages. Regards. Grzegorz. On 03/12/2016 01:17 PM, Haribabu Kommi wrote: > On Fri, Mar 11, 2016 at 12:11 AM, Grzegorz Sampolski <grz...@gmail.com> wrote: >> Hi. >> In attchment new patch with updated documen

Re: [HACKERS] pam auth - add rhost item

2016-03-10 Thread Grzegorz Sampolski
Hi. In attchment new patch with updated documentation and with small change to coding style as you suggested. Regards. Grzegorz. On 03/09/2016 08:30 AM, Haribabu Kommi wrote: > On Tue, Mar 8, 2016 at 10:43 PM, Grzegorz Sampolski <grz...@gmail.com > <mailto:grz...@gmail.com>>

Re: [HACKERS] pam auth - add rhost item

2016-03-08 Thread Grzegorz Sampolski
mistakes please correct me. Regards. Grzegorz Sampolski. On 03/08/2016 05:30 AM, Haribabu Kommi wrote: > On Tue, Dec 29, 2015 at 10:46 AM, Grzegorz Sampolski <grz...@gmail.com> wrote: >> Hi. >> I thought link on commitfest to github url was sufficient. >> Sorry. Attached

Re: [HACKERS] pam auth - add rhost item

2015-12-28 Thread Grzegorz Sampolski
Hi. New patch available. The new status of this patch is: Needs review -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] pam auth - add rhost item

2015-12-28 Thread Grzegorz Sampolski
Hi. I send new patch: https://github.com/grzsmp/postgres/commit/3e3a1f187b71acef3f8dc0745da753fb5be821fa On 12/27/2015 05:31 PM, Grzegorz Sampolski wrote: > Hi there! > I'm alive and working on new patch. > So, I takes into account all suggestions from Tomas and I'll > add addition

Re: [HACKERS] pam auth - add rhost item

2015-12-28 Thread Grzegorz Sampolski
Hi. I thought link on commitfest to github url was sufficient. Sorry. Attached new patch. On 12/28/2015 09:07 PM, David Fetter wrote: > Please attach the patch or patch set to your email just like else > does diff --git a/src/backend/libpq/auth.c b/src/backend/libpq/auth.c index cdc5bf1..d42cc76

Re: [HACKERS] pam auth - add rhost item

2015-12-27 Thread Grzegorz Sampolski
Hi there! I'm alive and working on new patch. So, I takes into account all suggestions from Tomas and I'll add additional parameter `usedns' with `yes/no' values to pass resolved hostname or ip address through rhost_item. On 12/24/2015 03:35 AM, Michael Paquier wrote: > On Wed, Dec 16, 2015 at

Re: [HACKERS] pam auth - add rhost item

2015-11-25 Thread Grzegorz Sampolski
Well, this is not matter since pam_set_item expect this argument as a string. Besides there is not always possible to get map from ip address to hostname. So hostname is just a synonim for whatever information you cat get about remote machine. ps. sorry for delay answer. On 11/16/2015 04:24 AM,