1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

21513 Commits

Author SHA1 Message Date
Volker Lendecke
3057c3975c r21379: Attempt to fix the build on "gwen"
(This used to be commit 3d85eb758d)
2007-10-10 12:17:59 -05:00
Simo Sorce
29b6971da7 r21369: sys_disk_free return type is SMB_BIG_UINT.
Fix dfree_retval to be SMB_BIG_UINT as well,
otherwise we may wrap up on > 2T file systems.

Simo.
(This used to be commit 0bb7f6492c)
2007-10-10 12:17:59 -05:00
Volker Lendecke
9c79a696c0 r21365: Lets see which build farm machines have makecontext & friends
(This used to be commit ab053a3b71)
2007-10-10 12:17:59 -05:00
Günther Deschner
1b16e8cbf9 r21358: Some more debugging for _nss_winbind_initgroups_dyn() on Linux.
Guenther
(This used to be commit 639b7989b3)
2007-10-10 12:17:58 -05:00
Günther Deschner
8bbe400c56 r21357: Fix typo.
Guenther
(This used to be commit e3c3258379)
2007-10-10 12:17:58 -05:00
Günther Deschner
c13e862d0e r21353: In the turn of tracking down nss_winbind related bugs on Linux:
print NSS_STATUS code with DEBUG_NSS when leaving a function.

Guenther
(This used to be commit 53ecd63d94)
2007-10-10 12:17:58 -05:00
Günther Deschner
5aa3b27949 r21352: Let ads_upn_suffixes() return a pointer to an array of suffixes.
Guenther
(This used to be commit 7ad7847e5b)
2007-10-10 12:17:57 -05:00
Günther Deschner
08726ffcd4 r21349: Fix memleak in ads_upn_suffixes().
Guenther
(This used to be commit 8462f323cf)
2007-10-10 12:17:57 -05:00
Jeremy Allison
6663fa6bdc r21346: FIXME ! Our parsing here is wrong I think,
but for a level3 it makes no sense for
ptr_sec_desc to be NULL. JRA. Based on
a Vista sniff from Martin Zielinski <mz@seh.de>.
Jerry - part of the Vista patchset.
Jeremy.
(This used to be commit 60e26a9039)
2007-10-10 12:17:57 -05:00
Günther Deschner
2d675293d9 r21345: Smaller fixes for adssearch:
* get rid of horrible ads.h parsing
* add LDAP_SERVER_SHUTDOWN_NOTIFY_OID
* display hex bitmasks

Guenther
(This used to be commit 97ce4ccea2)
2007-10-10 12:17:57 -05:00
Jim McDonough
13ee4a535b r21339: Fix the non-linux build. This is more evidence that this needs to be
moved up one layer.
(This used to be commit 552ae93b14)
2007-10-10 12:17:56 -05:00
Günther Deschner
5876136754 r21336: Fix indent (as pointed out by Volker).
Guenther
(This used to be commit dcbf7a1250)
2007-10-10 12:17:56 -05:00
Jim McDonough
5a052edf03 r21324: Add linux setlease to the vfs layer. Next round, as Volker points out,
it should be abstracted a little higher up so other os'es can have an
entry, but it will take a bit more work.  Thanks to Chetan Shringarpure
and Mathias Dietz.

I didn't increment the vfs number again because the kernel change notify
stuff hasn't been released yet anyway.
(This used to be commit 9463211bf3)
2007-10-10 12:17:56 -05:00
Günther Deschner
9918e74984 r21320: Display query_user info level 16 in rpcclient.
Guenther
(This used to be commit bc77622134)
2007-10-10 12:17:56 -05:00
Volker Lendecke
a2f2653d9a r21319: Remove functions not needed anymore
(This used to be commit 0c8a364aec)
2007-10-10 12:17:56 -05:00
Günther Deschner
3a46604800 r21318: Fix Bug #4225.
Cached logon with pam_winbind should work now also for NT4 and samba3
domains.

Guenther
(This used to be commit b2f9115482)
2007-10-10 12:17:56 -05:00
Stefan Metzmacher
63f43ad5e4 r21312: merge from SAMBA_4_0:
fix memory hierachy, and access to already freed memory

