pam_sm_set_mapped_username.c revision 255364
11590Srgrimes/*-
21590Srgrimes * Copyright (c) 2002-2003 Networks Associates Technology, Inc.
388428Smikeh * Copyright (c) 2004-2011 Dag-Erling Sm��rgrav
41590Srgrimes * All rights reserved.
5108980Smikeh *
688428Smikeh * This software was developed for the FreeBSD Project by ThinkSec AS and
788428Smikeh * Network Associates Laboratories, the Security Research Division of
8108982Smikeh * Network Associates, Inc.  under DARPA/SPAWAR contract N66001-01-C-8035
9108982Smikeh * ("CBOSS"), as part of the DARPA CHATS research program.
1088428Smikeh *
111590Srgrimes * Redistribution and use in source and binary forms, with or without
121590Srgrimes * modification, are permitted provided that the following conditions
131590Srgrimes * are met:
141590Srgrimes * 1. Redistributions of source code must retain the above copyright
15108982Smikeh *    notice, this list of conditions and the following disclaimer.
1688428Smikeh * 2. Redistributions in binary form must reproduce the above copyright
171590Srgrimes *    notice, this list of conditions and the following disclaimer in the
181590Srgrimes *    documentation and/or other materials provided with the distribution.
1988428Smikeh * 3. The name of the author may not be used to endorse or promote
2088428Smikeh *    products derived from this software without specific prior written
2188428Smikeh *    permission.
22108980Smikeh *
2388428Smikeh * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
2488428Smikeh * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25108982Smikeh * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26108982Smikeh * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2788428Smikeh * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
281590Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29108980Smikeh * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3088428Smikeh * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3188428Smikeh * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3288428Smikeh * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3388428Smikeh * SUCH DAMAGE.
3488428Smikeh *
3588428Smikeh * $Id: pam_sm_set_mapped_username.c 437 2011-09-13 12:00:13Z des $
361590Srgrimes */
37
38#ifdef HAVE_CONFIG_H
39# include "config.h"
40#endif
41
42#include <sys/param.h>
43
44#include <security/pam_appl.h>
45#include <security/pam_modules.h>
46
47/*
48 * XSSO 4.2.2
49 * XSSO 6 page 85
50 *
51 * Service module implementation for pam_set_mapped_username
52 */
53
54int
55pam_sm_set_mapped_username(pam_handle_t *pamh,
56	char *target_module_username,
57	char *target_module_type,
58	char *target_authn_domain,
59	int argc,
60	const char **argv)
61{
62
63	ENTER();
64	RETURNC(PAM_SYSTEM_ERR);
65}
66
67/*
68 * NODOC
69 */
70