1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

19419 Commits

Author SHA1 Message Date
Volker Lendecke
42131b759d r15011: Fix bug # 2413. net rpc info can't reliably work anonymously anymore.
Volker
(This used to be commit ba41c62b8b4d0c791035d63fb59496c0f655887f)
2007-10-10 11:15:56 -05:00
Volker Lendecke
4cde26cfc9 r15009: Add a check for NULL
(This used to be commit 0a7d4f1ab109f57f5b5f4c1e83ad346b13b50778)
2007-10-10 11:15:56 -05:00
Andrew Tridgell
de7753141c r15007: fixed usage of cli_list() in smbwrapper so it compiles. This doesn't get smbwrapper really working again, but at least it will help Timur Bakeyev in his question to make it work
(This used to be commit e73ee08c84801f315f556d204007f053fda56dbf)
2007-10-10 11:15:56 -05:00
Jeremy Allison
d8dfc29c9e r15005: Fix printf args to remove warnings.
Jeremy.
(This used to be commit 68d100830c5a6fa24b863071e8ca77ab264175a0)
2007-10-10 11:15:55 -05:00
Gerald Carter
bbf666e447 r15003: patch based on code from Arkady Glabek <aglabek@centeris.com> to ensure that global memory is freed when unloading pam_winbind.so (needs more testing on non-linux platforms)
(This used to be commit 1e0b79e591d70352a96e0a0487d8f394dc7b36ba)
2007-10-10 11:15:55 -05:00
Jeremy Allison
c9c502442b r14989: Fix from Mathias Dietz <MDIETZ@de.ibm.com>. EPERM can be
a valid return from getting an xattr. Don't disable if
we get it.
Jeremy.
(This used to be commit 7769b678f22d8ab4aa8aef55966813355bf2ce6d)
2007-10-10 11:15:55 -05:00
Jeremy Allison
876f2deb3a r14986: Fix OS/2 directory delete bug found by kukks.
(Thanks a lot for all your hard work on this).
We were caching the results of *all* directory
scans, not just the results that match the
client wildcard. This actually made no sense,
as only matches on the client wildcard can be
returned to the client and so might need to
be searched for in the cache. This fixes the
directory cache to only cache entries that we
return to the client.
Jeremy.
(This used to be commit c88af597d042390ff11b26fe802b0b10d0faa6ce)
2007-10-10 11:15:55 -05:00
Jeremy Allison
4ee43dbd47 r14954: Fix #3569 based on William Jojo's work. AIX also
has the linear posix locking issue which causes
CLEAR_IF_FIRST to cause performance problems.
As we know we're in a daemon architecture with
long-lived parent we can avoid this in the Samba
case. Add a comment explaining this.
Jeremy.
(This used to be commit 3cd5c3df0d1b98dfa90663973ab13b5d3dbf737e)
2007-10-10 11:15:55 -05:00
Günther Deschner
ca09263d00 r14940: Remove pam_winbind's ability to create home directories on it's own.
Guenther
(This used to be commit 87293802f3e0666c9a50eb3ca63bb1a7dccc50dc)
2007-10-10 11:15:54 -05:00
Jim McDonough
92f139d4c4 r14931: Fix #1374: can't join an OU with name that contains '#'
I had to eliminate "\" as an OU path separator, because it is the escape
char in LDAP.  We still accept "/", but using the escape char is just
not a good choice.
(This used to be commit 1953f63903e64e0a33eb981c51b8ca4beb673af2)
2007-10-10 11:15:54 -05:00
Lars Müller
52f4dfa6fc r14923: Return False in the case a parametrical option is not configured in
the config file.

For a "somesettings: foo = " we still return an empty line.
(This used to be commit 59175ee522c5b4f9554ee734c008d8048eb1eadb)
2007-10-10 11:15:54 -05:00
Lars Müller
e9488049c1 r14922: Use BOOL for the returned value.
(This used to be commit b228474be0ced2637272a7b614b92e412a118993)
2007-10-10 11:15:54 -05:00
James Peach
9f9526f0c7 r14900: Separate words in error message.
(This used to be commit ffe1a2e23ffb2edf2274c20ece0a66a9c649d50f)
2007-10-10 11:15:53 -05:00
James Peach
da3b7af764 r14899: Add missing semi-colon.
(This used to be commit 5f4f4cbe6fe069570a921468034005d364f63206)
2007-10-10 11:15:53 -05:00
James Peach
4fa5559800 r14898: This change is an attempt to improve the quality of the information that
is produced when a process exits abnormally.

First, we coalesce the core dumping code so that we greatly improve our
odds of being able to produce a core file, even in the case of a memory
fault. I've removed duplicates of dump_core() and split it in two to
reduce the amount of work needed to actually do the dump.

