svn commit: samba r17111 - in branches: SAMBA_3_0/source/sam SAMBA_3_0_23/source/sam

jerry at samba.org jerry at samba.org
Tue Jul 18 11:56:47 GMT 2006


Author: jerry
Date: 2006-07-18 11:56:46 +0000 (Tue, 18 Jul 2006)
New Revision: 17111

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

Log:
cleanup the idmap_ad initialization after review by gd
Modified:
   branches/SAMBA_3_0/source/sam/idmap_ad.c
   branches/SAMBA_3_0_23/source/sam/idmap_ad.c


Changeset:
Modified: branches/SAMBA_3_0/source/sam/idmap_ad.c
===================================================================
--- branches/SAMBA_3_0/source/sam/idmap_ad.c	2006-07-18 11:54:49 UTC (rev 17110)
+++ branches/SAMBA_3_0/source/sam/idmap_ad.c	2006-07-18 11:56:46 UTC (rev 17111)
@@ -139,13 +139,9 @@
 	return ads;
 }
 
+/* no op */
 static NTSTATUS ad_idmap_init(const char *uri)
 {
-	ad_idmap_uri = SMB_STRDUP(uri);
-	if (ad_idmap_uri == NULL) {
-		return NT_STATUS_NO_MEMORY;
-	}
-
 	return NT_STATUS_OK;
 }
 

Modified: branches/SAMBA_3_0_23/source/sam/idmap_ad.c
===================================================================
--- branches/SAMBA_3_0_23/source/sam/idmap_ad.c	2006-07-18 11:54:49 UTC (rev 17110)
+++ branches/SAMBA_3_0_23/source/sam/idmap_ad.c	2006-07-18 11:56:46 UTC (rev 17111)
@@ -139,13 +139,9 @@
 	return ads;
 }
 
+/* no op */
 static NTSTATUS ad_idmap_init(char *uri)
 {
-	ad_idmap_uri = SMB_STRDUP(uri);
-	if (ad_idmap_uri == NULL) {
-		return NT_STATUS_NO_MEMORY;
-	}
-
 	return NT_STATUS_OK;
 }
 



More information about the samba-cvs mailing list