svn commit: samba r22627 - in branches/SAMBA_4_0/source/auth: .
metze at samba.org
metze at samba.org
Tue May 1 08:43:52 GMT 2007
Author: metze
Date: 2007-05-01 08:43:52 +0000 (Tue, 01 May 2007)
New Revision: 22627
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22627
Log:
fix crash msgs_tmp isn't always initialized
and we don't need an extra allocated string anyway
metze
Modified:
branches/SAMBA_4_0/source/auth/auth_sam.c
Changeset:
Modified: branches/SAMBA_4_0/source/auth/auth_sam.c
===================================================================
--- branches/SAMBA_4_0/source/auth/auth_sam.c 2007-05-01 04:12:54 UTC (rev 22626)
+++ branches/SAMBA_4_0/source/auth/auth_sam.c 2007-05-01 08:43:52 UTC (rev 22627)
@@ -112,7 +112,7 @@
}
ret_domain = gendb_search(sam_ctx, mem_ctx, partitions_basedn, &msgs_domain_ref, domain_ref_attrs,
- "(nCName=%s)", ldb_dn_alloc_linearized(msgs_tmp, domain_dn));
+ "(nCName=%s)", ldb_dn_get_linearized(domain_dn));
if (ret_domain == -1) {
return NT_STATUS_INTERNAL_DB_CORRUPTION;
}
More information about the samba-cvs
mailing list