svn commit: samba r13513 - branches/SAMBA_3_0/source/param trunk/source/param

jerry at samba.org jerry at samba.org
Wed Feb 15 18:27:08 GMT 2006


Author: jerry
Date: 2006-02-15 18:27:06 +0000 (Wed, 15 Feb 2006)
New Revision: 13513

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

Log:
Changing defaults:

  * enable privileges = yes
  * enable asu support = no

Remove unused function after the tdbsam rewrite.


Modified:
   branches/SAMBA_3_0/source/param/loadparm.c
   trunk/source/param/loadparm.c


Changeset:
Modified: branches/SAMBA_3_0/source/param/loadparm.c
===================================================================
--- branches/SAMBA_3_0/source/param/loadparm.c	2006-02-15 18:26:06 UTC (rev 13512)
+++ branches/SAMBA_3_0/source/param/loadparm.c	2006-02-15 18:27:06 UTC (rev 13513)
@@ -1646,13 +1646,8 @@
 	Globals.bDeferSharingViolations = True;
 	string_set(&Globals.smb_ports, SMB_PORTS);
 
-	/* don't enable privileges by default since Domain 
-	   Admins can then assign thr rights to perform certain 
-	   operations as root */
-
-	Globals.bEnablePrivileges = False;
-
-	Globals.bASUSupport       = True;
+	Globals.bEnablePrivileges = True;
+	Globals.bASUSupport       = False;
 	
 	/* User defined shares. */
 	pstrcpy(s, dyn_LOCKDIR);
@@ -5241,15 +5236,6 @@
 }
 
 
-/****************************************************************
- Compatibility fn. for 2.2.2 code.....
-*****************************************************************/
-
-void get_private_directory(pstring privdir)
-{
-	pstrcpy (privdir, lp_private_dir());
-}
-
 /***********************************************************
  Allow daemons such as winbindd to fix their logfile name.
 ************************************************************/

Modified: trunk/source/param/loadparm.c
===================================================================
--- trunk/source/param/loadparm.c	2006-02-15 18:26:06 UTC (rev 13512)
+++ trunk/source/param/loadparm.c	2006-02-15 18:27:06 UTC (rev 13513)
@@ -1646,13 +1646,8 @@
 	Globals.bDeferSharingViolations = True;
 	string_set(&Globals.smb_ports, SMB_PORTS);
 
-	/* don't enable privileges by default since Domain 
-	   Admins can then assign thr rights to perform certain 
-	   operations as root */
-
-	Globals.bEnablePrivileges = False;
-
-	Globals.bASUSupport       = True;
+	Globals.bEnablePrivileges = True;
+	Globals.bASUSupport       = False;
 	
 	/* User defined shares. */
 	pstrcpy(s, dyn_LOCKDIR);
@@ -5241,15 +5236,6 @@
 }
 
 
-/****************************************************************
- Compatibility fn. for 2.2.2 code.....
-*****************************************************************/
-
-void get_private_directory(pstring privdir)
-{
-	pstrcpy (privdir, lp_private_dir());
-}
-
 /***********************************************************
  Allow daemons such as winbindd to fix their logfile name.
 ************************************************************/



More information about the samba-cvs mailing list