nd);
@@ -853,6 +865,7 @@ pam_server(int fd, const char *service, int verb,
const struct name_value_list *
up.username, up.password);
#else
fprintf(stderr, "AUTH-PAM: BACKGROUND: USER: %s\n",
up.username)
Hi,
after rebasing my fork on current master, the are no conflicts with
current source code. Travis error on osx are not releated to my code,
they are errors about configuration peace not working on osx.
--
-***-
Paolo Cerrito
019 10:26, Paolo Cerrito wrote:
>> From: paolo
>>
>> Signed-off-by: Paolo Cerrito
> Why do we need this change?
> What benefit does it give us?
> How can it be used?
>
> IMHO it would be nice to add these pieces of information to the commit
> message (ri
Hi,
another example (and the simplest case) is:
support to set remote client data into PAM environment, in turn
correctly allow PAM logging the client address to syslog
Paolo Cerrito
Il 27/06/19 11:07, Antonio Quartulli ha scritto:
> Hi,
>
> On 27/06/2019 10:26, Paolo Cerrito wrote
nt verb,
const struct name_value_list *
up.username, up.password);
#else
fprintf(stderr, "AUTH-PAM: BACKGROUND: USER: %s\n",
up.username);
+ fprintf(stderr, "AUTH-PAM: BACKGROUND: REMOTE:
%s\n", up.remote);
#endif
i'm pretty curious ... why not Webmin ?
Daniel Lehmann ha scritto:
Am Samstag, den 22.01.2005, 16:02 +0100 schrieb Paolo Poletti:
Hi, we're planning the development of a Webmin module for openvpn, that
will be released with GPL license : is there any started project that we
can contribute
From: paolo
Signed-off-by: Paolo Cerrito
---
src/plugins/auth-pam/auth-pam.c | 19 ---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/src/plugins/auth-pam/auth-pam.c b/src/plugins/auth-pam/auth-pam.c
index 88b53204..9d8dfb95 100644
--- a/src/plugins/auth-pam
From: paolo
---
src/plugins/auth-pam/auth-pam.c | 19 ---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/src/plugins/auth-pam/auth-pam.c b/src/plugins/auth-pam/auth-pam.c
index 88b53204..9d8dfb95 100644
--- a/src/plugins/auth-pam/auth-pam.c
+++ b/src/plugins/auth
.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config
***
paolo (1):
Insert client connection data into PAM environment
src/plugins/auth-pam/auth-pam.c | 19 ---
1 file changed, 16 insertions(+), 3 deletions(-)
--
2
1) so remote was set to the maxlenght of ipv6 address defined into
arpa/inet.h + 1 for string terminator
2) I refactored the call to get_env to take first ipv6 address, then
only if it is NULL, i make a call for ipv4
---
src/plugins/auth-pam/auth-pam.c | 8 +---
1 file changed, 5
From: Paolo Cerrito
1) changed again remote lenght, we have to consider only the lenght op
ipv6 address into form :::::ddd.ddd.ddd.ddd not
the mask, so we have max lenght of 45 plus terminator.
2) refactored calls to get_env, now we make one call to take ipv6
address
1) I put remote lenght to 51, as it have to hold ipv6/ipv4 ip address
plus string terminator.
2) As asked, i refactor the call to get_env, so now first of all there
is a one call to get_env to get the ipv6 address, if is not set, and
only in this case, we recall get_env for ipv4.
---
---
.gitignore | 1 +
src/plugins/auth-pam/auth-pam.c | 8 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index 0d68ec4b..3977882f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -72,3 +72,4 @@ nbproject
test-driver
compile
From: paolo
"Changes from v1:
changed sprintf for logging to plugin_log
"
change to reflect current head openvpn repository
this patch put remote host ip into pam environment, so this make pam
module able to use it.
in simple, this patch get ip (ipv4 and ipv6) from openvpn, pu
1) changed lenght of remote to 46
2) refactored call to get_env
---
src/plugins/auth-pam/auth-pam.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/plugins/auth-pam/auth-pam.c b/src/plugins/auth-pam/auth-pam.c
index 9d8dfb95..c03e178b 100644
---
From: paolo
---
src/plugins/auth-pam/auth-pam.c | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/src/plugins/auth-pam/auth-pam.c b/src/plugins/auth-pam/auth-pam.c
index 70339445..f91a2f02 100644
--- a/src/plugins/auth-pam/auth-pam.c
+++ b/src/plugins
From: paolo
---
src/plugins/auth-pam/auth-pam.c | 25 +
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/src/plugins/auth-pam/auth-pam.c b/src/plugins/auth-pam/auth-pam.c
index 70339445..c2e66e5c 100644
--- a/src/plugins/auth-pam/auth-pam.c
+++ b/src
From: paolo
- styled code as openvpn
- added check for remote, if NULL after all get_env, put to point to empy string
Signed-off-by: Paolo Cerrito
---
src/plugins/auth-pam/auth-pam.c | 28
1 file changed, 24 insertions(+), 4 deletions(-)
diff --git a/src/plugins
18 matches
Mail list logo