pam_sm_set_mapped_username.c revision 174832
1221163Sadrian/*-
2221163Sadrian * Copyright (c) 2002-2003 Networks Associates Technology, Inc.
3221163Sadrian * Copyright (c) 2004-2007 Dag-Erling Sm��rgrav
4221163Sadrian * All rights reserved.
5221163Sadrian *
6221163Sadrian * This software was developed for the FreeBSD Project by ThinkSec AS and
7221163Sadrian * Network Associates Laboratories, the Security Research Division of
8221163Sadrian * Network Associates, Inc.  under DARPA/SPAWAR contract N66001-01-C-8035
9221163Sadrian * ("CBOSS"), as part of the DARPA CHATS research program.
10221163Sadrian *
11221163Sadrian * Redistribution and use in source and binary forms, with or without
12221163Sadrian * modification, are permitted provided that the following conditions
13221163Sadrian * are met:
14221163Sadrian * 1. Redistributions of source code must retain the above copyright
15221163Sadrian *    notice, this list of conditions and the following disclaimer.
16221163Sadrian * 2. Redistributions in binary form must reproduce the above copyright
17221163Sadrian *    notice, this list of conditions and the following disclaimer in the
18221163Sadrian *    documentation and/or other materials provided with the distribution.
19221163Sadrian * 3. The name of the author may not be used to endorse or promote
20221163Sadrian *    products derived from this software without specific prior written
21221163Sadrian *    permission.
22221163Sadrian *
23221163Sadrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
24221163Sadrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25221163Sadrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE.
34 *
35 * $Id: pam_sm_set_mapped_username.c 408 2007-12-21 11:36:24Z des $
36 */
37
38#include <sys/param.h>
39
40#include <security/pam_appl.h>
41#include <security/pam_modules.h>
42
43/*
44 * XSSO 4.2.2
45 * XSSO 6 page 85
46 *
47 * Service module implementation for pam_set_mapped_username
48 */
49
50int
51pam_sm_set_mapped_username(pam_handle_t *pamh,
52	char *target_module_username,
53	char *target_module_type,
54	char *target_authn_domain,
55	int argc,
56	const char **argv)
57{
58
59	ENTER();
60	RETURNC(PAM_SYSTEM_ERR);
61}
62
63/*
64 * NODOC
65 */
66