pam_sm_set_mapped_username.c revision 99158
143412Snewton/*- 243412Snewton * Copyright (c) 2002 Networks Associates Technology, Inc. 343412Snewton * All rights reserved. 443412Snewton * 543412Snewton * This software was developed for the FreeBSD Project by ThinkSec AS and 643412Snewton * Network Associates Laboratories, the Security Research Division of 743412Snewton * Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 843412Snewton * ("CBOSS"), as part of the DARPA CHATS research program. 943412Snewton * 1043412Snewton * Redistribution and use in source and binary forms, with or without 1143412Snewton * modification, are permitted provided that the following conditions 1243412Snewton * are met: 1343412Snewton * 1. Redistributions of source code must retain the above copyright 1443412Snewton * notice, this list of conditions and the following disclaimer. 1543412Snewton * 2. Redistributions in binary form must reproduce the above copyright 1643412Snewton * notice, this list of conditions and the following disclaimer in the 1743412Snewton * documentation and/or other materials provided with the distribution. 1843412Snewton * 3. The name of the author may not be used to endorse or promote 1943412Snewton * products derived from this software without specific prior written 2043412Snewton * permission. 2143412Snewton * 2243412Snewton * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2343412Snewton * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2443412Snewton * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2543412Snewton * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2643412Snewton * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2749267Snewton * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2849267Snewton * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2943412Snewton * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3043412Snewton * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3143412Snewton * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3243412Snewton * SUCH DAMAGE. 3343412Snewton * 3443412Snewton * $P4: //depot/projects/openpam/lib/pam_sm_set_mapped_username.c#4 $ 3543412Snewton */ 3643412Snewton 3743412Snewton#include <sys/param.h> 3843412Snewton 3943412Snewton#include <security/pam_appl.h> 4043412Snewton#include <security/pam_modules.h> 4143412Snewton 4243412Snewton/* 4343412Snewton * XSSO 4.2.2 4443412Snewton * XSSO 6 page 85 4543412Snewton * 4643412Snewton * Service module implementation for pam_set_mapped_username 4743412Snewton */ 4843412Snewton 4943412Snewtonint 5043412Snewtonpam_sm_set_mapped_username(pam_handle_t *pamh, 5143412Snewton char *target_module_username, 5243412Snewton char *target_module_type, 5343412Snewton char *target_authn_domain, 5443412Snewton int argc, 5543412Snewton const char **argv) 5643412Snewton{ 5743412Snewton 5843412Snewton return (PAM_SYSTEM_ERR); 5943412Snewton} 6043412Snewton 6143412Snewton/* 6243412Snewton * NODOC 6343412Snewton */ 6443412Snewton