pam_sm_set_mapped_username.c revision 91100
1171626Scognet/*-
2171626Scognet * Copyright (c) 2002 Networks Associates Technologies, Inc.
3171626Scognet * All rights reserved.
4171626Scognet *
5171626Scognet * This software was developed for the FreeBSD Project by ThinkSec AS and
6171626Scognet * NAI Labs, the Security Research Division of Network Associates, Inc.
7171626Scognet * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the
8171626Scognet * DARPA CHATS research program.
9171626Scognet *
10171626Scognet * Redistribution and use in source and binary forms, with or without
11171626Scognet * modification, are permitted provided that the following conditions
12171626Scognet * are met:
13171626Scognet * 1. Redistributions of source code must retain the above copyright
14171626Scognet *    notice, this list of conditions and the following disclaimer.
15171626Scognet * 2. Redistributions in binary form must reproduce the above copyright
16171626Scognet *    notice, this list of conditions and the following disclaimer in the
17171626Scognet *    documentation and/or other materials provided with the distribution.
18171626Scognet * 3. The name of the author may not be used to endorse or promote
19171626Scognet *    products derived from this software without specific prior written
20171626Scognet *    permission.
21171626Scognet *
22171626Scognet * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
23171626Scognet * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24171626Scognet * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25171626Scognet * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
26171626Scognet * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27171626Scognet * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28171626Scognet * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29171626Scognet * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30171626Scognet * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31171626Scognet * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32171626Scognet * SUCH DAMAGE.
33171626Scognet *
34171626Scognet * $Id$
35171626Scognet */
36171626Scognet
37171626Scognet#include <sys/param.h>
38171626Scognet
39171626Scognet#include <security/pam_appl.h>
40171626Scognet#include <security/pam_modules.h>
41171626Scognet
42171626Scognet/*
43236987Simp * XSSO 4.2.2
44171626Scognet * XSSO 6 page 85
45171626Scognet *
46171626Scognet * Service module implementation for pam_set_mapped_username
47171626Scognet */
48171626Scognet
49171626Scognetint
50171626Scognetpam_sm_set_mapped_username(pam_handle_t *pamh,
51171626Scognet	char *target_module_username,
52171626Scognet	char *target_module_type,
53171626Scognet	char *target_authn_domain,
54171626Scognet	int argc,
55171626Scognet	const char **argv)
56171626Scognet{
57171626Scognet
58171626Scognet	return (PAM_SYSTEM_ERR);
59171626Scognet}
60171626Scognet
61171626Scognet/*
62171626Scognet * NODOC
63171626Scognet */
64171626Scognet