pam_set_mapped_username.c revision 92289
1114402Sru/*-
2114402Sru * Copyright (c) 2002 Networks Associates Technology, Inc.
3114402Sru * All rights reserved.
4114402Sru *
5114402Sru * This software was developed for the FreeBSD Project by ThinkSec AS and
6114402Sru * NAI Labs, the Security Research Division of Network Associates, Inc.
7114402Sru * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the
8114402Sru * DARPA CHATS research program.
9114402Sru *
10114402Sru * Redistribution and use in source and binary forms, with or without
11114402Sru * modification, are permitted provided that the following conditions
12114402Sru * are met:
13114402Sru * 1. Redistributions of source code must retain the above copyright
14114402Sru *    notice, this list of conditions and the following disclaimer.
15114402Sru * 2. Redistributions in binary form must reproduce the above copyright
16114402Sru *    notice, this list of conditions and the following disclaimer in the
17114402Sru *    documentation and/or other materials provided with the distribution.
18114402Sru * 3. The name of the author may not be used to endorse or promote
19114402Sru *    products derived from this software without specific prior written
20151497Sru *    permission.
21114402Sru *
22114402Sru * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
23114402Sru * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24114402Sru * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25114402Sru * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
26114402Sru * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27114402Sru * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28114402Sru * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29114402Sru * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30114402Sru * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31114402Sru * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32114402Sru * SUCH DAMAGE.
33114402Sru *
34114402Sru * $P4: //depot/projects/openpam/lib/pam_set_mapped_username.c#5 $
35114402Sru */
36114402Sru
37114402Sru#include <security/pam_appl.h>
38114402Sru
39114402Sru/*
40114402Sru * XSSO 4.2.1
41114402Sru * XSSO 6 page 64
42114402Sru *
43114402Sru * Set a username
44114402Sru */
45114402Sru
46114402Sruint
47114402Srupam_set_mapped_username(pam_handle_t *pamh,
48114402Sru	char *src_username,
49114402Sru	char *src_module_type,
50114402Sru	char *src_authn_domain,
51114402Sru	char *target_module_username,
52114402Sru	char *target_module_type,
53114402Sru	char *target_authn_domain)
54114402Sru{
55114402Sru
56114402Sru	return (PAM_SYSTEM_ERR);
57114402Sru}
58114402Sru
59114402Sru/*
60114402Sru * NODOC
61114402Sru */
62114402Sru