pam_sm_set_mapped_username.c revision 92289
191586Smarkm/*- 291586Smarkm * Copyright (c) 2002 Networks Associates Technology, Inc. 391586Smarkm * All rights reserved. 491586Smarkm * 591586Smarkm * This software was developed for the FreeBSD Project by ThinkSec AS and 691586Smarkm * NAI Labs, the Security Research Division of Network Associates, Inc. 791586Smarkm * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the 891586Smarkm * DARPA CHATS research program. 991586Smarkm * 1091586Smarkm * Redistribution and use in source and binary forms, with or without 1191586Smarkm * modification, are permitted provided that the following conditions 1291586Smarkm * are met: 1391586Smarkm * 1. Redistributions of source code must retain the above copyright 1491586Smarkm * notice, this list of conditions and the following disclaimer. 1591586Smarkm * 2. Redistributions in binary form must reproduce the above copyright 1691586Smarkm * notice, this list of conditions and the following disclaimer in the 1791586Smarkm * documentation and/or other materials provided with the distribution. 1891586Smarkm * 3. The name of the author may not be used to endorse or promote 1991586Smarkm * products derived from this software without specific prior written 2091586Smarkm * permission. 2191586Smarkm * 2291586Smarkm * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2391586Smarkm * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2491586Smarkm * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2591586Smarkm * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2691586Smarkm * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2791586Smarkm * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2891586Smarkm * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2991586Smarkm * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3091586Smarkm * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3191586Smarkm * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3291586Smarkm * SUCH DAMAGE. 3391586Smarkm * 3491586Smarkm * $P4: //depot/projects/openpam/lib/pam_sm_set_mapped_username.c#3 $ 3591586Smarkm */ 3691586Smarkm 3791586Smarkm#include <sys/param.h> 3891586Smarkm 3991586Smarkm#include <security/pam_appl.h> 4091586Smarkm#include <security/pam_modules.h> 4191586Smarkm 4291586Smarkm/* 4391586Smarkm * XSSO 4.2.2 4491586Smarkm * XSSO 6 page 85 4591586Smarkm * 4691586Smarkm * Service module implementation for pam_set_mapped_username 4791586Smarkm */ 4891586Smarkm 4991586Smarkmint 5091586Smarkmpam_sm_set_mapped_username(pam_handle_t *pamh, 5191586Smarkm char *target_module_username, 5291586Smarkm char *target_module_type, 5391586Smarkm char *target_authn_domain, 5491586Smarkm int argc, 5591586Smarkm const char **argv) 5691586Smarkm{ 5791586Smarkm 5891586Smarkm return (PAM_SYSTEM_ERR); 5991586Smarkm} 6091586Smarkm 61107748Sru/* 62107748Sru * NODOC 63107748Sru */ 6491586Smarkm