srvsvc_svc.c (6a634c9dca3093f3922e4b7ab826d7bdf17bf78e) | srvsvc_svc.c (68b2bbf26c7040fea4281dcb58b81e7627e46f34) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 7 unchanged lines hidden (view full) --- 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21 22/* 23 * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 7 unchanged lines hidden (view full) --- 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21 22/* 23 * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. |
24 * Copyright 2013 Nexenta Systems, Inc. All rights reserved. |
|
24 */ 25 26/* 27 * Server Service RPC (SRVSVC) server-side interface definition. 28 * The server service provides a remote administration interface. 29 * 30 * This service uses NERR/Win32 error codes rather than NT status 31 * values. --- 2640 unchanged lines hidden (view full) --- 2672 * srvsvc_add_autohome 2673 * 2674 * Add the autohome share for the user. The share must not be a permanent 2675 * share to avoid duplicates. 2676 */ 2677static boolean_t 2678srvsvc_add_autohome(ndr_xa_t *mxa, smb_svcenum_t *se, void *infop) 2679{ | 25 */ 26 27/* 28 * Server Service RPC (SRVSVC) server-side interface definition. 29 * The server service provides a remote administration interface. 30 * 31 * This service uses NERR/Win32 error codes rather than NT status 32 * values. --- 2640 unchanged lines hidden (view full) --- 2673 * srvsvc_add_autohome 2674 * 2675 * Add the autohome share for the user. The share must not be a permanent 2676 * share to avoid duplicates. 2677 */ 2678static boolean_t 2679srvsvc_add_autohome(ndr_xa_t *mxa, smb_svcenum_t *se, void *infop) 2680{ |
2680 smb_netuserinfo_t *user = &mxa->pipe->np_user; | 2681 smb_netuserinfo_t *user = mxa->pipe->np_user; |
2681 char *username; 2682 smb_share_t si; 2683 DWORD status; 2684 struct passwd pw; 2685 char buf[NSS_LINELEN_PASSWD]; 2686 2687 if (IDMAP_ID_IS_EPHEMERAL(user->ui_posix_uid)) { 2688 username = user->ui_account; --- 457 unchanged lines hidden --- | 2682 char *username; 2683 smb_share_t si; 2684 DWORD status; 2685 struct passwd pw; 2686 char buf[NSS_LINELEN_PASSWD]; 2687 2688 if (IDMAP_ID_IS_EPHEMERAL(user->ui_posix_uid)) { 2689 username = user->ui_account; --- 457 unchanged lines hidden --- |