svn commit: samba r23838 - in branches: SAMBA_3_2/source/include SAMBA_3_2/source/libads SAMBA_3_2_0/source/include SAMBA_3_2_0/source/libads

gd at samba.org gd at samba.org
Wed Jul 11 13:32:58 GMT 2007


Author: gd
Date: 2007-07-11 13:32:57 +0000 (Wed, 11 Jul 2007)
New Revision: 23838

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

Log:
Allow to store schema and config path in ADS_STRUCT config.

Guenther

Modified:
   branches/SAMBA_3_2/source/include/ads.h
   branches/SAMBA_3_2/source/libads/ads_struct.c
   branches/SAMBA_3_2_0/source/include/ads.h
   branches/SAMBA_3_2_0/source/libads/ads_struct.c


Changeset:
Modified: branches/SAMBA_3_2/source/include/ads.h
===================================================================
--- branches/SAMBA_3_2/source/include/ads.h	2007-07-11 13:30:38 UTC (rev 23837)
+++ branches/SAMBA_3_2/source/include/ads.h	2007-07-11 13:32:57 UTC (rev 23838)
@@ -58,6 +58,8 @@
 		char *client_site_name;
 		time_t current_time;
 		int tried_closest_dc;
+		char *schema_path;
+		char *config_path;
 	} config;
 } ADS_STRUCT;
 

Modified: branches/SAMBA_3_2/source/libads/ads_struct.c
===================================================================
--- branches/SAMBA_3_2/source/libads/ads_struct.c	2007-07-11 13:30:38 UTC (rev 23837)
+++ branches/SAMBA_3_2/source/libads/ads_struct.c	2007-07-11 13:32:57 UTC (rev 23838)
@@ -159,6 +159,8 @@
 		SAFE_FREE((*ads)->config.ldap_server_name);
 		SAFE_FREE((*ads)->config.server_site_name);
 		SAFE_FREE((*ads)->config.client_site_name);
+		SAFE_FREE((*ads)->config.schema_path);
+		SAFE_FREE((*ads)->config.config_path);
 		
 		ZERO_STRUCTP(*ads);
 

Modified: branches/SAMBA_3_2_0/source/include/ads.h
===================================================================
--- branches/SAMBA_3_2_0/source/include/ads.h	2007-07-11 13:30:38 UTC (rev 23837)
+++ branches/SAMBA_3_2_0/source/include/ads.h	2007-07-11 13:32:57 UTC (rev 23838)
@@ -58,6 +58,8 @@
 		char *client_site_name;
 		time_t current_time;
 		int tried_closest_dc;
+		char *schema_path;
+		char *config_path;
 	} config;
 } ADS_STRUCT;
 

Modified: branches/SAMBA_3_2_0/source/libads/ads_struct.c
===================================================================
--- branches/SAMBA_3_2_0/source/libads/ads_struct.c	2007-07-11 13:30:38 UTC (rev 23837)
+++ branches/SAMBA_3_2_0/source/libads/ads_struct.c	2007-07-11 13:32:57 UTC (rev 23838)
@@ -159,6 +159,8 @@
 		SAFE_FREE((*ads)->config.ldap_server_name);
 		SAFE_FREE((*ads)->config.server_site_name);
 		SAFE_FREE((*ads)->config.client_site_name);
+		SAFE_FREE((*ads)->config.schema_path);
+		SAFE_FREE((*ads)->config.config_path);
 		
 		ZERO_STRUCTP(*ads);
 



More information about the samba-cvs mailing list