naga_kishore_kommuri at yahoo.com
2011-Jun-13 05:35 UTC
[Samba] Out of memory error while calling smbc_getxattr().
Hi, I'm using samba 3.2.6 and getting the following error whille calling? smbc_getxattr(). cli_lsa_lookup_sids_noalloc(): out of memory Here is the relavent code snippet of the function cli_lsa_lookup_sids_noalloc()... if (dom_idx != 0xffffffff) { ??????????????????????? dom_name = ref_domains->domains[dom_idx].name.string; ??????????????????????? name = lsa_names.names[i].name.string; ??????????????????????? if (name) { ??????????????????????????????? (names)[i] = talloc_strdup(mem_ctx, name); ??????????????????????????????? if ((names)[i] == NULL) { ??????????????????????????????????????? DEBUG(0, ("cli_lsa_lookup_sids_noalloc(): out of memory\n")); ??????????????????????????????????????? result = NT_STATUS_UNSUCCESSFUL; ??????????????????????????????????????? goto done; ??????????????????????????????? } ??????????????????????? } else { ??????????????????????????????? (names)[i] = NULL; ??????????????????????? } ??????????????????????? (domains)[i] = talloc_strdup(mem_ctx, dom_name); ??????????????????????? (types)[i] = lsa_names.names[i].sid_type; ??????????????????????? if (((domains)[i] == NULL)) { ??????????????????????????????? DEBUG(0, ("cli_lsa_lookup_sids_noalloc(): out of memory\n")); ??????????????????????????????? result = NT_STATUS_UNSUCCESSFUL; ??????????????????????????????? goto done; ??????????????????????? } ??????????????? } else { ??????????????????????? (names)[i] = NULL; ??????????????????????? (domains)[i] = NULL; ??????????????????????? (types)[i] = SID_NAME_UNKNOWN; ??????????????? } Is there any patch for this issue? thanks, -Kishore
Volker Lendecke
2011-Jun-15 14:29 UTC
[Samba] Out of memory error while calling smbc_getxattr().
On Sun, Jun 12, 2011 at 10:35:51PM -0700, naga_kishore_kommuri at yahoo.com wrote:> Hi, > I'm using samba 3.2.6 and getting the following error whille calling? smbc_getxattr().3.2 arrived at 3.2.15 more than a year ago. You might try to upgrade first, best to 3.5.9. This problem rings a distant bell, I would really guess that it is already solved. Volker -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen
Possibly Parallel Threads
- Segmentation fault in smbc_getxattr()->...->convert_sid_to_string() in samba-3.2.6
- Question about smbc_stat() and smbc_statvfs() in libsmbclient
- Couldn't verify trusting domain account. Error was NT_STATUS_OK (Samba 3.0.4)
- Question about smbc_stat() and smbc_statvfs() in libsmbclient
- How do i get file attributes using samba.