/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/testsuite/printing/ |
H A D | psec.c | 136 fstring sidstr; local 138 sid_to_string(sidstr, &ace->sid); 142 ace_mask_to_str(ace->info.mask), sidstr); 164 fstring keystr, sidstr, tdb_path; local 216 sid_to_string(sidstr, secdesc_ctr->sec->owner_sid); 218 fstrcpy(sidstr, ""); 221 printf("%s\n", sidstr); 224 sid_to_string(sidstr, secdesc_ctr->sec->grp_sid); 226 fstrcpy(sidstr, ""); 229 printf("%s\n", sidstr); 307 fstring sidstr; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/lib/ |
H A D | util_sid.c | 215 BOOL string_to_sid(DOM_SID *sidout, const char *sidstr) argument 222 if ((sidstr[0] != 'S' && sidstr[0] != 's') || sidstr[1] != '-') { 223 DEBUG(3,("string_to_sid: Sid %s does not start with 'S-'.\n", sidstr)); 230 p = sidstr + 2; 233 DEBUG(3,("string_to_sid: Sid %s is not in a valid format.\n", sidstr)); 242 DEBUG(0,("string_to_sid: Sid %s is not in a valid format.\n", sidstr)); 269 DOM_SID *string_sid_talloc(TALLOC_CTX *mem_ctx, const char *sidstr) argument 276 if (!string_to_sid(result, sidstr)) [all...] |
H A D | sharesec.c | 283 fstring sidstr; local 286 if (!next_token(&pacl, sidstr, ":", sizeof(sidstr))) { 292 if (!string_to_sid(&sid, sidstr)) { 294 sidstr ));
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/nsswitch/ |
H A D | idmap_ldap.c | 952 char *sidstr = NULL; local 969 sidstr = smbldap_talloc_single_attribute( 972 if ( ! sidstr) { /* no sid, skip entry */ 991 DEBUG(5, ("Unprobable match on (%s), no uidNumber, nor gidNumber returned\n", sidstr)); 992 TALLOC_FREE(sidstr); 1002 TALLOC_FREE(sidstr); 1010 DEBUG(2, ("WARNING: couldn't match sid (%s) with requested ids\n", sidstr)); 1011 TALLOC_FREE(sidstr); 1015 if ( ! string_to_sid(map->sid, sidstr)) { 1017 TALLOC_FREE(sidstr); 1168 char *sidstr = NULL; local [all...] |
H A D | winbindd_async.c | 965 static BOOL parse_sidlist(TALLOC_CTX *mem_ctx, char *sidstr, argument 970 p = sidstr; 978 DEBUG(0, ("Got invalid sidstr: %s\n", p)); 1131 char *sidstr = NULL; local 1139 if (!print_sidlist(mem_ctx, sids, num_sids, &sidstr, &len)) { 1147 request.extra_data.data = sidstr; 1158 char *sidstr = NULL; local 1167 sidstr = state->request.extra_data.data; 1168 if (sidstr == NULL) { 1169 sidstr [all...] |
H A D | winbindd_ads.c | 449 char *sidstr; local 460 sidstr = sid_binstring(sid); 461 asprintf(&ldap_exp, "(objectSid=%s)", sidstr); 464 free(sidstr); 849 char *sidstr; local 872 if ((sidstr = sid_binstring(group_sid)) == NULL) { 878 if (!(ldap_exp = talloc_asprintf(mem_ctx, "(objectSid=%s)",sidstr))) { 879 SAFE_FREE(sidstr); 884 SAFE_FREE(sidstr);
|
H A D | winbindd_util.c | 251 char *q, *sidstr, *alt_name; local 263 sidstr = strchr(alt_name, '\\'); 264 if (sidstr == NULL) { 269 *sidstr = '\0'; 270 sidstr += 1; 272 q = strchr(sidstr, '\n'); 276 if (!string_to_sid(&sid, sidstr)) { 278 if ( strcmp(sidstr,"S-0-0") == 0) {
|
H A D | idmap_ad.c | 491 char *sidstr; local 535 sidstr = sid_binstring(ids[idx]->sid); 536 filter = talloc_asprintf_append(filter, "(objectSid=%s)", sidstr); 538 free(sidstr);
|
H A D | winbindd_cache.c | 987 const char *sidstr = sid_string_static(sid); local 992 sidstr)); 993 wcache_delete("CRED/%s", sidstr);
|
H A D | winbindd_pam.c | 1601 fstring sidstr; local 1605 sid_to_string(sidstr, &user_sid); 1607 "%s", sidstr);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/python/ |
H A D | py_ntsec.c | 27 fstring sidstr; local 35 if (!sid_to_string(sidstr, sid)) 38 *obj = PyString_FromString(sidstr);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/utils/ |
H A D | smbcacls.c | 165 fstring sidstr; local 169 SidToString(sidstr, &ace->trustee); 171 fprintf(f, "%s:", sidstr); 453 fstring sidstr; local 461 SidToString(sidstr, sd->owner_sid); 463 fstrcpy(sidstr, ""); 466 fprintf(f, "OWNER:%s\n", sidstr); 469 SidToString(sidstr, sd->group_sid); 471 fstrcpy(sidstr, ""); 474 fprintf(f, "GROUP:%s\n", sidstr); [all...] |
H A D | net_usershare.c | 384 fstring sidstr; local 385 sid_to_string(sidstr, &psd->dacl->aces[num_aces].trustee); 386 pstrcat(acl_str,sidstr);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/libsmb/ |
H A D | libsmbclient.c | 4328 fstring sidstr; local 4543 sidstr, 4547 fstrcpy(sidstr, ""); 4553 sidstr); 4559 } else if (sidstr[0] != '\0') { 4561 ",OWNER:%s", sidstr); 4565 p = talloc_asprintf(ctx, "%s", sidstr); 4573 sidstr); 4589 sidstr, numeric, 4592 fstrcpy(sidstr, ""); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/passdb/ |
H A D | pdb_ldap.c | 2473 char *sidstr; local 2477 sidstr = smbldap_talloc_single_attribute(conn->ldap_struct, 2480 if (!sidstr) { 2487 if (!string_to_sid(&sid, sidstr))
|