pam_sm_get_mapped_username.c revision 186063
138581Sobrien/*-
238581Sobrien * Copyright (c) 2002-2003 Networks Associates Technology, Inc.
350479Speter * Copyright (c) 2004-2007 Dag-Erling Sm��rgrav
438581Sobrien * All rights reserved.
538581Sobrien *
638581Sobrien * This software was developed for the FreeBSD Project by ThinkSec AS and
738581Sobrien * Network Associates Laboratories, the Security Research Division of
838581Sobrien * Network Associates, Inc.  under DARPA/SPAWAR contract N66001-01-C-8035
938581Sobrien * ("CBOSS"), as part of the DARPA CHATS research program.
1038581Sobrien *
1138581Sobrien * Redistribution and use in source and binary forms, with or without
12156813Sru * modification, are permitted provided that the following conditions
13156813Sru * are met:
1480029Sobrien * 1. Redistributions of source code must retain the above copyright
1580029Sobrien *    notice, this list of conditions and the following disclaimer.
1674558Sru * 2. Redistributions in binary form must reproduce the above copyright
1780029Sobrien *    notice, this list of conditions and the following disclaimer in the
1874558Sru *    documentation and/or other materials provided with the distribution.
1980029Sobrien * 3. The name of the author may not be used to endorse or promote
2080029Sobrien *    products derived from this software without specific prior written
2180029Sobrien *    permission.
22156813Sru *
23137675Sbz * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
24137675Sbz * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2538581Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26156936Sru * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
27148795Sphk * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28148795Sphk * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29148795Sphk * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30211725Simp * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3183090Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3274558Sru * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3374558Sru * SUCH DAMAGE.
3474558Sru *
3574558Sru * $Id: pam_sm_get_mapped_username.c 408 2007-12-21 11:36:24Z des $
3674558Sru */
3738581Sobrien
3838581Sobrien#include <sys/param.h>
39231118Sdim
4038581Sobrien#include <security/pam_appl.h>
4138581Sobrien#include <security/pam_modules.h>
4238581Sobrien
43201390Sed/*
44201390Sed * XSSO 4.2.2
4538581Sobrien * XSSO 6 page 79
4638581Sobrien *
4738581Sobrien * Service module implementation for pam_get_mapped_username
48 */
49
50int
51pam_sm_get_mapped_username(pam_handle_t *pamh,
52	char *src_username,
53	char *src_module_type,
54	char *src_authn_domain,
55	char *target_module_type,
56	char *target_authn_domain,
57	char **target_module_username,
58	int argc,
59	const char **argv)
60{
61
62	ENTER();
63	RETURNC(PAM_SYSTEM_ERR);
64}
65
66/*
67 * NODOC
68 */
69