svn commit: samba r17848 - in branches/SAMBA_4_0/source/libcli/security: .

vlendec at samba.org vlendec at samba.org
Sun Aug 27 10:08:18 GMT 2006


Author: vlendec
Date: 2006-08-27 10:08:18 +0000 (Sun, 27 Aug 2006)
New Revision: 17848

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17848

Log:
Ok, this did not do it. Still got the same problem.
Modified:
   branches/SAMBA_4_0/source/libcli/security/dom_sid.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/security/dom_sid.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/security/dom_sid.c	2006-08-26 22:59:58 UTC (rev 17847)
+++ branches/SAMBA_4_0/source/libcli/security/dom_sid.c	2006-08-27 10:08:18 UTC (rev 17848)
@@ -285,14 +285,7 @@
 		       (unsigned int)sid->sid_rev_num, (unsigned long)ia);
 
 	for (i = 0; i < sid->num_auths; i++) {
-                char *tmp = talloc_asprintf(mem_ctx, "%lu",
-					    (unsigned long)sid->sub_auths[i]);
-                if (tmp == NULL) {
-                        talloc_free(ret);
-                        return NULL;
-                }
-                ofs += snprintf(ret + ofs, maxlen - ofs, "-%s", tmp);
-                talloc_free(tmp);
+		ofs += snprintf(ret + ofs, maxlen - ofs, "-%lu", (unsigned long)sid->sub_auths[i]);
 	}
 	
 	return ret;



More information about the samba-cvs mailing list