/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/libsmb/ |
H A D | samlogon_cache.c | 114 DOM_SID user_sid; local 124 sid_copy( &user_sid, &user->dom_sid.sid ); 125 sid_append_rid( &user_sid, user->user_rid ); 128 slprintf(keystr, sizeof(keystr), "%s", sid_string_static(&user_sid)); 176 NET_USER_INFO_3* netsamlogon_cache_get( TALLOC_CTX *mem_ctx, const DOM_SID *user_sid) argument 190 slprintf(keystr, sizeof(keystr), "%s", sid_string_static(user_sid)); 240 BOOL netsamlogon_cache_have(const DOM_SID *user_sid) argument 249 user = netsamlogon_cache_get(mem_ctx, user_sid);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/nsswitch/ |
H A D | winbindd_creds.c | 61 const DOM_SID *user_sid) 75 } else if (user_sid != NULL) { 77 sid_copy(&cred_sid, user_sid); 56 winbindd_store_creds(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const char *user, const char *pass, NET_USER_INFO_3 *info3, const DOM_SID *user_sid) argument
|
H A D | winbindd_reconnect.c | 155 const DOM_SID *user_sid, 160 result = msrpc_methods.query_user(domain, mem_ctx, user_sid, 164 result = msrpc_methods.query_user(domain, mem_ctx, user_sid, 173 const DOM_SID *user_sid, 179 user_sid, num_groups, 184 user_sid, num_groups, 153 query_user(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const DOM_SID *user_sid, WINBIND_USERINFO *user_info) argument 171 lookup_usergroups(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const DOM_SID *user_sid, uint32 *num_groups, DOM_SID **user_gids) argument
|
H A D | winbindd_user.c | 72 DOM_SID *user_sid, DOM_SID *group_sid, 84 if (!NT_STATUS_IS_OK(idmap_sid_to_uid(user_sid, &pw->pw_uid))) { 85 DEBUG(1, ("error getting user id for sid %s\n", sid_to_string(sid_string, user_sid))); 178 DOM_SID user_sid; member in struct:getpwsid_state 213 sid_copy(&s->user_sid, sid); 237 sid_string_static(&s->user_sid))); 255 winbindd_sid2uid_async(s->state->mem_ctx, &s->user_sid, 408 DOM_SID user_sid; local 420 string_to_sid(&user_sid, sid); 421 winbindd_getpwsid(state, &user_sid); 71 winbindd_fill_pwent(char *dom_name, char *user_name, DOM_SID *user_sid, DOM_SID *group_sid, char *full_name, char *homedir, char *shell, struct winbindd_pw *pw) argument [all...] |
H A D | winbindd.h | 106 DOM_SID user_sid; /* NT user and primary group SIDs */ member in struct:getpwent_user 119 DOM_SID user_sid; /* NT user and primary group SIDs */ member in struct:__anon5837 261 const DOM_SID *user_sid, 269 const DOM_SID *user_sid,
|
H A D | nss_info.c | 257 NTSTATUS nss_get_info( const char *domain, const DOM_SID *user_sid, argument 274 return m->get_nss_info( p, user_sid, ctx, ads, msg,
|
H A D | winbindd_group.c | 1249 DOM_SID user_sid; member in struct:getgroups_state 1342 sid_copy(&s->user_sid, sid); 1344 winbindd_gettoken_async(s->state->mem_ctx, &s->user_sid, 1389 if (sid_equal(sid, &s->user_sid)) { 1423 DOM_SID *user_sid; local 1428 user_sid = TALLOC_P(state->mem_ctx, DOM_SID); 1429 if (user_sid == NULL) { 1435 if (!string_to_sid(user_sid, state->request.data.sid)) { 1442 winbindd_gettoken_async(state->mem_ctx, user_sid, getusersids_recv, 1489 DOM_SID user_sid; local 1516 DOM_SID user_sid; local [all...] |
H A D | winbindd_rpc.c | 106 sid_compose(&(*info)[i].user_sid, &domain->sid, rid); 387 const DOM_SID *user_sid, 399 sid_to_string(sid_string, user_sid))); 401 if (!sid_peek_check_rid(&domain->sid, user_sid, &user_rid)) 406 if ( (user = netsamlogon_cache_get( mem_ctx, user_sid )) != NULL ) 410 sid_string_static(user_sid))); 412 sid_compose(&user_info->user_sid, &domain->sid, user_rid); 453 sid_compose(&user_info->user_sid, &domain->sid, user_rid); 470 const DOM_SID *user_sid, 483 sid_to_string(sid_string, user_sid))); 385 query_user(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const DOM_SID *user_sid, WINBIND_USERINFO *user_info) argument 468 lookup_usergroups(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const DOM_SID *user_sid, uint32 *num_groups, DOM_SID **user_grpsids) argument [all...] |
H A D | winbindd_passdb.c | 159 const DOM_SID *user_sid, 168 const DOM_SID *user_sid, 181 if ( !pdb_getsampwsid( user, user_sid ) ) { 157 query_user(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const DOM_SID *user_sid, WINBIND_USERINFO *user_info) argument 166 lookup_usergroups(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const DOM_SID *user_sid, uint32 *num_groups, DOM_SID **user_gids) argument
|
H A D | winbindd_cache.c | 852 if (is_null_sid(&info->user_sid)) { 864 centry_put_sid(centry, &info->user_sid); 866 centry_end(centry, "U/%s", sid_to_string(sid_string, &info->user_sid)); 1099 centry_sid(centry, mem_ctx, &(*info)[i].user_sid); 1159 centry_put_sid(centry, &(*info)[i].user_sid); 1166 &(*info)[i].user_sid, 1169 &(*info)[i].user_sid, 1595 const DOM_SID *user_sid, 1605 centry = wcache_fetch(cache, domain, "U/%s", sid_string_static(user_sid)); 1612 netsamlogon_cache_have(user_sid)) { 1593 query_user(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const DOM_SID *user_sid, WINBIND_USERINFO *info) argument 1659 lookup_usergroups(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const DOM_SID *user_sid, uint32 *num_groups, DOM_SID **user_gids) argument [all...] |
H A D | winbindd_async.c | 1239 DOM_SID user_sid; member in struct:gettoken_state 1257 void winbindd_gettoken_async(TALLOC_CTX *mem_ctx, const DOM_SID *user_sid, argument 1274 sid_copy(&state->user_sid, user_sid); 1281 domain = find_domain_from_sid_noinit(user_sid); 1284 sid_string_static(user_sid))); 1291 fstrcpy(request.data.sid, sid_string_static(user_sid)); 1317 if ( !sid_check_is_in_our_domain( &state->user_sid ) ) { 1327 if (!add_sid_to_array(mem_ctx, &state->user_sid, &state->sids,
|
H A D | winbindd_ads.c | 204 DOM_SID user_sid; local 215 if ( ads_pull_sid( ads, msg, "objectSid", &user_sid ) ) { 216 status = nss_get_info( domain->name, &user_sid, mem_ctx, 226 &(*info)[i].user_sid)) { 494 sid_copy(&info->user_sid, sid);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/include/ |
H A D | nss_info.h | 83 NTSTATUS nss_get_info( const char *domain, const DOM_SID *user_sid,
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/examples/nss/ |
H A D | nss_winbind.h | 71 int nss_getusersids(struct nss_state *nss, const char *user_sid, char ***sids);
|
H A D | nss_winbind.c | 223 int nss_getusersids(struct nss_state *nss, const char *user_sid, char ***sids) argument 247 status = _nss_getusersids(user_sid, &s, &num_groups, buf, bufsize,
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/libmsrpc/ |
H A D | cac_lsarpc.c | 656 DOM_SID *user_sid = NULL; local 665 NULL, &user_sid, &type ); 670 op->in.sid = user_sid; 922 DOM_SID *user_sid = NULL; local 931 NULL, &user_sid, &type ); 936 op->in.sid = user_sid; 966 DOM_SID *user_sid = NULL; local 1001 NULL, &user_sid, &type ); 1006 op->in.sid = user_sid; 1028 DOM_SID *user_sid local 1090 DOM_SID *user_sid = NULL; local 1150 DOM_SID *user_sid = NULL; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/utils/ |
H A D | pdbedit.c | 409 const char *user_sid, const char *user_domain, 476 if (user_sid) { 478 if (!string_to_sid(&u_sid, user_sid)) { 482 if (sscanf(user_sid, "%d", &u_rid) != 1) { 514 const char *profile, char *user_sid, BOOL stdin_get) 568 if (user_sid) { 570 if (!string_to_sid(&u_sid, user_sid)) { 574 if (sscanf(user_sid, "%d", &u_rid) != 1) { 753 static char *user_sid = NULL; local 775 {"user SID", 'U', POPT_ARG_STRING, &user_sid, 404 set_user_info(struct pdb_methods *in, const char *username, const char *fullname, const char *homedir, const char *acct_desc, const char *drive, const char *script, const char *profile, const char *account_control, const char *user_sid, const char *user_domain, const BOOL badpw, const BOOL hours) argument 511 new_user(struct pdb_methods *in, const char *username, const char *fullname, const char *homedir, const char *drive, const char *script, const char *profile, char *user_sid, BOOL stdin_get) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/loginutils/ |
H A D | login.c | 238 USE_SELINUX(security_context_t user_sid = NULL;) 388 if (get_default_context(username, NULL, &user_sid)) { 396 if (security_compute_relabel(user_sid, old_tty_sid, 443 set_current_security_context(user_sid);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/lib/ |
H A D | afs.c | 221 const DOM_SID *user_sid; local 232 user_sid = ¤t_user.nt_user_token->user_sids[0]; 233 pstring_sub(afs_username, "%s", sid_string_static(user_sid));
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/testsuite/printing/ |
H A D | psec.c | 260 DOM_SID user_sid, group_sid; local 292 string_to_sid(&user_sid, line); 334 has_user_sid ? &user_sid : NULL,
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/auth/ |
H A D | auth_util.c | 31 const DOM_SID *user_sid, 834 const DOM_SID *user_sid, 844 DEBUG(10, ("Create local NT token for %s\n", sid_string_static(user_sid))); 853 if (!add_sid_to_array(result, user_sid, 1081 DOM_SID user_sid; local 1097 NULL, NULL, &user_sid, &type)) { 1108 if (!sid_to_uid(&user_sid, uid)) { 1110 username, sid_string_static(&user_sid))); 1114 if (sid_check_is_in_our_domain(&user_sid)) { 1125 if (!pdb_getsampwsid(sam_acct, &user_sid)) { 833 create_local_nt_token(TALLOC_CTX *mem_ctx, const DOM_SID *user_sid, BOOL is_guest, int num_groupsids, const DOM_SID *groupsids) argument 1792 DOM_SID user_sid; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/passdb/ |
H A D | passdb.c | 214 DOM_SID user_sid; local 221 sid_copy( &user_sid, get_global_sam_sid() ); 222 sid_append_rid( &user_sid, user_rid ); 224 if ( !pdb_set_user_sid(user, &user_sid, PDB_SET) ) { 577 DOM_SID user_sid; local 588 sid_copy(&user_sid, pdb_get_user_sid(sam_account)); 594 if (!sid_check_is_in_our_domain(&user_sid)) { 596 user, sid_string_static(&user_sid))); 600 sid_peek_rid(&user_sid, rid);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/examples/LDAP/smbldap-tools-0.9.2/ |
H A D | smbldap-useradd | 192 my $user_sid; 207 $user_sid="$config{SID}-$userRid"; 208 my $test_exist_sid=does_sid_exist($user_sid,$config{usersdn}); 298 add => [sambaSID => "$user_sid"],
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/examples/LDAP/smbldap-tools-0.9.2/doc/ |
H A D | smbldap-migrate-unix-accounts | 118 my $user_sid = "$config{SID}-$userRid"; 119 my $test_exist_sid = does_sid_exist($user_sid,$config{usersdn}); 129 $entry->replace( 'sambaSID' => $user_sid );
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/rpc_server/ |
H A D | srv_samr_nt.c | 757 static BOOL check_change_pw_access(TALLOC_CTX *mem_ctx, DOM_SID *user_sid) argument 768 ret = pdb_getsampwsid(sampass, user_sid); 772 DEBUG(4,("User %s not found\n", sid_string_static(user_sid))); 1866 static NTSTATUS get_user_info_7(TALLOC_CTX *mem_ctx, SAM_USER_INFO_7 *id7, DOM_SID *user_sid) argument 1876 ret = pdb_getsampwsid(smbpass, user_sid); 1880 DEBUG(4,("User %s not found\n", sid_string_static(user_sid))); 1897 static NTSTATUS get_user_info_9(TALLOC_CTX *mem_ctx, SAM_USER_INFO_9 * id9, DOM_SID *user_sid) argument 1907 ret = pdb_getsampwsid(smbpass, user_sid); 1911 DEBUG(4,("User %s not found\n", sid_string_static(user_sid))); 1929 static NTSTATUS get_user_info_16(TALLOC_CTX *mem_ctx, SAM_USER_INFO_16 *id16, DOM_SID *user_sid) argument 1963 get_user_info_18(pipes_struct *p, TALLOC_CTX *mem_ctx, SAM_USER_INFO_18 * id18, DOM_SID *user_sid) argument 2011 get_user_info_20(TALLOC_CTX *mem_ctx, SAM_USER_INFO_20 *id20, DOM_SID *user_sid) argument 2045 get_user_info_21(TALLOC_CTX *mem_ctx, SAM_USER_INFO_21 *id21, DOM_SID *user_sid, DOM_SID *domain_sid) argument 4171 DOM_SID user_sid; local [all...] |