metze
(This used to be commit 05a23dd756)
2007-10-10 12:17:55 -05:00
Günther Deschner
6dd654c381 r21310: Fix invalid printfs in pam_winbind.
Guenther
(This used to be commit 5a7b2fccb3)
2007-10-10 12:17:55 -05:00
Günther Deschner
826aa64c45 r21309: Add PRINTF_ATTRIBUTE checks for log statements.
Guenther
(This used to be commit 968dfcc821)
2007-10-10 12:17:55 -05:00
Günther Deschner
8e589ea7f2 r21308: Fix some typos and ensure to null terminate the correct strings.
Guenther
(This used to be commit 16c90f30b9)
2007-10-10 12:17:54 -05:00
Volker Lendecke
949eb20a1a r21303: As discussed on samba-technical: Change the static array for the in-memory
mirrors of the hash chain locks to a dynamically allocated one.

Jeremy, I count on you to revert it if the build farm freaks out, it's after
midnight here :-)

Volker
(This used to be commit c50f099be1)
2007-10-10 12:17:54 -05:00
Gerald Carter
b5114650cf r21284: Fix some unitilized variable warnings pointed out by Volker.
(This used to be commit 5c3edad860)
2007-10-10 12:17:54 -05:00
Steve French
abb131ec95 r21283: Do not display away debug output of cifs dfs resolver by default
per Dave Howell's suggestion
(This used to be commit 529d64b4c8)
2007-10-10 12:17:54 -05:00
Volker Lendecke
8a96fe6a59 r21280: Fix an uninitialized variable warning. Jeremy, please check.
Volker
(This used to be commit 4faa37a515)
2007-10-10 12:17:54 -05:00
Volker Lendecke
d9a29aade0 r21279: Get rid of 'aio write behind', this is broken.
It should probably better be integrated with our write cache.

Volker
(This used to be commit 58bfd168b0)
2007-10-10 12:17:53 -05:00
Volker Lendecke
fe881c3e38 r21278: The main goal of this was to get rid of the NetInBuffer / set_InBuffer. But it
turns out that this patch actually speeds up the async writes considerably.

I tested writing 100.000 times 65535 bytes with the allowed 10 ops in
parallel. Without this patch it took about 32 seconds on my dual-core 1.6GHz
laptop. With this patch it dropped to about 26 seconds. I can only explain it
by better cache locality, NewInBuffer allocates more than 128k, so we jump
around in memory more.

Jeremy, please check!

Volker
(This used to be commit 452d51bc6f)
2007-10-10 12:17:53 -05:00
Volker Lendecke
4f5cfc9899 r21277: Fix an off by one error in the signal handler for aio: We can actually receive
AIO_PENDING_SIZE signals, not one less.

Jeremy I'm not merging this to 3_0_25, I want you to look at it first!

Volker
(This used to be commit 8fd0ec5836)
2007-10-10 12:17:53 -05:00
Jeremy Allison
985a26118a r21274: As we now have POSIX opens which can unlink
with other open files we may have taken
the delete code path with more than one share mode
entry - ensure we only delete once by resetting
the delete on close flag.
Jeremy.
(This used to be commit 429dff3166)
2007-10-10 12:17:53 -05:00
Gerald Carter
763a553046 r21273: * Protect the sasl bind against a NULL principal string
in the SPNEGO negTokenInit
(This used to be commit fe70c22496)
2007-10-10 12:17:53 -05:00
Volker Lendecke
bea1025b1a r21269: Reformatting
(This used to be commit b2eaa733c5)
2007-10-10 12:17:53 -05:00
Volker Lendecke
c96fc96de9 r21265: Fix some valgrind errors -- not in 3_0
(This used to be commit b419a34075)
2007-10-10 12:17:52 -05:00
Volker Lendecke
c1f9a387cb r21264: LDAP_OPT_ERROR_NUMBER seems more portable than LDAP_OPT_RESULT_CODE
(This used to be commit 1b3239f2ab)
2007-10-10 12:17:52 -05:00
Volker Lendecke
297ba8dd9c r21263: getpeername() returning -1 is not a reliable indication if a TCP connection is
dead. Might be my code, this rings a very distant bell...

Attempt to fix bug # 4372.

Volker
(This used to be commit 730cc3dc1e)
2007-10-10 12:17:52 -05:00
Gerald Carter
e8783bcd00 r21262: Final part of BUG 4093: fix %a with Windows XP 64bit
(This used to be commit e2681eb4be)
2007-10-10 12:17:52 -05:00
Jeremy Allison
c635c57d75 r21259: Fix coverity bug id #340. No way to process
logon parameter as the code was written.
Jeremy.
(This used to be commit 7f1aee96a0)
2007-10-10 12:17:52 -05:00
Gerald Carter
56b40269c8 r21258: Fix for connecting printers from Vista by storing
the printer GUID as a REG_SZ as Vista seems to
whine about unknown REG_BINARY values.

