1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-22 16:23:49 +03:00
Commit Graph

580 Commits

Author SHA1 Message Date
Jeremy Allison
833ca10177 r5636: Re-add the allocation size - parameterized by share as
"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.
2007-10-10 10:55:52 -05:00
Jeremy Allison
743cd4a536 r5628: Deprecate the write cache parameter - this code will go away soon.
Jeremy.
2007-10-10 10:55:51 -05:00
Gerald Carter
3eee00e0d0 r5359: BUG 2333: use the lpq command to pass in the correct printer name for cups_queue_get(). See comments in code for details 2007-10-10 10:55:39 -05:00
Volker Lendecke
e7dc9fde45 r5331: Support SIDs as %s replacements in the afs username map parameter.
Add 'log nt token command' parameter. If set, %s is replaced with the user
sid, and %t takes all the group sids.

Volker
2007-10-10 10:55:37 -05:00
Gerald Carter
be537eaebe r5174: ensure that we consistently use the current_user_info.smb_name vs. smb_name when parsing smb.conf and reloading config files 2007-10-10 10:55:31 -05:00
Gerald Carter
17bc42b4c2 r5046: mark 'winbind enable local accounts' and testprns as depcrecated 2007-10-10 10:55:12 -05:00
Gerald Carter
cf63519169 r4809: * include SeDiskOperatorPrivilege and SeRemoteShutdownPrivilege
(noty enfornced yet though)
* add 'enable privileges (off by default) to control whether or
  not any privuleges can be assigned to SIDs
