pam_sm_authenticate_secondary.c revision 107937
1193326Sed/*- 2193326Sed * Copyright (c) 2002 Networks Associates Technology, Inc. 3193326Sed * All rights reserved. 4193326Sed * 5193326Sed * This software was developed for the FreeBSD Project by ThinkSec AS and 6193326Sed * Network Associates Laboratories, the Security Research Division of 7193326Sed * Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 8193326Sed * ("CBOSS"), as part of the DARPA CHATS research program. 9239462Sdim * 10239462Sdim * Redistribution and use in source and binary forms, with or without 11239462Sdim * modification, are permitted provided that the following conditions 12239462Sdim * are met: 13239462Sdim * 1. Redistributions of source code must retain the above copyright 14239462Sdim * notice, this list of conditions and the following disclaimer. 15239462Sdim * 2. Redistributions in binary form must reproduce the above copyright 16239462Sdim * notice, this list of conditions and the following disclaimer in the 17239462Sdim * documentation and/or other materials provided with the distribution. 18239462Sdim * 3. The name of the author may not be used to endorse or promote 19239462Sdim * products derived from this software without specific prior written 20239462Sdim * permission. 21239462Sdim * 22193326Sed * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 23193326Sed * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24193326Sed * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25249423Sdim * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 26249423Sdim * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27212904Sdim * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28249423Sdim * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29212904Sdim * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30234353Sdim * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31249423Sdim * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32193326Sed * SUCH DAMAGE. 33193326Sed * 34193326Sed * $P4: //depot/projects/openpam/lib/pam_sm_authenticate_secondary.c#5 $ 35239462Sdim */ 36193326Sed 37193326Sed#include <sys/param.h> 38193326Sed 39193326Sed#include <security/pam_appl.h> 40193326Sed#include <security/pam_modules.h> 41193326Sed 42193326Sed/* 43193326Sed * XSSO 4.2.2 44193326Sed * XSSO 6 page 70 45193326Sed * 46239462Sdim * Service module implementation for pam_authenticate_secondary 47193326Sed */ 48193326Sed 49193326Sedint 50193326Sedpam_sm_authenticate_secondary(pam_handle_t *pamh, 51193326Sed char *target_username, 52193326Sed char *target_module_type, 53193326Sed char *target_authn_domain, 54193326Sed char *target_supp_data, 55193326Sed unsigned char *target_module_authtok, 56193326Sed int flags, 57193326Sed int argc, 58193326Sed const char **argv) 59193326Sed{ 60193326Sed 61193326Sed ENTER(); 62193326Sed RETURNC(PAM_SYSTEM_ERR); 63193326Sed} 64193326Sed 65193326Sed/* 66193326Sed * NODOC 67193326Sed */ 68193326Sed