Thanks to Martin Zielinski <mz@seh.de> for his excellent
analysis on this.
(This used to be commit fa5490b71b)
2007-10-10 12:17:52 -05:00
Jeremy Allison
86e5659aba r21257: Better fix for bug #4188 :
Windows Vista RC1 and RC2 can't delete directory on Samba share
based on work by Joe Meadows <jmeadows@webopolis.com>.
Jeremy.
(This used to be commit 2dab892876)
2007-10-10 12:17:51 -05:00
Volker Lendecke
5920d870cf r21251: Okay, after Jeremy has kindly tested this, check it in :-)
Attached find a workaround that works for me. This is not the "correct" fix,
to me it seems our DFS referral marshalling is broken. Vista requests level 4,
we reply with level 2, and Vista seems not to like that. If we reply with
level 3 it seems more happy.

Needs more work!

Volker
(This used to be commit 4c3a913562)
2007-10-10 12:17:51 -05:00
Gerald Carter
7db1c6873c r21250: Partial fix for BUG 4093: Make %a expand to "Vista"
based on the flags2 values in the negprot request.

This also includes some code for testing the dialect
strings for "SMB 2.001" but this is unreliable as Vista
only sends that in the 1st negprot and caches the fact
that we don't support it.  Restartnig the WOrkstation
service on the client clears the cache.
(This used to be commit d781eeb0e4)
2007-10-10 12:17:51 -05:00
Jeremy Allison
92715eaf0b r21247: In the refactoring I dropped a RESOLVE_DFSPATH call
from setpathinfo. Return it and make sure all paths
go through a dfs resolve.
Jeremy.
(This used to be commit 7fd3a146c1)
2007-10-10 12:17:51 -05:00
Jeremy Allison
e4bcfcf1c5 r21246: Remove incorrect control on unix set info.
We can take path or handle based calls.
Jeremy.
(This used to be commit a19fe0f0c4)
2007-10-10 12:17:51 -05:00
Günther Deschner
69cee2a3ec r21240: Fix longstanding Bug #4009.
For the winbind cached ADS LDAP connection handling
(ads_cached_connection()) we were (incorrectly) assuming that the
service ticket lifetime equaled the tgt lifetime. For setups where the
service ticket just lives 10 minutes, we were leaving hundreds of LDAP
connections in CLOSE_WAIT state, until we fail to service entirely with
"Too many open files".

Also sequence_number() in winbindd_ads.c needs to delete the cached LDAP
connection after the ads_do_search_retry() has failed to submit the
search request (although the bind succeeded (returning an expired
service ticket that we cannot delete from the memory cred cache - this
will get fixed later)).

Guenther
(This used to be commit 7e1a84b722)
2007-10-10 12:17:50 -05:00
Simo Sorce
e6ce37679f r21239: if the workgroup name is longer than 16 chars we get garbage in the string
server_len is usually 256 (fstring).

Correctly terminate saving the lenght
(This used to be commit e7e44554bf)
2007-10-10 12:17:50 -05:00
Günther Deschner
aad88ee34f r21238: Fix tab indent in self-written krb5.confs.
Guenther
(This used to be commit 4df582fa10)
2007-10-10 12:17:50 -05:00
Günther Deschner
51fb8080c9 r21237: Forgot configure checks in 3_0 (3_0_25 is fine) for heimdal kinit fix.
Guenther
(This used to be commit 8700829c1f)
2007-10-10 12:17:50 -05:00
Herb Lewis
d4e430d0c7 r21231: get rid of unused defines that cause a redefined warning
(This used to be commit 509ae5ffa1)
2007-10-10 12:17:49 -05:00
Jeremy Allison
b32efe921f r21229: Don't indirect through a potentially null pointer :-).
Jeremy.
(This used to be commit 6723f9d85c)
2007-10-10 12:17:49 -05:00
Jeremy Allison
50b3dbef68 r21228: Fix for fd leak on error path. Thanks to
dleonard@vintela.com for this fix !
Jeremy.
(This used to be commit 70b5db7d8c)
2007-10-10 12:17:49 -05:00
Jeremy Allison
778f3a00f0 r21227: Quick fix for Stevef - ensure the returned data on open
is 8 byte aligned.
Jeremy.
(This used to be commit 7645044fcf)
2007-10-10 12:17:49 -05:00
Jeremy Allison
ffe646b1e6 r21226: Fix bug #4377 (rename of "foo" -> "Foo" fails).
This is actually an interesting case as it exposed bad code in our DFS redirect
module (that was where the bug was introduced).
Caused by our turning on dfsroot be default.
Jeremy.
(This used to be commit 5fe25588f5)
2007-10-10 12:17:49 -05:00