summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-02-15 18:27:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:08 -0500
commit28d12c3b9dc07733f3dc5290c68d372ed339dfda (patch)
tree7d2faf67b935075c69a5c2039eb0d02edb3d499e /source3/param/loadparm.c
parentab4fa1958fe17f4105bb20f8acd84241fdb65581 (diff)
downloadsamba-28d12c3b9dc07733f3dc5290c68d372ed339dfda.tar.gz
samba-28d12c3b9dc07733f3dc5290c68d372ed339dfda.tar.bz2
samba-28d12c3b9dc07733f3dc5290c68d372ed339dfda.zip
r13513: Changing defaults:
* enable privileges = yes * enable asu support = no Remove unused function after the tdbsam rewrite. (This used to be commit 5385a01ee19d9c7e00b4dd7a6ab3ec1d4b03b558)
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 207be6c037..c1cac6b966 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -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.
************************************************************/