1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-08 05:57:51 +03:00

14325 Commits

Author SHA1 Message Date
Günther Deschner
bd4c5125d6 r4286: Give back 8 byte lm_session_key in Netrsamlogon-reply.
The old #ifdef JRATEST-block was copying 16 bytes and thus overwriting
acct_flags with bizarre values, breaking a lot of things.

This patch is successfully running in a production environment for quite
some time now and is required to finally allow Exchange 5.5 to access
another Exchange Server when both are running on NT4 in a
samba-controlled domain. This also allows Exchange Replication to take
place, Exchange Administrator to access other Servers in the network,
etc. Fixes Bugzilla #1136.

Thanks abartlet for helping me with that one.

Guenther
2007-10-10 10:53:41 -05:00
Günther Deschner
0760d07b4c r4285: Allow -v or -l for displaying verbose groupmap-listing as well as
"verbose".

Guenther
2007-10-10 10:53:41 -05:00
Tim Potter
4f1927acfa r4273: Same fix for r4272 in SAMBA_3_0 branch. 2007-10-10 10:53:41 -05:00
Tim Potter
ad8fdcc6fd r4270: Add some const as a fix for bugzilla #2135. 2007-10-10 10:53:41 -05:00
Tim Potter
f00ae4ab0c r4268: Merge fix for bugzilla #2150. 2007-10-10 10:53:41 -05:00
Tim Potter
82b9faaaa2 r4260: Change the license for the winbindd external interface more liberal. 2007-10-10 10:53:41 -05:00
Tim Potter
0c3bb181e8 r4259: Fix cast in SMB_XMALLOC_ARRAY. Bugzilla #2168. 2007-10-10 10:53:40 -05:00
Günther Deschner
4f10666295 r4258: strlower username, not (non-existing) domain_username.
Guenther
2007-10-10 10:53:40 -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
Volker Lendecke
27c16733c1 r4254: Add an undocumented hack. I had to delete a wrong mapping (a user that had
ended up as a gid in winbindd_idmap.tdb) from winbindd_idmap.tdb. Stopping
winbind was not an option on that machine....

net idmap delete <idmap-file> <SID>

Thanks,

Volker
2007-10-10 10:53:40 -05:00
Volker Lendecke
207625c7ab r4252: Comment clarification from Love Hörnquist Åstrand <lha@stacken.kth.se>.
Thanks,

Volker
2007-10-10 10:53:40 -05:00
Volker Lendecke
e717ff70c6 r4251: AFS does not cope with spaces in file names. Implement a stupid mapping that
maps the space to another character choosable by afsacl:space.

Volker

P.S: Who is "OH"? ;-)
2007-10-10 10:53:40 -05:00
Volker Lendecke
d878563ef0 r4248: Implement smbstatus -n, don't lookup users and groups. On heavily loaded
winbind systems, looking up hundreds of users can turn out to be a bit too
expensive if you just want to find out which smbd handles a particular IP
address.

Volker

P.S: Who is "OH"? ;-)
2007-10-10 10:53:40 -05:00
Jeremy Allison
ec9606f00b r4241: More *alloc fixes.
Jeremy.
2007-10-10 10:53:39 -05:00
Jeremy Allison
4d971806f4 r4238: More *alloc fixes.
Jeremy.
2007-10-10 10:53:39 -05:00
Jeremy Allison
6b25a6e088 r4236: More *alloc fixes.
Jeremy.
2007-10-10 10:53:39 -05:00
Jeremy Allison
61479f56be r4234: More malloc fixes to use the macros.
Jeremy.
2007-10-10 10:53:39 -05:00
Günther Deschner
d25f303f31 r4226: display infolevel 12 in query_dom_info.
Guenther
2007-10-10 10:53:39 -05:00
Volker Lendecke
40b208b252 r4224: Today is not my day .... 2007-10-10 10:53:39 -05:00
Volker Lendecke
0f26ba5226 r4222: Always compile before commit... 2007-10-10 10:53:38 -05:00
Günther Deschner
e3b067ee99 r4221: when in the multi-mapping mode of idmap_rid:
allow BUILTIN domain-mapping.

Guenther
2007-10-10 10:53:38 -05:00
Volker Lendecke
b41d94d818 r4219: Fix samba3 samr "idl"... According to samba4 idl samr_DomInfo2 contains a
comment string and not an unknown 12 byte structure...

Found after abartlet's smbtorture extended this string to

"Tortured by Samba4: Fri Nov 26 15:40:18 2004 CET"

;-))

Volker
2007-10-10 10:53:38 -05:00
Volker Lendecke
7230cb87eb r4217: Fix open_any_socket_out.
This was a missing merge from HEAD or rather a commit to 3_0 from the wrong
source. Fixed slightly over HEAD, HEAD merge will follow.

Deal with connection refused according to the specs.

