pam_set_mapped_username.c revision 228690
1234353Sdim/*-
2193323Sed * Copyright (c) 2002-2003 Networks Associates Technology, Inc.
3193323Sed * Copyright (c) 2004-2011 Dag-Erling Sm��rgrav
4193323Sed * All rights reserved.
5193323Sed *
6193323Sed * This software was developed for the FreeBSD Project by ThinkSec AS and
7193323Sed * Network Associates Laboratories, the Security Research Division of
8193323Sed * Network Associates, Inc.  under DARPA/SPAWAR contract N66001-01-C-8035
9193323Sed * ("CBOSS"), as part of the DARPA CHATS research program.
10224145Sdim *
11193323Sed * Redistribution and use in source and binary forms, with or without
12193323Sed * modification, are permitted provided that the following conditions
13193323Sed * are met:
14193323Sed * 1. Redistributions of source code must retain the above copyright
15193323Sed *    notice, this list of conditions and the following disclaimer.
16193323Sed * 2. Redistributions in binary form must reproduce the above copyright
17249423Sdim *    notice, this list of conditions and the following disclaimer in the
18249423Sdim *    documentation and/or other materials provided with the distribution.
19224145Sdim * 3. The name of the author may not be used to endorse or promote
20193323Sed *    products derived from this software without specific prior written
21193323Sed *    permission.
22224145Sdim *
23224145Sdim * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
24224145Sdim * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25193323Sed * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26193323Sed * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
27193323Sed * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28193323Sed * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29224145Sdim * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30193323Sed * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31193323Sed * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32193323Sed * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33193323Sed * SUCH DAMAGE.
34193323Sed *
35193323Sed * $Id: pam_set_mapped_username.c 437 2011-09-13 12:00:13Z des $
36243830Sdim */
37243830Sdim
38243830Sdim#ifdef HAVE_CONFIG_H
39243830Sdim# include "config.h"
40193323Sed#endif
41243830Sdim
42243830Sdim#include <security/pam_appl.h>
43234353Sdim
44243830Sdim/*
45243830Sdim * XSSO 4.2.1
46249423Sdim * XSSO 6 page 64
47249423Sdim *
48249423Sdim * Set a username
49249423Sdim */
50239462Sdim
51249423Sdimint
52239462Sdimpam_set_mapped_username(pam_handle_t *pamh,
53243830Sdim	char *src_username,
54193323Sed	char *src_module_type,
55193323Sed	char *src_authn_domain,
56193323Sed	char *target_module_username,
57193323Sed	char *target_module_type,
58193323Sed	char *target_authn_domain)
59243830Sdim{
60224145Sdim
61193323Sed	ENTER();
62193323Sed	RETURNC(PAM_SYSTEM_ERR);
63193323Sed}
64193323Sed
65243830Sdim/*
66193323Sed * NODOC
67193323Sed */
68243830Sdim