2007-10-10 10:53:55 -05:00
Gerald Carter
4b351f2fcc r4736: small set of merges from rtunk to minimize the diffs 2007-10-10 10:53:52 -05:00
Günther Deschner
61204a267c r4312: Marking "min password length" as depreciated (to be removed in one of
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
2007-10-10 10:53:44 -05:00
Volker Lendecke
836a8277b2 r4256: Add a patch from kllin@it.su.se: New Parameter 'afs token lifetime' tells the
AFS client when to throw away a token.

Thanks,

Volker
2007-10-10 10:53:40 -05:00
Jeremy Allison
0dd4adeae2 r4143: Make strict locking an enum. Auto means use oplock optimization.
Jeremy.
2007-10-10 10:53:36 -05:00
Gerald Carter
56b1110c71 r4094: BUG 2107: fix memory bloating caused by large numbers of print_queue_updates() requests sent via messages.tdb 2007-10-10 10:53:34 -05:00
Jeremy Allison
620f2e608f r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
functions so we can funnel through some well known functions. Should help greatly with
malloc checking.
HEAD patch to follow.
Jeremy.
2007-10-10 10:53:32 -05:00
Jeremy Allison
65dfae7ea4 r3946: Fix for bugid #2085 reported by Jason Mader <jason@ncac.gwu.edu>. Use consistent
enum type for Protocol extern.
Jeremy.
2007-10-10 10:53:26 -05:00
Gerald Carter
b0e44b11b3 r3923: BUG 2073: fall back to smb_name if current_user_info is not available in lp_file_list_changed() 2007-10-10 10:53:24 -05:00
Volker Lendecke
3cdde7071b r3873: The semantics of the parameter 'printcap name' are a bit tricky. I 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
2007-10-10 10:53:22 -05:00
Gerald Carter
c8101dbb65 r3326: BUG 1782: reorder loadparm.c to prevent testparm from displaying synonyms; patch from Luke Mewburn <lukem@NetBSD.org> 2007-10-10 10:53:04 -05:00
Gerald Carter
7dc2801486 r3298: turning sendfile back off by default 2007-10-10 10:53:04 -05:00
Gerald Carter
d47b8a0b4f r3069: add 'force printername' service parameter for people that want to enforce printername == sharename for spoolss printing 2007-10-10 10:53:00 -05:00
Gerald Carter
57db8ca91f r2768: BUG 1519: save the hostname used in the open_printer_ex() for later reuse when filling in the spolss replies (also gets rid of get_called_name() 2007-10-10 10:52:52 -05:00
Simo Sorce
f836be323a r2331: check password script code and example from trunk 2007-10-10 10:52:39 -05:00
Gerald Carter
1f71295801 r2190: disable 'winbind enable local accounts' by default (had to be done doctor) 2007-10-10 10:52:35 -05:00
Andrew Bartlett
3dabe879f7 r2157: This parameter in loadparm appears compleatly unused.
Andrew Bartlett
2007-10-10 10:52:34 -05:00
Gerald Carter
8ae57a8e8d r2135: BUG 1464: make sure that printing commands are initialized even if the 'printing' parameter is not explicitly set 2007-10-10 10:52:33 -05:00
Gerald Carter
5d3ba1fac0 r2090: fix formatting that was bugging me 2007-10-10 10:52:31 -05:00
Gerald Carter
02571e7f50 r2077: fix logic bug in the check for creating a user's home directory in register_vuid(); add a few extra debug lines 2007-10-10 10:52:30 -05:00
Jeremy Allison
3cd88f48af r1841: Fix for #1606, can't launch dos exe's.
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.
2007-10-10 10:52:21 -05:00
Jeremy Allison
1b0c70cf97 r1665: Patch from James Peach @ SGI to stop using sendfile if it isn't
supported by the underlying OS.
Jeremy.
2007-10-10 10:52:18 -05:00
Volker Lendecke
e9263a5204 r1638: Dont always uppercase "afs username map" 2007-10-10 10:52:17 -05:00
Simo Sorce
9c41adb98b r1468: Dump the parametrical options only once at the end of the service.
Fixes Testparm producing huge output and swat creating monster smb.conf files.
2007-10-10 10:52:11 -05:00
Volker Lendecke
ea71834793 r1430: Although prepared for only one remote backend, make the 'idmap backend'
parameter a list instead of a string. This makes

idmap backend = ldap:"ldap://localhost/ ldap://fallback/"

possible.

Volker
2007-10-10 10:52:11 -05:00
Jeremy Allison
f423a63197 r1386: We can't use sendfile for Win9x. It causes oplock failures (who knew....).
Jeremy.
2007-10-10 10:52:09 -05:00
Jeremy Allison
e5b3094c4c r1317: Patch from Joe Meadows "Joe Meadows" <jameadows@webopolis.com> to
add a timeout to the ldap open calls. New parameter, ldap timeout
added.
Jeremy.
2007-10-10 10:52:06 -05:00
Volker Lendecke
80e57d2790 r1314: Restore the 2.2 'force unknown acl user' parameter. When getting a 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
2007-10-10 10:52:05 -05:00
Jeremy Allison
ec614a8f7d r1311: Turn on sendfile for non-oplocked files. tridge proved
this is the correct thing to do on a train in Germany :-).
Turn on sendfile by default ! It's about time.....
Jeremy.
2007-10-10 10:52:05 -05:00
Jeremy Allison
42cdeccc36 r1263: Make "defer sharing violations" a global parameter.
Jeremy.
2007-10-10 10:52:04 -05:00
Jeremy Allison
bee0619cc4 r1260: Added new parameter in the protocol section. "defer sharing violations",
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.
2007-10-10 10:52:03 -05:00
Jeremy Allison
c378f3c325 r1224: Fix longstanding memleak bug with logfile name being set before lp_load()
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.
2007-10-10 10:52:01 -05:00
Jeremy Allison
f0f2e28958 r1215: Intermediate checkin of the new keytab code. I need to make sure I
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.
2007-10-10 10:52:00 -05:00
Gerald Carter
951a885194 r1212: small change to prevent home directories added during the SMBsesssetup&X tfrom being removed as unused services 2007-10-10 10:51:59 -05:00
Jeremy Allison
cf84c0fe1a r1154: Change default setting for case sensitivity to "auto". If set to auto
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.
2007-10-10 10:51:57 -05:00
Volker Lendecke
5f482df169 r1104: get_called_name is used in the printing subsystem. In case of multi-homed
servers we need to make sure that the clients are given back the IP address
they connected to.

Volker
2007-10-10 10:51:55 -05:00
Gerald Carter
b0739b073a r1087: BUG 1221: revert old change that used single and double quotes as delimters in next_token(), and change print_parameter() to print out parm values surrounded by double quotes (instead of single quotes) 2007-10-10 10:51:54 -05:00
Volker Lendecke
148dc71ea5 r979: Implement the 'cups server' option. This makes it possible to have virtual
smbd's connect to different cups daemons.

Volker
2007-10-10 10:51:52 -05:00
Jeremy Allison
9de6b25c9e r971: Auto remove store dos attributes if underlying filesystem
doesn't support EA's.
Jeremy.
2007-10-10 10:51:51 -05:00
Gerald Carter
fac9074113 r799: BUG 1259 -- add 'printcap cache time' patch from Lars 2007-10-10 10:51:46 -05:00
Jeremy Allison
4695cc95fe r786: Memory leak fixes in (mostly) error code paths from
kawasa_r@itg.hitachi.co.jp. A couple of mem leak fixes in
mainline code paths though :-).
Jeremy.
2007-10-10 10:51:38 -05:00
Gerald Carter
8ee268f0ed r647: fix for setting the called name to by our IP if the called name was *SMBSERVER and *SMBSERV -- fixes issue with connecting to printers via \ip.ad.dr.ess\printer UNC path 2007-10-10 10:51:32 -05:00
Jeremy Allison
578a508509 r570: Remove lots of globals to handle case issues - move them
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.
2007-10-10 10:51:30 -05:00
Gerald Carter
df94b0471e r283: removing --with-cracklib after discussion with abartklet @ sambaXP 2007-10-10 10:51:16 -05:00