svn commit: samba r16685 - in branches/SAMBA_3_0/source/libads: .
jra at samba.org
jra at samba.org
Thu Jun 29 17:11:20 GMT 2006
Author: jra
Date: 2006-06-29 17:11:14 +0000 (Thu, 29 Jun 2006)
New Revision: 16685
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16685
Log:
Fix bug #3901 reported by jason at ncac.gwu.edu.
Jeremy.
Modified:
branches/SAMBA_3_0/source/libads/ldap.c
Changeset:
Modified: branches/SAMBA_3_0/source/libads/ldap.c
===================================================================
--- branches/SAMBA_3_0/source/libads/ldap.c 2006-06-29 17:11:12 UTC (rev 16684)
+++ branches/SAMBA_3_0/source/libads/ldap.c 2006-06-29 17:11:14 UTC (rev 16685)
@@ -1408,7 +1408,7 @@
ADS_STATUS ret;
TALLOC_CTX *ctx;
LDAPMessage *res = NULL;
- char *host_spn, *psp1, *psp2, *psp3;
+ char *psp1, *psp2, *psp3;
ADS_MODLIST mods;
fstring my_fqdn;
char *dn_string = NULL;
@@ -1433,12 +1433,6 @@
name_to_fqdn(my_fqdn, machine_name);
strlower_m(my_fqdn);
- if (!(host_spn = talloc_asprintf(ctx, "HOST/%s", my_fqdn))) {
- talloc_destroy(ctx);
- ads_msgfree(ads, res);
- return ADS_ERROR(LDAP_NO_MEMORY);
- }
-
/* Add the extra principal */
psp1 = talloc_asprintf(ctx, "%s/%s", spn, machine_name);
if (!psp1) {
More information about the samba-cvs
mailing list