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

797 Commits

Author SHA1 Message Date
Gerald Carter
e2f8eeb4e2 r7142: removing 'ldap filter' smb.conf option 2007-10-10 10:57:03 -05:00
Gerald Carter
318c3db4cb r7130: remove 'winbind enable local accounts' code from the 3.0 tree 2007-10-10 10:57:01 -05:00
Gerald Carter
c70c5c4ee9 r7024: reverting mistaken commit 2007-10-10 10:57:00 -05:00
Gerald Carter
3a91b20e4b r7020: fixing printer ace values and getting rid of false compiler warning about unitialized variable 2007-10-10 10:57:00 -05:00
Gerald Carter
81ffb0dbbb r6942: * merging the registry changes back to the 3.0 tree
* removing the testprns tool
2007-10-10 10:56:57 -05:00
Jeremy Allison
dd1a5e6e49 r6895: Add "acl check permissions" to turn on/off the new behaviour of
checking for write access in a directory before delete. Also
controls checking for write access before labeling a file read-only
if DOS attributes are not being stored in EA's.
Docuementation to follow.
Jeremy.
2007-10-10 10:56:56 -05:00
Gerald Carter
0826feafd7 r6785: deprecating the printer admin parameter 2007-10-10 10:56:55 -05:00
Gerald Carter
8fde2a8060 r6686: strip the directory path from cups printin defaults 2007-10-10 10:56:52 -05:00
Jeremy Allison
316df944a4 r6595: This is Volkers new-talloc patch. Just got the go-ahead from
Volker to commit. Woo Hoo !
Jeremy.
2007-10-10 10:56:46 -05:00
Volker Lendecke
f0bb44ac58 r6351: This is quite a large and intrusive patch, but there are not many pieces that
can be taken out of it, so I decided to commit this in one lump. It changes
the passdb enumerating functions to use ldap paged results where possible. In
particular the samr calls querydispinfo, enumdomusers and friends have
undergone significant internal changes. I have tested this extensively with
rpcclient and a bit with usrmgr.exe. More tests and the merge to trunk will
follow later.

The code is based on a first implementation by Günther Deschner, but has
evolved quite a bit since then.

Volker
2007-10-10 10:56:38 -05:00
Jeremy Allison
836b73d001 r6240: Fix for bug #2581. Add size limit (in kb) to stat cache.
Jeremy.
2007-10-10 10:56:31 -05:00
Herb Lewis
efea76ac71 r6225: get rid of warnings from my compiler about nested externs 2007-10-10 10:56:30 -05:00
Derrell Lipman
2c5a6305bd r6155: Fixes bug #1133
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().
2007-10-10 10:56:25 -05:00
Jeremy Allison
d1ff66f6cd r6104: Update dos filetimes to default yes for Office 2000.
Jeremy.
2007-10-10 10:56:22 -05:00
Gerald Carter
4e0ac63c36 r6014: rather large change set....
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).
2007-10-10 10:56:15 -05:00
Jeremy Allison
2e1f727184 r5792: Added new parameter "inherit owner". If set on a share, the created 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.
2007-10-10 10:56:01 -05:00
Gerald Carter
5216728d82 r5696: BUG 2355: use bsd style commands for 'printing = cups' but \!defined(HAVE_CUPS) 2007-10-10 10:55:55 -05:00
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