Searched refs:vuser (Results 1 - 11 of 11) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/smbd/
H A Dpassword.c90 user_struct *vuser = get_valid_user_struct(vuid); local
92 if (vuser == NULL)
95 SAFE_FREE(vuser->homedir);
96 SAFE_FREE(vuser->unix_homedir);
97 SAFE_FREE(vuser->logon_script);
99 session_yield(vuser);
100 SAFE_FREE(vuser->session_keystr);
102 TALLOC_FREE(vuser->server_info);
104 data_blob_free(&vuser->session_key);
106 DLIST_REMOVE(validated_users, vuser);
156 user_struct *vuser = NULL; local
[all...]
H A Duid.c85 static BOOL check_user_ok(connection_struct *conn, user_struct *vuser,int snum) argument
93 if (conn->vuid_cache.array[i].vuid == vuser->vuid) {
101 if (!user_ok_token(vuser->user.unix_name, vuser->nt_user_token, snum))
104 readonly_share = is_share_read_only_for_token(vuser->user.unix_name,
105 vuser->nt_user_token,
109 conn->nt_user_token : vuser->nt_user_token;
132 ent->vuid = vuser->vuid;
136 vuser->user.unix_name, NULL, vuser
152 user_struct *vuser = get_valid_user_struct(vuid); local
[all...]
H A Dsession.c56 BOOL session_claim(user_struct *vuser) argument
71 vuser->session_keystr = NULL;
75 if (vuser->guest) {
107 vuser->vuid);
110 vuser->vuid);
129 fstrcpy(sessionid.username, vuser->user.unix_name);
133 sessionid.uid = vuser->uid;
134 sessionid.gid = vuser->gid;
163 vuser->session_keystr = SMB_STRDUP(keystr);
164 if (!vuser
175 session_yield(user_struct *vuser) argument
[all...]
H A Dservice.c535 Make a connection, given the snum to connect to, and the vuser of the
539 static connection_struct *make_connection_snum(int snum, user_struct *vuser, argument
600 } else if (vuser) {
601 if (vuser->guest) {
611 if (!user_ok_token(vuser->user.unix_name,
612 vuser->nt_user_token, snum)) {
615 "(%s)\n", vuser->user.unix_name,
622 conn->vuid = vuser->vuid;
623 conn->uid = vuser->uid;
624 conn->gid = vuser
1091 user_struct *vuser = NULL; local
[all...]
H A Dsesssetup.c1025 user_struct *vuser = NULL; local
1078 vuser = get_partial_auth_user_struct(vuid);
1079 if (!vuser) {
1085 vuser = get_partial_auth_user_struct(vuid);
1089 if (!vuser) {
1096 vuser = get_partial_auth_user_struct(vuid);
1099 if (!vuser) {
1124 &vuser->auth_ntlmssp_state);
1132 &vuser->auth_ntlmssp_state);
1139 if (!vuser
[all...]
H A Dlanman.c3218 Don't depend on vuser being non-null !!. JRA */
3219 user_struct *vuser = get_valid_user_struct(vuid);
3220 if(vuser != NULL) {
3221 DEBUG(3,(" Username of UID %d is %s\n", (int)vuser->uid,
3222 vuser->user.unix_name));
3294 pstrcpy(p2,((vuser != NULL) ? vuser->user.full_name : UserName));
3307 pstrcpy(p2, vuser && vuser->homedir ? vuser
3217 user_struct *vuser = get_valid_user_struct(vuid); local
3434 user_struct *vuser = get_valid_user_struct(vuid); local
[all...]
H A Dprocess.c944 user_struct *vuser = NULL; local
948 vuser = get_valid_user_struct(session_tag);
949 if (vuser) {
950 set_current_user_info(&vuser->user);
H A Dreply.c1545 user_struct *vuser = get_valid_user_struct(vuid); local
1548 if(vuser == 0)
1549 DEBUG(3,("ulogoff, vuser id %d does not map to user.\n", vuid));
1553 if ((vuser != 0) && (lp_security() != SEC_SHARE))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/rpc_server/
H A Dsrv_pipe_hnd.c283 user_struct *vuser = get_valid_user_struct(vuid); local
287 if (!vuser && vuid != UID_FIELD_INVALID) {
288 DEBUG(0,("ERROR! vuid %d did not map to a valid vuser struct!\n", vuid));
352 if (vuser) {
353 p->session_key = data_blob(vuser->session_key.data, vuser->session_key.length);
355 NULL, vuser->nt_user_token);
H A Dsrv_lsa_nt.c1546 user_struct *vuser = get_valid_user_struct(p->vuid); local
1548 if (vuser == NULL)
1551 fstrcpy(username, vuser->user.smb_name);
1552 fstrcpy(domname, vuser->user.domain);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/printing/
H A Dprinting.c1947 user_struct *vuser; local
1952 if ((vuser = get_valid_user_struct(user->vuid)) != NULL) {
1953 return strequal(pjob->user, vuser->user.smb_name);
2323 user_struct *vuser; local
2398 if ((vuser = get_valid_user_struct(user->vuid)) != NULL) {
2400 standard_sub_basic(vuser->user.smb_name, vuser->user.domain,

Completed in 260 milliseconds