summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r6155: Fixes bug #1133Derrell Lipman1-1/+1
Added provision for overloading some global configuration options via the new, per-user file ~/.smb/smb.conf.append which is read after the global config file is read (and only if the global config file was read). This leave the original, BC behavior of ~/.smb/smb.conf which, if found, is read but causes the global config file to not be read. Also fixed a potential seg fault in to lp_dump_one(). (This used to be commit 2c5a6305bd127b1a7e65356c2b3aa5c13cd2bd74)
2007-10-10r6104: Update dos filetimes to default yes for Office 2000.Jeremy Allison1-1/+1
Jeremy. (This used to be commit d1ff66f6cde844bf0312747c50b402e81846891f)
2007-10-10r6014: rather large change set....Gerald Carter1-1/+45
pulling back all recent rpc changes from trunk into 3.0. I've tested a compile and so don't think I've missed any files. But if so, just mail me and I'll clean backup in a couple of hours. Changes include \winreg, \eventlog, \svcctl, and general parse_misc.c updates. I am planning on bracketing the event code with an #ifdef ENABLE_EVENTLOG until I finish merging Marcin's changes (very soon). (This used to be commit 4e0ac63c36527cd8c52ef720cae17e84f67e7221)
2007-10-10r5792: Added new parameter "inherit owner". If set on a share, the created ↵Jeremy Allison1-0/+4
file/directory will be owned by the same uid as the containing directory. Doing this for directories in a race-free mannor has only been tested on Linux (it depends on being able to open a directory and then do a fchown on that file descriptor). If this functionality is not available then the code silently downgrades to not changing the ownership of a new directory. This new parameter (docs to follow) finally makes it possible to create "drop boxes" on Samba, which requires all files within a directory to be commonly owned. A HOWTO on how to use this will follow. Jeremy. (This used to be commit 2e1f727184b9d025d2e3413bdd3d01d5ca803a41)
2007-10-10r5696: BUG 2355: use bsd style commands for 'printing = cups' but ↵Gerald Carter1-3/+3
\!defined(HAVE_CUPS) (This used to be commit 5216728d82fcbdcba9a06f9730806ef4a4d6108f)
2007-10-10r5636: Re-add the allocation size - parameterized by share asJeremy Allison1-0/+4
"allocation roundup size", by default set as 1Mb. From advice by BlueArc about Windows client behaviour. VC++ people can set this to zero to turn it off. Jeremy. (This used to be commit 833ca101772bfab65dbd79eb64f63464177f144e)
2007-10-10r5628: Deprecate the write cache parameter - this code will go away soon.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 743cd4a53627cc2be5271fa78f6b0980a4407862)
2007-10-10r5359: BUG 2333: use the lpq command to pass in the correct printer name for ↵Gerald Carter1-1/+3
cups_queue_get(). See comments in code for details (This used to be commit 3eee00e0d0e9b58cdd35209691072b625813681c)
2007-10-10r5331: Support SIDs as %s replacements in the afs username map parameter.Volker Lendecke1-0/+3
Add 'log nt token command' parameter. If set, %s is replaced with the user sid, and %t takes all the group sids. Volker (This used to be commit e7dc9fde45c750013ad07f584599dd51f8eb8a54)
2007-10-10r5174: ensure that we consistently use the current_user_info.smb_name vs. ↵Gerald Carter1-24/+7
smb_name when parsing smb.conf and reloading config files (This used to be commit be537eaebe84b2ccae089e5982263df8a96e7a5b)
2007-10-10r5046: mark 'winbind enable local accounts' and testprns as depcrecatedGerald Carter1-1/+1
(This used to be commit 17bc42b4c2e21004adaeac78db6231a384fda16c)
2007-10-10r4809: * include SeDiskOperatorPrivilege and SeRemoteShutdownPrivilegeGerald Carter1-0/+9
(noty enfornced yet though) * add 'enable privileges (off by default) to control whether or not any privuleges can be assigned to SIDs (This used to be commit cf63519169d2f3c56a6acf46b9257f4c11d5ea74)
2007-10-10r4736: small set of merges from rtunk to minimize the diffsGerald Carter1-0/+1
(This used to be commit 4b351f2fcc365a7b7f8c22b5139c299aa54c9458)
2007-10-10r4312: Marking "min password length" as depreciated (to be removed in one ofGünther Deschner1-2/+2
the next releases). The corresponding functionality is better handled with the account policy. See https://bugzilla.samba.org/show_bug.cgi?id=1705 for details. Guenther (This used to be commit 61204a267c3b1b024ba6cb2340317301210b4d90)
2007-10-10r4256: Add a patch from kllin@it.su.se: New Parameter 'afs token lifetime' ↵Volker Lendecke1-0/+8
tells the AFS client when to throw away a token. Thanks, Volker (This used to be commit 836a8277b2281bcdb6eab8339b05bec61b49eb74)
2007-10-10r4143: Make strict locking an enum. Auto means use oplock optimization.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 0dd4adeae2042d0ea64398a78b3f48eb0150c133)
2007-10-10r4094: BUG 2107: fix memory bloating caused by large numbers of ↵Gerald Carter1-1/+1
print_queue_updates() requests sent via messages.tdb (This used to be commit 56b1110c71b17eeb2ebdb7d506d86deb6b81f0d5)
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison1-21/+18
allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
2007-10-10r3946: Fix for bugid #2085 reported by Jason Mader <jason@ncac.gwu.edu>. Use ↵Jeremy Allison1-1/+1
consistent enum type for Protocol extern. Jeremy. (This used to be commit 65dfae7ea45d4c9452b2a08efa09b01d870142f3)
2007-10-10r3923: BUG 2073: fall back to smb_name if current_user_info is not available ↵Gerald Carter1-1/+1
in lp_file_list_changed() (This used to be commit b0e44b11b36dcd89a8c825911efadbeeac9faab5)
2007-10-10r3873: The semantics of the parameter 'printcap name' are a bit tricky. I ↵Volker Lendecke1-5/+20
had seen the effect that I could not list printers with smbclient -L. I have cups libraries but no running cups server, so remove_stale_printers() removed all my printer definitions from the share list. So I said 'printing = bsd' but it still would not work. This happened because init_globals() would initialize Globals.szPrintcapname to "cups", and the explicit 'printing = bsd' did not reset it. 'printing=bsd' can't reset it, as this might overwrite an explicit setting. Thus I separated the lp_printcapname into a function of its own, looking at Globals.szPrintcapname and subsequently at sDefault.iPrinting. Please revisit, there are just too many cases to cover. Thanks, Volker (This used to be commit 3cdde7071b6bf83ad05046745ad2a5fa353995bf)
2007-10-10r3326: BUG 1782: reorder loadparm.c to prevent testparm from displaying ↵Gerald Carter1-5/+5
synonyms; patch from Luke Mewburn <lukem@NetBSD.org> (This used to be commit c8101dbb6561267298728714e5b82591138c56e6)
2007-10-10r3298: turning sendfile back off by defaultGerald Carter1-1/+1
(This used to be commit 7dc28014860a5c5bbe78dc22628301ea8dc245ee)
2007-10-10r3069: add 'force printername' service parameter for people that want to ↵Gerald Carter1-0/+4
enforce printername == sharename for spoolss printing (This used to be commit d47b8a0b4f348171df35b3b0028ce7d99fab8af3)
2007-10-10r2768: BUG 1519: save the hostname used in the open_printer_ex() for later ↵Gerald Carter1-22/+0
reuse when filling in the spolss replies (also gets rid of get_called_name() (This used to be commit 57db8ca91f52329c7f8985c04463b6b69015b0c4)
2007-10-10r2331: check password script code and example from trunkSimo Sorce1-0/+4
(This used to be commit f836be323a233f3a28cbaa04c532e83ea98ead89)
2007-10-10r2190: disable 'winbind enable local accounts' by default (had to be done ↵Gerald Carter1-1/+1
doctor) (This used to be commit 1f71295801c7af554fba293069e52666083d7bc5)
2007-10-10r2157: This parameter in loadparm appears compleatly unused.Andrew Bartlett1-2/+0
Andrew Bartlett (This used to be commit 3dabe879f74d2ea3b379a00a3778ee76051a359a)
2007-10-10r2135: BUG 1464: make sure that printing commands are initialized even if ↵Gerald Carter1-3/+2
the 'printing' parameter is not explicitly set (This used to be commit 8ae57a8e8d7334bc0feb2c8afb673bd5c53bffca)
2007-10-10r2090: fix formatting that was bugging meGerald Carter1-36/+18
(This used to be commit 5d3ba1fac0ccb7024b72fd3a672e14fab062ef0b)
2007-10-10r2077: fix logic bug in the check for creating a user's home directory in ↵Gerald Carter1-1/+5
register_vuid(); add a few extra debug lines (This used to be commit 02571e7f5040a577840c969ff9c46a1e533edc21)
2007-10-10r1841: Fix for #1606, can't launch dos exe's.Jeremy Allison1-0/+5
2 related problems - 1). DOS uses chained commands - when we are replying with sendfile we neglect to send the chained header. 2). Win9x and DOS TCP stacks blow up when getting data back from a Linux sendfile - "The engines canna take the strain cap'n". Don't use sendfile for anything less than NT1. Jeremy. (This used to be commit 3cd88f48afa589a189bb728d2d2660d058203d4d)
2007-10-10r1665: Patch from James Peach @ SGI to stop using sendfile if it isn'tJeremy Allison1-0/+12
supported by the underlying OS. Jeremy. (This used to be commit 1b0c70cf97aa45093fe5ef866a351b47ef1a5879)
2007-10-10r1638: Dont always uppercase "afs username map"Volker Lendecke1-1/+1
(This used to be commit e9263a5204c42e8f3f1079cd535ce6fc091f3d6a)
2007-10-10r1468: Dump the parametrical options only once at the end of the service.Simo Sorce1-7/+7
Fixes Testparm producing huge output and swat creating monster smb.conf files. (This used to be commit 9c41adb98b8eef344203d80ef38cf96a27853c7f)
2007-10-10r1430: Although prepared for only one remote backend, make the 'idmap backend'Volker Lendecke1-3/+3
parameter a list instead of a string. This makes idmap backend = ldap:"ldap://localhost/ ldap://fallback/" possible. Volker (This used to be commit ea718347937ec0e5640b29e0e9edf6eda2b45e34)
2007-10-10r1386: We can't use sendfile for Win9x. It causes oplock failures (who ↵Jeremy Allison1-1/+1
knew....). Jeremy. (This used to be commit f423a631974b9126888aff2e476882abf1f3afad)
2007-10-10r1317: Patch from Joe Meadows "Joe Meadows" <jameadows@webopolis.com> toJeremy Allison1-7/+11
add a timeout to the ldap open calls. New parameter, ldap timeout added. Jeremy. (This used to be commit e5b3094c4cc75eb07f667dd1aeb73921ed7366ac)
2007-10-10r1314: Restore the 2.2 'force unknown acl user' parameter. When getting a ↵Volker Lendecke1-0/+4
security descriptor for a file, if the owner sid is not known, the owner uid is set to the current uid. Same for group sid. This makes xcopy /o possible for files that are owned by local users/groups (local administrators for example). Thanks to Guenther for his persistence :-) Volker (This used to be commit 80e57d27909a9a1edad962e3f43c2178d2da2a92)
2007-10-10r1311: Turn on sendfile for non-oplocked files. tridge provedJeremy Allison1-1/+1
this is the correct thing to do on a train in Germany :-). Turn on sendfile by default ! It's about time..... Jeremy. (This used to be commit ec614a8f7d158b57f5981c1515962aca3c3e6ef4)
2007-10-10r1263: Make "defer sharing violations" a global parameter.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 42cdeccc36dc5f4bd133b84d4eaeb76f42f8043b)
2007-10-10r1260: Added new parameter in the protocol section. "defer sharing violations",Jeremy Allison1-0/+4
by default set to "yes" (to correctly emulate Windows). I've added this to ensure if we find a critical problem with this new code when 3.0.5 ships it can be turned off to test for bugs. Jeremy. (This used to be commit bee0619cc476335e19a5f76179832802587563d1)
2007-10-10r1224: Fix longstanding memleak bug with logfile name being set before lp_load()Jeremy Allison1-0/+7
loads the initial config file and overwrites the written logfile name with zeros in init_globals(). Ensure we do a string_free() on Globals.szLogFile if it isn't NULL. Jeremy. (This used to be commit c378f3c32533c085fef2c2e07f0660781a16a341)
2007-10-10r1215: Intermediate checkin of the new keytab code. I need to make sure IJeremy Allison1-0/+3
haven't broken krb5 ticket verification in the mainline code path, also need to check with valgrind. Everything now compiles (MIT, need to also check Heimdal) and the "net keytab" utility code will follow. Jeremy. (This used to be commit f0f2e28958cb9abfed216c71f291f19ea346d630)
2007-10-10r1212: small change to prevent home directories added during the ↵Gerald Carter1-0/+6
SMBsesssetup&X tfrom being removed as unused services (This used to be commit 951a88519467736fffd80ff962f1df71b04c9c2f)
2007-10-10r1154: Change default setting for case sensitivity to "auto". If set to autoJeremy Allison1-14/+12
then is the client supports it (current clients supported are Samba and CIFSVFS - detected by the negprot strings "Samba", "POSIX 2" and a bare "NT LM 0.12" string) then the setting of the per packet flag smb_flag FLAG_CASELESS_PATHNAMES is taken into account per packet. This allows the linux CIFS client to use Samba in a case sensitive manner. Additional command in smbclient "case_sensitive", toggles the flag in subsequent packets. Docs to follow. Jeremy. (This used to be commit cf84c0fe1a061acc0313f7db124b8f947cdf623d)
2007-10-10r1104: get_called_name is used in the printing subsystem. In case of multi-homedVolker Lendecke1-1/+4
servers we need to make sure that the clients are given back the IP address they connected to. Volker (This used to be commit 5f482df169eebae87ec769a05e3c3fc6e32af1e3)
2007-10-10r1087: BUG 1221: revert old change that used single and double quotes as ↵Gerald Carter1-2/+2
delimters in next_token(), and change print_parameter() to print out parm values surrounded by double quotes (instead of single quotes) (This used to be commit b0739b073a1db8b0b163726a1d181b2f05d71883)
2007-10-10r979: Implement the 'cups server' option. This makes it possible to have virtualVolker Lendecke1-0/+4
smbd's connect to different cups daemons. Volker (This used to be commit 148dc71ea5c1ec619ba6f4873fa7c69a608e58cc)
2007-10-10r971: Auto remove store dos attributes if underlying filesystemJeremy Allison1-0/+11
doesn't support EA's. Jeremy. (This used to be commit 9de6b25c9e9abe982e21b0229df520802cafbfd8)