Second, we refactor the exit_server code path to always log an explanation
and a stack trace. My goal is to always produce enough log information
for us to be able to explain any server exit, though there is a risk
that this could produce too much log information on a flaky network.

Finally, smbcontrol has gained a smbd fault injection operation to test
the changes above. This is only enabled for developer builds.
(This used to be commit 56bc02d64498eb3faf89f0c5452b9299daea8e95)
2007-10-10 11:15:53 -05:00
Volker Lendecke
f5e7376bca r14896: Remove unused files
(This used to be commit cc1bdbbc41bd6626ee53abf3f2ab35c454e036b7)
2007-10-10 11:15:53 -05:00
Volker Lendecke
d4ff03ae12 r14895: Merge the 3.0.22 change
(This used to be commit 62d60a04cd85dc521e7d63726b856f38287466ad)
2007-10-10 11:15:53 -05:00
Stefan Metzmacher
41c4c10397 r14892: allow:
CC_CHECKER=mycheker make

metze
(This used to be commit b562459fbfdbfa25c774d631b48f1187fc3e15eb)
2007-10-10 11:15:53 -05:00
Volker Lendecke
93386ba1cf r14889: Fix smbwrapper compile
(This used to be commit 0f087fd40ad502513c3775587c07c86fc53bf718)
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
c398ea247b r14886: reenable BASE-DENY2 and BASE-DENY3
metze
(This used to be commit 69f489bde07d4c66bdf4dd3a2411d40ed868d144)
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
97bfe0d0a0 r14884: this doesn't work and causes processes to be left when using ctrl-c (SIGINT)
metze
(This used to be commit 1ac5351646b18f28b1f9ed477b6e6046e1bdf783)
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
18e93247aa r14883: add 'smbd:sharedelay' option, so that we can speed up BASE-DENY2 in make test
as done in samba4

metze
(This used to be commit b98dd258a74a1e1b4e967e6176a5a92986d03123)
2007-10-10 11:15:52 -05:00
Lars Müller
570b49f33f r14869: Allow to dump a paramatrical option.
Flaw: We print an empty line if the paramatrical option is not defined
in the requested section.
(This used to be commit a0d84ccc02e19d22d827e7d052fab6d471f0a1b3)
2007-10-10 11:15:52 -05:00
Gerald Carter
e4998337e7 r14868: I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.

...

Fix my brain dead inverted logic for turning winbindd on and off
when run on a DC or when calling pdb functions from within winbindd.
(This used to be commit 021b3dc2db9fb422ede4657a1f27ef7ef2d22cee)
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
186f442f4c r14865: - enforce timelimits for the tests
- and skip some long tests for now

metze
(This used to be commit 1d52ae786d400441d9f5b30b4fa9e4e8ff64f7e4)
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
a7d4912fcf r14863: try to make the generation of bin/timelimit more portable
jerry: can you test that please

metze
(This used to be commit aa76c2edee17a023ee49f9b960a79df402f785ea)
2007-10-10 11:15:51 -05:00
Gerald Carter
6c9eaa6880 r14855: Various fixes:
* depreacte 'acl group control' after discussion with Jeremy
  and implement functionality as part of 'dos filemode'
* fix winbindd on a non-member server to expand local groups
* prevent code previously only used by smbd from blindly
  turning _NO_WINBINDD back on
(This used to be commit 4ab372f4cab22225716b5c9a9a08f0c1dbc9928d)
2007-10-10 11:15:51 -05:00
Jeremy Allison
872d3cea87 r14849: Fix >= that should be >. Too strict condition
checked by Volker.
Jeremy.
(This used to be commit 9a763da07385bf9af437cab8dd680f2e13fca3c3)
2007-10-10 11:15:50 -05:00
Jeremy Allison
ecc0c18889 r14847: Tell static checkers that exit_server() doesn't
return.
Jeremy.
(This used to be commit 9c5e26a56aaaf1143b43e61d208ddaeb96f2ffcb)
2007-10-10 11:15:50 -05:00
Günther Deschner
69f3c630fa r14841: Fix IRIX build --with-pam.
Guenther
(This used to be commit 99158406b47dc07961c4f6536181da868cf276ca)
2007-10-10 11:15:50 -05:00
Jeremy Allison
4f53350b43 r14833: Fix resource leak on error code path. Coverity #280.
Jeremy.
(This used to be commit b985bdcb87eeb70725f2d625a4ea5ec39bda1b94)
2007-10-10 11:15:50 -05:00
Jeremy Allison
576e17cbf3 r14831: Fix possible null deref. Coverity #279.
Jeremy.
(This used to be commit 75be5c17bc74c86219c7cac749b52b7d43abb780)
2007-10-10 11:15:49 -05:00
Jeremy Allison
15ebf2cd29 r14829: Fix reversed test in coverity fixes.
Jeremy.
(This used to be commit f1b4e870a52cbd7bb780b206e943987648523060)
2007-10-10 11:15:49 -05:00
Gerald Carter
2b86a5b4ed r14825: add support for max connections parameter
(This used to be commit 63efbdf005f410c4a9843809207ea27f4c1ac756)
2007-10-10 11:15:49 -05:00
Stefan Metzmacher
3aaa903102 r14820: sync test_posix_p3.sh with test_posix.sh from samba4
but only run the BASE-* tests and ignore some more than in samba4

