r13513: Changing defaults:
authorGerald Carter <jerry@samba.org>
Wed, 15 Feb 2006 18:27:06 +0000 (18:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:10:08 +0000 (11:10 -0500)
  * enable privileges = yes
  * enable asu support = no

Remove unused function after the tdbsam rewrite.
(This used to be commit 5385a01ee19d9c7e00b4dd7a6ab3ec1d4b03b558)

source3/param/loadparm.c

index 207be6c037d29d7eb86340aeb00747f0d766df35..c1cac6b966866f9c855fc7d7cdee2871ff06b488 100644 (file)
@@ -1646,13 +1646,8 @@ static void init_globals(BOOL first_time_only)
        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 @@ const char *lp_printername(int snum)
 }
 
 
-/****************************************************************
- 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.
 ************************************************************/