• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/smbd/

Lines Matching refs:user

3    uid/user handling
23 /* what user is current? */
27 Become the guest user without changing the security context stack.
58 Readonly share for this user ?
72 if (!str_list_sub_basic(list, vuser->user.smb_name) ) {
78 if (user_in_list(vuser->user.unix_name, (const char **)list, vuser->groups, vuser->n_groups)) {
86 if (!str_list_sub_basic(list, vuser->user.smb_name) ) {
92 if (user_in_list(vuser->user.unix_name, (const char **)list, vuser->groups, vuser->n_groups)) {
98 DEBUG(10,("is_share_read_only_for_user: share %s is %s for unix user %s\n",
99 service, read_only_ret ? "read-only" : "read-write", vuser->user.unix_name ));
123 if (!user_ok(vuser->user.unix_name,snum, vuser->groups, vuser->n_groups))
148 if (user_in_list(vuser->user.unix_name ,lp_admin_users(conn->service), vuser->groups, vuser->n_groups)) {
161 Become the user of a connection number without changing the security context
189 DEBUG(4,("change_to_user: Skipping user change - already user\n"));
194 DEBUG(4,("change_to_user: Skipping user change - already user\n"));
201 DEBUG(2,("change_to_user: SMB user %s (unix user %s, vuid %d) not permitted access to share %s.\n",
202 vuser->user.smb_name, vuser->user.unix_name, vuid, lp_servicename(snum)));
226 * user code.
235 * Only force group if the user is a member of
237 * this user (we already have this) to
305 Become the user of an authenticated connected named pipe.
307 user. Doesn't modify current_user.
322 Unbecome the user of an authenticated connected named pipe.
324 user and need to go back to being the connection user. Doesn't modify
358 /* Store previous user context */
392 Temporarily become a root user. Must match with unbecome_root(). Saves and
403 /* Unbecome the root user */