pam_sm_get_mapped_authtok.c revision 174832
111394Sswallace/*- 211394Sswallace * Copyright (c) 2002-2003 Networks Associates Technology, Inc. 3139799Simp * Copyright (c) 2004-2007 Dag-Erling Sm��rgrav 411394Sswallace * All rights reserved. 511394Sswallace * 611394Sswallace * This software was developed for the FreeBSD Project by ThinkSec AS and 711394Sswallace * Network Associates Laboratories, the Security Research Division of 811394Sswallace * Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 911394Sswallace * ("CBOSS"), as part of the DARPA CHATS research program. 1011394Sswallace * 1111394Sswallace * Redistribution and use in source and binary forms, with or without 1211394Sswallace * modification, are permitted provided that the following conditions 1311394Sswallace * are met: 1411394Sswallace * 1. Redistributions of source code must retain the above copyright 1511394Sswallace * notice, this list of conditions and the following disclaimer. 1611394Sswallace * 2. Redistributions in binary form must reproduce the above copyright 1711394Sswallace * notice, this list of conditions and the following disclaimer in the 1811394Sswallace * documentation and/or other materials provided with the distribution. 1911394Sswallace * 3. The name of the author may not be used to endorse or promote 2011394Sswallace * products derived from this software without specific prior written 2111394Sswallace * permission. 2211394Sswallace * 2311394Sswallace * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2411394Sswallace * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2511394Sswallace * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2611394Sswallace * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2711394Sswallace * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2811394Sswallace * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2911394Sswallace * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3011394Sswallace * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3151793Smarcel * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3251793Smarcel * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3311394Sswallace * SUCH DAMAGE. 3411394Sswallace * 3511394Sswallace * $Id: pam_sm_get_mapped_authtok.c 408 2007-12-21 11:36:24Z des $ 3611394Sswallace */ 3711394Sswallace 3811394Sswallace#include <sys/param.h> 3911394Sswallace 4011394Sswallace#include <security/pam_appl.h> 4111394Sswallace#include <security/pam_modules.h> 4211394Sswallace 4311394Sswallace/* 4411394Sswallace * XSSO 4.2.2 4511394Sswallace * XSSO 6 page 77 4611394Sswallace * 4711394Sswallace * Service module implementation for pam_get_mapped_authtok 4811394Sswallace */ 4911394Sswallace 5011394Sswallaceint 5111394Sswallacepam_sm_get_mapped_authtok(pam_handle_t *pamh, 5211394Sswallace char *target_module_username, 5311394Sswallace char *target_module_type, 5411394Sswallace char *target_authn_domain, 5511394Sswallace size_t *target_authtok_len, 5611394Sswallace unsigned char **target_module_authtok, 5711394Sswallace int argc, 5811394Sswallace char *argv) 5911394Sswallace{ 6011394Sswallace 6151793Smarcel ENTER(); 6211394Sswallace RETURNC(PAM_SYSTEM_ERR); 6311394Sswallace} 6411394Sswallace 6511394Sswallace/* 6611394Sswallace * NODOC 6711394Sswallace */ 6811394Sswallace