hy
I need someone who can modify the original plugin auth-pam for verify that USERNAME=CN , if does return 0, either return 1
who can do this please help
sorry for my bad english
AUTH-PAM verify if CN = USERNAME
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 3
- Joined: Tue Aug 30, 2011 11:44 am
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: AUTH-PAM verify if CN = USERNAME
there is no need to modify the auth-pam plugin for this - use a combination of auth-pam and an 'auth-user-pass-verify' script : the auth-pam plugin will fail, but the script can then grant access to users where username=CN
(if that is what you're looking for)
(if that is what you're looking for)
-
- OpenVpn Newbie
- Posts: 3
- Joined: Tue Aug 30, 2011 11:44 am
Re: AUTH-PAM verify if CN = USERNAME
I use CHROOT and doesn't work. That's why I need auth-pam to be modified.
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: AUTH-PAM verify if CN = USERNAME
even with '--chroot' you can use an 'auth-user-pass-verify' script, provided that you stick in the right (chrooted) location.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Tue Aug 30, 2011 11:44 am
Re: AUTH-PAM verify if CN = USERNAME
if you put in there all dependencies for that script... (bash,perl, libraries - stuff like that; and I don;t want that)