pam_sm_set_mapped_username.c revision 174832
1338478Sjhb/*-
2338478Sjhb * Copyright (c) 2002-2003 Networks Associates Technology, Inc.
3338478Sjhb * Copyright (c) 2004-2007 Dag-Erling Sm��rgrav
4338478Sjhb * All rights reserved.
5338478Sjhb *
6338478Sjhb * This software was developed for the FreeBSD Project by ThinkSec AS and
7338478Sjhb * Network Associates Laboratories, the Security Research Division of
8338478Sjhb * Network Associates, Inc.  under DARPA/SPAWAR contract N66001-01-C-8035
9338478Sjhb * ("CBOSS"), as part of the DARPA CHATS research program.
10338478Sjhb *
11338478Sjhb * Redistribution and use in source and binary forms, with or without
12338478Sjhb * modification, are permitted provided that the following conditions
13338478Sjhb * are met:
14338478Sjhb * 1. Redistributions of source code must retain the above copyright
15338478Sjhb *    notice, this list of conditions and the following disclaimer.
16338478Sjhb * 2. Redistributions in binary form must reproduce the above copyright
17338478Sjhb *    notice, this list of conditions and the following disclaimer in the
18338478Sjhb *    documentation and/or other materials provided with the distribution.
19338478Sjhb * 3. The name of the author may not be used to endorse or promote
20338478Sjhb *    products derived from this software without specific prior written
21338478Sjhb *    permission.
22338478Sjhb *
23338478Sjhb * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
24338478Sjhb * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25338478Sjhb * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26338478Sjhb * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
27338478Sjhb * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28338478Sjhb * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29338478Sjhb * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30338478Sjhb * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31338478Sjhb * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32338478Sjhb * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33338478Sjhb * SUCH DAMAGE.
34338478Sjhb *
35338478Sjhb * $Id: pam_sm_set_mapped_username.c 408 2007-12-21 11:36:24Z des $
36338478Sjhb */
37338478Sjhb
38338478Sjhb#include <sys/param.h>
39338478Sjhb
40338478Sjhb#include <security/pam_appl.h>
41338478Sjhb#include <security/pam_modules.h>
42338478Sjhb
43338478Sjhb/*
44338478Sjhb * XSSO 4.2.2
45338478Sjhb * XSSO 6 page 85
46338478Sjhb *
47338478Sjhb * Service module implementation for pam_set_mapped_username
48338478Sjhb */
49338478Sjhb
50338478Sjhbint
51338478Sjhbpam_sm_set_mapped_username(pam_handle_t *pamh,
52338478Sjhb	char *target_module_username,
53338478Sjhb	char *target_module_type,
54338478Sjhb	char *target_authn_domain,
55338478Sjhb	int argc,
56338478Sjhb	const char **argv)
57338478Sjhb{
58338478Sjhb
59338478Sjhb	ENTER();
60338478Sjhb	RETURNC(PAM_SYSTEM_ERR);
61338478Sjhb}
62338478Sjhb
63338478Sjhb/*
64338478Sjhb * NODOC
65338478Sjhb */
66338478Sjhb