2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. 2N/A * Request the creation of our per-user smbiod 2N/A * via door call to the "main" IOD service. 2N/A * Adds passwd info to the smbfspasswd file. 2N/A * Removes passwd info(s) from the smbfspasswd file. If pwdinfo is NULL, 2N/A * removes all passwd info for the same user ID. 2N/A * Decodes the door call arguments which is encoded in a buffer via 2N/A * nvlist_pack(). The packed data contains the command and may contain 2N/A * Returns the command and password info if a buffer is supplied to store 2N/A * the password info. 2N/A * Encodes the door arguments, the command and password info, if supplied. 2N/A * To have the nvpair library allocate memory for the pack data, the caller 2N/A * should set the buf pointer to NULL. The memory then should be freed by