summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r799: BUG 1259 -- add 'printcap cache time' patch from LarsGerald Carter1-0/+4
(This used to be commit fac90741139b953d0e88d050dd457657f0b9c9f3)
2007-10-10r786: Memory leak fixes in (mostly) error code paths fromJeremy Allison1-0/+3
kawasa_r@itg.hitachi.co.jp. A couple of mem leak fixes in mainline code paths though :-). Jeremy. (This used to be commit 4695cc95fe576b6da0d0cb0686f208fc306b2646)
2007-10-10r647: fix for setting the called name to by our IP if the called name was ↵Gerald Carter1-1/+1
*SMBSERVER and *SMBSERV -- fixes issue with connecting to printers via \ip.ad.dr.ess\printer UNC path (This used to be commit 8ee268f0ed0c2f75ded9c2ddd66e0953f443c79e)
2007-10-10r570: Remove lots of globals to handle case issues - move themJeremy Allison1-4/+0
to connection struct entries (as they should have been from the start). Jerry, once you've cut over to 3.0.4 release branch I'll add this to 3.0 also. - Jerry cut over :-). Jeremy. (This used to be commit 578a508509d21226ad3332fc54c3ab54cd8ae452)
2007-10-10r283: removing --with-cracklib after discussion with abartklet @ sambaXPGerald Carter1-4/+0
(This used to be commit df94b0471eb0628aa27f534134d60b62ed123688)
2007-10-10r242: adding 'cups options' parameter to allow raw printing without changing ↵Gerald Carter1-0/+4
/etc/cups/cupsd.conf -- documentation to follow (This used to be commit 2f323b0991c37022fb59ef8c69454eff03296662)
2007-10-10r155: real for for BUG 761 -- allow printing parameter to set defaults on a ↵Gerald Carter1-49/+85
per share basis (This used to be commit 14d3794eecd848d3d75e2b8e71cf8b4d0792b0c9)
2007-10-10r116: volker's patch for local group and group nestingGerald Carter1-0/+4
(This used to be commit b393469d9581f20e4d4c52633b952ee984cca36f)
2004-04-02Added per-share parameter "store dos attributes". When set, will storeJeremy Allison1-0/+4
dos attributes in an EA. Based on an original patch from tridge, but modified somewhat to cover all cases. Jeremy. (This used to be commit ed653cd468213e0be901bc654aa3748ce5837947)
2004-03-31Added support for OS/2 EA's in smbd server. Test with smbtorture eatest.Jeremy Allison1-0/+4
New protocol option "ea support" to turn them on (off by default). Conrad at Apple may like this as it allows MacOS resource forks to be stored on a file. Passes valgrind. Documentation to follow. Jeremy. (This used to be commit 8cc10a6c0550c017a62e8a3790afd2172d173e00)
2004-03-27As I raised (without objection) on the mailing list a while back, thisAndrew Bartlett1-4/+0
patch removes the 'unicode' smb.conf option. Clients are as always free not to negotiate unicode, but Samba will always accept unicode in smbd. Setting 'unicode = no' caused me more client BSODs than any other option I have seen, and I really want to protect some of our more silly users, who will, no matter what, select and change every option... Andrew Bartlett (This used to be commit 3f9177bd5df68809294335a36919994893ff8ead)
2004-03-19BUG 417: fix %UuGg variables expansion in include lines setging the ↵Gerald Carter1-2/+20
current_user_info struct in register_vuid() -- shouldn't be any more broken than we were (This used to be commit a90c3bd281e7a62bb8482e42aa3b674eeeb5995a)
2004-03-02BUG 761: read the config file before initialized default values for printing ↵Gerald Carter1-46/+50
options (This used to be commit d358f72974ce49bf2007c9b3b7314caa5897b4c1)
2004-02-11marking 'only user' as deprecated (based on feedback in bug 66)Gerald Carter1-1/+1
(This used to be commit a44f67b141efc7fc14a75b938bf428bf571351a6)
2004-02-02Merge the 'use cracklib' parameter from HEAD back to 3.0Andrew Bartlett1-0/+4
Andrew Bartlett (This used to be commit 2202667ebb713fb5d933fcaa1c19dc761da47ccb)
2004-01-31* BUG 101: patch from j.lu@tiesse.com to set the SV_TYPE_PRINTQ_SERVER;Gerald Carter1-104/+6
* don't set the unix_ERR_XX code in mkdir_internal, let the error mapping handle it. (This used to be commit 87343fc15a385153c2205bd8bfe876504d38d9a1)
2004-01-30Fix up name canonicalization (needed for krb5 keytab support later).Jeremy Allison1-1/+3
Remove source_env handler (no longer used in any codepath). Jeremy. (This used to be commit 3a3e33603084048e647af86a9badaaf49433c789)