Volker
2007-10-10 10:53:38 -05:00
Günther Deschner
e7b81d679b r4216: fix segfault in idmap_rid
(only ever shows up when the somewhat hidden
IDMAP_RID_SUPPORT_TRUSTED_DOMAINS - define is set).

Thanks to Stephan Martin <sm@suse.de> for reporting this bug.

Guenther
2007-10-10 10:53:37 -05:00
Jeremy Allison
94779ccb39 r4212: Ensure we only look at the bottom bit of large_readx.
Set the 14 word version of write if size > 0xffff as
well as 64-bit offset.
Jeremy.
2007-10-10 10:53:37 -05:00
John Terpstra
8622fdcc50 r4208: Set version to 3.0.11 2007-10-10 10:53:37 -05:00
Jeremy Allison
63cfa904ad r4190: When changing length calculations, get them right......
Jeremy.
2007-10-10 10:53:37 -05:00
Jeremy Allison
9d4e57f06c r4188: Ensure we add in the upper length in the right place !
Jeremy.
2007-10-10 10:53:36 -05:00
Jeremy Allison
831cb21a87 r4186: Fix client & server to allow 127k READX calls.
Jeremy.
2007-10-10 10:53:36 -05:00
Jeremy Allison
72e39041e9 r4184: Removed unused extern.
Jeremy.
2007-10-10 10:53:36 -05:00
Simo Sorce
9b322f232c r4153: port from trunk of pdbedit changes 2007-10-10 10:53:36 -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
426634df9c r4134: check the setprinter(3) based on the access permissions on the handle and avoid the call to print_access_chaeck() 2007-10-10 10:53:35 -05:00
Günther Deschner
a03aa09568 r4130: add bad_password_count and logon_count to vampire (inspired by a patch
from Lars Mueller <lmuelle@suse.de>), just for completeness.

Note that though we have logon_count implemented in all pdb-backends but
never (for good reason!) update the counter.

Guenther
2007-10-10 10:53:35 -05:00
Volker Lendecke
7256771dd0 r4128: Cron jobs etc seem to do an initgroups for root quite frequently. So
log.winbindd is spammed with 'user root does not exist'. Increase debug level.

Volker
2007-10-10 10:53:35 -05:00
Günther Deschner
eb64eb9d57 r4127: vampire munged_dial.
Guenther
2007-10-10 10:53:35 -05:00
Jeremy Allison
8e1b1693ab r4126: Fix from Björn Jacke <bjoern@j3e.de> for bugid #2040 - ensure the locale
is reset to C to get ASCII-compatible toupper/lower functions.
Jeremy.
2007-10-10 10:53:35 -05:00
Jeremy Allison
f4feed8f90 r4121: Optimisation from Nadav Danieli <nadavd@exanet.com>. If we're oplocked,
short circuit some is_locked() tests.
Jeremy.
2007-10-10 10:53:35 -05:00
Jeremy Allison
0a7d17bc9b r4120: Never, ever, doubt valgrind :-). Fix order of evaluation bug that's been in the
bitmap code for ever. Remove silly extra space in paranoid malloc.
Jeremy.
2007-10-10 10:53:34 -05:00
Jeremy Allison
596f230513 r4108: As check_self is *always* False in every invokation, remove the
logic for it. We still pass Samba4 RAW-LOCK test.
Jeremy.
2007-10-10 10:53:34 -05:00
Herb Lewis
1feda3649f r4103: lock timeout is in milliseconds (as in reply.c) 2007-10-10 10:53:34 -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
Gerald Carter
e3decbc441 r4089: fix logic error in add_a_form() that only compared N characters instead of the entire form name 2007-10-10 10:53:32 -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
Gerald Carter
12440744ba r4083: consolidate printer searches to use find_service rather than for loops 2007-10-10 10:53:31 -05:00
Gerald Carter
c24a3c49ce r4043: BUG 2091: don't remove statically defined printers in remove_stale_printers() 2007-10-10 10:53:31 -05:00
Jeremy Allison
a1e5a2a6ab r4032: Fix bug #2110 - ensure we convert to ucs2 correctly.
Jeremy.
2007-10-10 10:53:30 -05:00
Gerald Carter
26bbad62b9 r4030: patch from Rob -- don't force the cups printer-make-and-model tag as the comment for autoloaded printers 2007-10-10 10:53:29 -05:00
Gerald Carter
a64505d52f r4028: * prevent the background LPQ daemon from updating
the print queue cache just because multiple smbd
  processes sent a message that it was out of date.

* add some extra debug messages while trying to track down
  down jobs being left in the queue after printing has
  completed.
2007-10-10 10:53:28 -05:00
Jeremy Allison
ebaf21e3e2 r4023: Code tidyup to fix bug #2098.
Jeremy.
2007-10-10 10:53:28 -05:00