svn commit: samba r23654 - in branches: SAMBA_3_0/source/libads SAMBA_3_0_25/source/libads SAMBA_3_0_26/source/libads

gd at samba.org gd at samba.org
Fri Jun 29 11:54:30 GMT 2007


Author: gd
Date: 2007-06-29 11:54:29 +0000 (Fri, 29 Jun 2007)
New Revision: 23654

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

Log:
Remove misleading inline comment.

Guenther

Modified:
   branches/SAMBA_3_0/source/libads/dns.c
   branches/SAMBA_3_0_25/source/libads/dns.c
   branches/SAMBA_3_0_26/source/libads/dns.c


Changeset:
Modified: branches/SAMBA_3_0/source/libads/dns.c
===================================================================
--- branches/SAMBA_3_0/source/libads/dns.c	2007-06-29 11:07:19 UTC (rev 23653)
+++ branches/SAMBA_3_0/source/libads/dns.c	2007-06-29 11:54:29 UTC (rev 23654)
@@ -637,8 +637,6 @@
 /****************************************************************************
  Store the AD client sitename.
  We store indefinately as every new CLDAP query will re-write this.
- If the sitename is "Default-First-Site-Name" we don't store it
- as this isn't a valid DNS name.
 ****************************************************************************/
 
 BOOL sitename_store(const char *realm, const char *sitename)
@@ -652,7 +650,7 @@
 	}
 
 	if (!realm || (strlen(realm) == 0)) {
-		DEBUG(0,("no realm\n"));
+		DEBUG(0,("sitename_store: no realm\n"));
 		return False;
 	}
 	
@@ -723,7 +721,7 @@
 	char *new_sitename;
 
 	if (!realm || (strlen(realm) == 0)) {
-		DEBUG(0,("no realm\n"));
+		DEBUG(0,("stored_sitename_changed: no realm\n"));
 		return False;
 	}
 

Modified: branches/SAMBA_3_0_25/source/libads/dns.c
===================================================================
--- branches/SAMBA_3_0_25/source/libads/dns.c	2007-06-29 11:07:19 UTC (rev 23653)
+++ branches/SAMBA_3_0_25/source/libads/dns.c	2007-06-29 11:54:29 UTC (rev 23654)
@@ -606,8 +606,6 @@
 /****************************************************************************
  Store the AD client sitename.
  We store indefinately as every new CLDAP query will re-write this.
- If the sitename is "Default-First-Site-Name" we don't store it
- as this isn't a valid DNS name.
 ****************************************************************************/
 
 BOOL sitename_store(const char *realm, const char *sitename)
@@ -621,7 +619,7 @@
 	}
 
 	if (!realm || (strlen(realm) == 0)) {
-		DEBUG(0,("no realm\n"));
+		DEBUG(0,("sitename_store: no realm\n"));
 		return False;
 	}
 	
@@ -692,7 +690,7 @@
 	char *new_sitename;
 
 	if (!realm || (strlen(realm) == 0)) {
-		DEBUG(0,("no realm\n"));
+		DEBUG(0,("stored_sitename_changed: no realm\n"));
 		return False;
 	}
 

Modified: branches/SAMBA_3_0_26/source/libads/dns.c
===================================================================
--- branches/SAMBA_3_0_26/source/libads/dns.c	2007-06-29 11:07:19 UTC (rev 23653)
+++ branches/SAMBA_3_0_26/source/libads/dns.c	2007-06-29 11:54:29 UTC (rev 23654)
@@ -637,8 +637,6 @@
 /****************************************************************************
  Store the AD client sitename.
  We store indefinately as every new CLDAP query will re-write this.
- If the sitename is "Default-First-Site-Name" we don't store it
- as this isn't a valid DNS name.
 ****************************************************************************/
 
 BOOL sitename_store(const char *realm, const char *sitename)
@@ -652,7 +650,7 @@
 	}
 
 	if (!realm || (strlen(realm) == 0)) {
-		DEBUG(0,("no realm\n"));
+		DEBUG(0,("sitename_store: no realm\n"));
 		return False;
 	}
 	
@@ -723,7 +721,7 @@
 	char *new_sitename;
 
 	if (!realm || (strlen(realm) == 0)) {
-		DEBUG(0,("no realm\n"));
+		DEBUG(0,("stored_sitename_changed: no realm\n"));
 		return False;
 	}
 



More information about the samba-cvs mailing list