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) 2009, 2012, Oracle and/or its affiliates. All rights reserved. 2N/A * Defines the API exported to smbfs commands and to the 2N/A * MS-style RPC-over-named-pipes library (libndr). 2N/A * Some errno values we need to expose in this API. 2N/A * NB: These two defines are duplicated from the 2N/A * EBADRPC is used for message decoding errors. 2N/A * EAUTH is used for CIFS authentication errors. 2N/A * Share type values for smb_ctx_new, _init 2N/A * Based on NetUseAdd() USE_INFO_[12] _asg_type values 2N/A * They also happen to match: STYPE_DISKTREE, etc. 2N/A * Parse "level" spec. for smb_ctx_parseunc() 2N/A * i.e. whether we require a share name, etc. 2N/A * Authentication type flags 2N/A * See: smb_ctx_setauthflags() 2N/A * Value of the ct_rflags, used to determine the context of request. 2N/A * Context management 2N/A * Additional client context passed from consumers of smbfs_fh_open calls. 2N/A * These context values are set by consumers of smbfs_fh_open calls to 2N/A * facilitate authentication. 2N/A int *,
char *,
int *);
2N/A * The ACL is in the form used by libsec (type=ACE_T) 2N/A * but we need to carry the uid/gid info here too. 2N/A * Get a ZFS-style acl from an FD opened in smbfs. 2N/A * Intentionally similar to: facl_get(3SEC) 2N/A * Allocates an acl_t via libsec. Free with: acl_free(3SEC) 2N/A * Set a ZFS-style acl onto an FD opened in smbfs. 2N/A * Intentionally similar to: facl_set(3SEC) 2N/A * The acl_t must be of type ACE_T (from libsec). 2N/A * Slightly lower-level functions, allowing access to 2N/A * the raw Windows Security Descriptor (SD) 2N/A * The struct i_ntsid is opaque in this I/F. 2N/A * Get an "internal form" SD from the FD (opened in smbfs). 2N/A * Allocates a hierarchy in isdp. Caller must free it via 2N/A * smbfs_acl_free_isd() 2N/A * Set an "internal form" SD onto the FD (opened in smbfs). 2N/A * rather than exporting that header for this library. 2N/A * storage mechanism. This interface is consumed by 2N/A * the smbfs commands like login, logout etc. and by the SMBFS PAM module. 2N/A/* Add a password to the keychain. */ 2N/A/* Add LM-hash and NT-hash (16-bytes) to the keychain. */ 2N/A/* Delete a password from the keychain. */ 2N/A * Check for existence of a keychain entry. 2N/A * Returns 0 if it exists, else ENOENT. 2N/A * Delete all keychain entries owned by the caller. 2N/A * Delete all keychain entries (regardless of owner). 2N/A * Requires super-user privliege. 2N/A * This is not really part of the keychain library, 2N/A * but is typically needed in code that wants to 2N/A * Get default domain and user names 2N/A * Server name is optional. 2N/A#
endif /* _LIBSMBFS_H */