metze
(This used to be commit 6f37658f927c103a71e918ab5ac78d61cd570c36)
2007-10-10 11:15:49 -05:00
Stefan Metzmacher
c3624eb7c4 r14809: - add my email address
- fix usage()
- remove unused var

metze
(This used to be commit 20782719d9eda7609788c132356db7107b7fe04a)
2007-10-10 11:15:49 -05:00
Jeremy Allison
75c965d3a4 r14790: Fix possible null deref. Coverity #277.
Jeremy.
(This used to be commit 2454af392a71989ecddb2dbb17a9217658102523)
2007-10-10 11:15:48 -05:00
Jeremy Allison
2178bcaa39 r14788: Fix coverity bug #276. null deref.
Jeremy.
(This used to be commit 0217f7d7bf4c8b5b7de2433485fb6f78b62ac817)
2007-10-10 11:15:48 -05:00
Jeremy Allison
00fb5e431d r14786: Fix coverity #275. null deref.
Jeremy.
(This used to be commit 363d31c9ec2d2a4429ab4d26b3d7c78b76f60626)
2007-10-10 11:15:48 -05:00
Jeremy Allison
ec4191fe98 r14784: Fix coverity bug #274. Null deref.
Jeremy.
(This used to be commit f88f2d93686ba6bd317b7bc935888e75b7999c83)
2007-10-10 11:15:48 -05:00
Jeremy Allison
0b1e1ed722 r14782: Fix coverity bug #273, null deref.
Jeremy.
(This used to be commit c2636c10262e8045f701143dee22b10b2d0c0344)
2007-10-10 11:15:48 -05:00
Jeremy Allison
d0c0079ef8 r14780: Fix coverity bug #272, null deref.
Jeremy.
(This used to be commit 1588ce8efe7fafd89561b55a98c498f947f4ada9)
2007-10-10 11:15:48 -05:00
Jeremy Allison
ba49732bcf r14778: Fix coverity null deref bugs #268 - #271.
Jeremy.
(This used to be commit 0a1ccfefcf27c5970b82bf8a451bcdaa4fee1bd0)
2007-10-10 11:15:48 -05:00
Jeremy Allison
f6a1f71719 r14776: Fix coverity #263 - #267. No one was checking talloc
returns. Doh !
Jeremy.
(This used to be commit 68097e0fbb8f232573a2f7eae3da3a0c9873fbc5)
2007-10-10 11:15:47 -05:00
Jeremy Allison
4d9ad70060 r14774: Fix null deref coverity bugs #260, #261, #262.
Jeremy.
(This used to be commit 46e575af17cefb0ce7a1fdfacf29f90ae36fa72e)
2007-10-10 11:15:47 -05:00
Jeremy Allison
b98703ccaa r14772: Fix coverity bug #258. Seems coverity has discovered talloc :-).
Jeremy.
(This used to be commit 488b7725168971e6e59f3a2a7476ce82df43579b)
2007-10-10 11:15:47 -05:00
Jeremy Allison
621f91c693 r14770: Fix coverity bug #257. Possible null deref.
Jeremy.
(This used to be commit 4c126ef65dd07352ab936fff774c7435723f5395)
2007-10-10 11:15:47 -05:00
Jeremy Allison
68dcff3f3a r14768: Fix potential null deref coverity bugs #255, #256.
Jeremy.
(This used to be commit a40c7a0cd888dcee3cac1a41602863f54c51ef17)
2007-10-10 11:15:47 -05:00
Jeremy Allison
e4c66fe4ca r14766: Fix possible NULL deref. Coverity #254.
Jeremy.
(This used to be commit e2e2d8b939dd425a97b36102c6a541e3cf6236ad)
2007-10-10 11:15:47 -05:00
Jeremy Allison
b84d06dae7 r14764: Fix possible null pointer deref. Coverity #253.
Jeremy.
(This used to be commit 7a18f38947385b8a5fb27a42610320003689e9e1)
2007-10-10 11:15:47 -05:00