summaryrefslogtreecommitdiffstats
path: root/lib/libpam/modules
Commit message (Collapse)AuthorAgeFilesLines
* MFH (r314598): load default options before requesting ticketdes2017-03-121-0/+2
| | | | PR: 213909
* MFC r312452-r312512:ngie2017-02-103-4/+4
| | | | | | | | | | r312452-r312512: - Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output - Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
* MFC: 304626,304635:roberto2016-09-252-4/+4
| | | | | | | r304626: Add support for Ed25519 keys. r304635: Remove support for SSH1, already disabled in our OpenSSH. Submitted by: mwlucas (r304626), vangyzen (r304635)
* Set retval in the empty password case to avoid a path through thetruckman2016-05-161-0/+1
| | | | | | | | | | code that fails to set retval before falling through to the final return(). Reported by: emaste Reported by: Coverity CID: 1018711 MFC after: 1 week
* Hoist the getpwnam() call outside the first if/else block intruckman2016-05-161-2/+2
| | | | | | | | | | pam_sm_chauthtok(). Set user = getlogin() inside the true branch so that it is initialized for the following PAM_LOG() call. This is how it is done in pam_sm_authenticate(). Reported by: Coverity CID: 272498 MFC after: 1 week
* MFHgjb2016-04-162-7/+1
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * Build libpam modules in parallel.bdrewery2016-04-141-0/+1
| | | | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
| * Simplify building libpam and fix libpam.a not containing the modules since ↵bdrewery2016-04-141-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r284345. The change in r284345 moved the creation of openpam_static_modules.o to lib/libpam/static_modules but never managed to get them into libpam.a. Move this logic to lib/libpam/static_libpam and have it create a static library for libpam.a The main lib/libpam/libpam will only create a shared library. No redundancy in compilation or installation exists in this solution. This avoids requiring a pass with -D_NO_LIBPAM_SO_YET. Sponsored by: EMC / Isilon Storage Division
* | MFHgjb2016-04-112-3/+3
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * libpam: replace 0 with NULL for pointers.pfg2016-04-092-3/+3
| | | | | | | | | | | | Found with devel/coccinelle. Reviewed by: des
* | MFHgjb2016-03-143-7/+5
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * DIRDEPS_BUILD: Update dependencies.bdrewery2016-03-111-2/+0
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * Not ready for level 6 yet due to -Wredundant-decls.des2016-03-111-0/+1
| |
| * Define __bounded__ to fix the gcc build. While there, raise WARNS.des2016-03-112-2/+4
| |
| * Upgrade to OpenSSH 7.2p2.des2016-03-111-3/+0
| |
* | MFHgjb2016-01-201-7/+6
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Update for API changes in OpenSSH 6.8p1.jhb2016-01-201-7/+6
| | | | | | | | | | | | | | | | First, the authfd API now uses a direct file descriptor for the control socket instead of a more abstract AuthenticationConnection structure. Second, the functions now consistently return an error value. Reviewed by: bdrewery
* | MFH r289384-r293170gjb2016-01-043-4/+1
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * DIRDEPS_BUILD: Update dependencies.bdrewery2015-12-072-2/+0
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * Replace unneeded manual dependency on header by adding it to SRCS.bdrewery2015-12-071-2/+1
| | | | | | | | | | | | | | | | | | | | bsd.lib.mk and bsd.prog.mk already depend all objs on headers in SRCS if there is not yet a depend file. The headers in SRCS are never built or installed. After 'make depend' the header was already added as a proper dependency on the objects where needed. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* | Merge from headbapt2015-06-1524-0/+472
|\ \ | |/
| * Add META_MODE support.sjg2015-06-1324-0/+472
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| | * Merge sync of headsjg2015-05-2714-38/+33
| | |\ | | |/ | |/|
| | * Need headers staged by libpamsjg2014-11-3010-0/+10
| | |
| | * Updated/new dependenciessjg2014-11-1924-24/+0
| | |
| | * Merge from head@274682sjg2014-11-193-9/+16
| | |\
| | * \ Merge head from 7/28sjg2014-08-197-23/+38
| | |\ \
| | * | | Updated dependenciessjg2014-05-1624-20/+28
| | | | |
| | * | | Updated dependenciessjg2014-05-1020-0/+40
| | | | |
| | * | | Merge from headsjg2014-05-082-1/+2
| | |\ \ \
| | * \ \ \ Merge headsjg2014-04-273-12/+4
| | |\ \ \ \
| | * \ \ \ \ Merge headsjg2013-09-111-0/+1
| | |\ \ \ \ \
| | * \ \ \ \ \ Merge from headsjg2013-09-051-1/+1
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ sync from headsjg2013-04-121-3/+3
| | |\ \ \ \ \ \ \
| | * | | | | | | | Updated dependenciessjg2013-03-1124-0/+24
| | | | | | | | | |
| | * | | | | | | | Updated dependenciessjg2013-02-1624-48/+0
| | | | | | | | | |
| | * | | | | | | | Updated/new Makefile.dependsjg2012-11-0824-0/+115
| | | | | | | | | |
| | | | | | | | | |
| | | \ \ \ \ \ \ \
| | *-. \ \ \ \ \ \ \ Sync from headsjg2012-11-044-13/+15
| | |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-2224-0/+389
| | | |/ / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | | | Move ssh into a dedicated packagebapt2015-03-051-0/+1
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Flag config files as "to be merged on upgrade"
* | | | | | | | | | Conditionalize building radius support into libpam, ppp, etc viangie2015-02-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MK_RADIUS_SUPPORT MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* | | | | | | | | | If PAM_RHOST is non-NULL, pass it in the Calling-Station-ID attribute ofdes2015-01-161-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the RADIUS access request. MFC after: 1 week
* | | | | | | | | | mdoc: improvements to SEE ALSO.joel2014-12-271-1/+1
| | | | | | | | | |
* | | | | | | | | | Convert libraries to use LIBADDbapt2014-11-2511-25/+12
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | While here reduce a bit overlinking
* | | | | | | | | Consistently cast tty and user to const char * in printf()-like contexts.des2014-10-011-3/+4
| | | | | | | | |
* | | | | | | | | Hopefully fix build breakage with gcc passing void * instead of char *bz2014-09-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to "%s" format string after r272280. PR: 83099 193927 MFC after: 3 days X-MFC with: r272280
* | | | | | | | | Instead of failing when neither PAM_TTY nor PAM_RHOST are available, calldes2014-09-291-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | login_access() with "**unknown**" as the second argument. This will allow "ALL" rules to match. Reported by: Tim Daneliuk <tundra@tundraware.com> Tested by: dim@ PR: 83099 193927 MFC after: 3 days
* | | | | | | | | r271256 fixed one segfault condition but introduced another due to thedes2014-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wrong operator being used in the tty check. Reported by: avg@ MFH: 3 days
* | | | | | | | | Fail rather than segfault if neither PAM_TTY nor PAM_RHOST is set.des2014-09-081-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 83099 MFC after: 3 days
* | | | | | | | | According to opie code and even direct mention in opie(4) challenge bufferache2014-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | size must be OPIE_CHALLENGE_MAX + 1, not OPIE_CHALLENGE_MAX Reviewed by: des MFC after: 1 week
OpenPOWER on IntegriCloud