1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

19506 Commits

Author SHA1 Message Date
James Peach
5f4f4cbe6f r14899: Add missing semi-colon. 2007-10-10 11:15:53 -05:00
James Peach
56bc02d644 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.
2007-10-10 11:15:53 -05:00
Volker Lendecke
cc1bdbbc41 r14896: Remove unused files 2007-10-10 11:15:53 -05:00
Volker Lendecke
62d60a04cd r14895: Merge the 3.0.22 change 2007-10-10 11:15:53 -05:00
Stefan Metzmacher
b562459fbf r14892: allow:
CC_CHECKER=mycheker make

metze
2007-10-10 11:15:53 -05:00
Volker Lendecke
0f087fd40a r14889: Fix smbwrapper compile 2007-10-10 11:15:52 -05:00
Stefan Metzmacher
69f489bde0 r14886: reenable BASE-DENY2 and BASE-DENY3
metze
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
1ac5351646 r14884: this doesn't work and causes processes to be left when using ctrl-c (SIGINT)
metze
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
b98dd258a7 r14883: add 'smbd:sharedelay' option, so that we can speed up BASE-DENY2 in make test
as done in samba4

metze
2007-10-10 11:15:52 -05:00
Lars Müller
a0d84ccc02 r14869: Allow to dump a paramatrical option.
Flaw: We print an empty line if the paramatrical option is not defined
in the requested section.
2007-10-10 11:15:52 -05:00
Gerald Carter
021b3dc2db 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.
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
1d52ae786d r14865: - enforce timelimits for the tests
- and skip some long tests for now

metze
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
aa76c2edee r14863: try to make the generation of bin/timelimit more portable
jerry: can you test that please

metze
2007-10-10 11:15:51 -05:00
Gerald Carter
4ab372f4ca 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
2007-10-10 11:15:51 -05:00
Jeremy Allison
9a763da073 r14849: Fix >= that should be >. Too strict condition
checked by Volker.
Jeremy.
2007-10-10 11:15:50 -05:00
Jeremy Allison
9c5e26a56a r14847: Tell static checkers that exit_server() doesn't
return.
Jeremy.
2007-10-10 11:15:50 -05:00
Günther Deschner
99158406b4 r14841: Fix IRIX build --with-pam.
Guenther
2007-10-10 11:15:50 -05:00
Jeremy Allison
b985bdcb87 r14833: Fix resource leak on error code path. Coverity #280.
Jeremy.
2007-10-10 11:15:50 -05:00
Jeremy Allison
75be5c17bc r14831: Fix possible null deref. Coverity #279.
Jeremy.
2007-10-10 11:15:49 -05:00
Jeremy Allison
f1b4e870a5 r14829: Fix reversed test in coverity fixes.
Jeremy.
2007-10-10 11:15:49 -05:00
Gerald Carter
63efbdf005 r14825: add support for max connections parameter 2007-10-10 11:15:49 -05:00
Stefan Metzmacher
6f37658f92 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
2007-10-10 11:15:49 -05:00
Stefan Metzmacher
20782719d9 r14809: - add my email address
- fix usage()
- remove unused var

metze
2007-10-10 11:15:49 -05:00
Jeremy Allison
2454af392a r14790: Fix possible null deref. Coverity #277.
Jeremy.
2007-10-10 11:15:48 -05:00
Jeremy Allison
0217f7d7bf r14788: Fix coverity bug #276. null deref.
Jeremy.
2007-10-10 11:15:48 -05:00
Jeremy Allison
363d31c9ec r14786: Fix coverity #275. null deref.
Jeremy.
2007-10-10 11:15:48 -05:00
Jeremy Allison
f88f2d9368 r14784: Fix coverity bug #274. Null deref.
Jeremy.
2007-10-10 11:15:48 -05:00
Jeremy Allison
c2636c1026 r14782: Fix coverity bug #273, null deref.
Jeremy.
2007-10-10 11:15:48 -05:00
Jeremy Allison
1588ce8efe r14780: Fix coverity bug #272, null deref.
Jeremy.
2007-10-10 11:15:48 -05:00
Jeremy Allison
0a1ccfefcf r14778: Fix coverity null deref bugs #268 - #271.
Jeremy.
2007-10-10 11:15:48 -05:00
Jeremy Allison
68097e0fbb r14776: Fix coverity #263 - #267. No one was checking talloc
returns. Doh !
Jeremy.
2007-10-10 11:15:47 -05:00
Jeremy Allison
46e575af17 r14774: Fix null deref coverity bugs #260, #261, #262.
Jeremy.
2007-10-10 11:15:47 -05:00
Jeremy Allison
488b772516 r14772: Fix coverity bug #258. Seems coverity has discovered talloc :-).
Jeremy.
2007-10-10 11:15:47 -05:00
Jeremy Allison
4c126ef65d r14770: Fix coverity bug #257. Possible null deref.
Jeremy.
2007-10-10 11:15:47 -05:00
Jeremy Allison
a40c7a0cd8 r14768: Fix potential null deref coverity bugs #255, #256.
Jeremy.
2007-10-10 11:15:47 -05:00
Jeremy Allison
e2e2d8b939 r14766: Fix possible NULL deref. Coverity #254.
Jeremy.
2007-10-10 11:15:47 -05:00
Jeremy Allison
7a18f38947 r14764: Fix possible null pointer deref. Coverity #253.
Jeremy.
2007-10-10 11:15:47 -05:00
Jeremy Allison
e7225f7e81 r14763: Add a new tuning parameter, open files database hash size,
this allows us to experiment with ensuring the tdb hash
size for our open files and locking db are appropriately
sized. Make the hash size larger by default (10007 instead
of 1049) and make the locking db hash size the same as the
open file db hash size.
Jeremy.
2007-10-10 11:15:46 -05:00
Jeremy Allison
6ae15544cc r14760: Fix #3642, ensure we don't call FD_SET on read with fd == -1.
Jeremy.
2007-10-10 11:15:46 -05:00
Günther Deschner
25970a5429 r14758: Fix broken LDAP search filter.
Guenther
2007-10-10 11:15:46 -05:00
Günther Deschner
d17712f976 r14757: Make sure we only send out a CLDAP request to an connected AD server.
Guenther
2007-10-10 11:15:46 -05:00
Günther Deschner
7eefeaad35 r14756: Make smbpasswd -a root work for eDirectory where there is no "account"
structural objectclass.

Guenther
2007-10-10 11:15:46 -05:00
Günther Deschner
25a2fb3896 r14753: Fix the kerberized pam_auth: As we could have created a new credential
cache with a valid TGT in it but we werent able to get or verify the
service ticket for this local host afterwards and therefor didn't get
the PAC, we need to remove that ccache entirely.

Also remove an ugly pair of (not needed) seteuid calls around the ticket
destroy wrapper.

Guenther
2007-10-10 11:15:45 -05:00
Jeremy Allison
ba9c98983e r14751: Use the noreturn attribute to try and tell coverity that
smb_panic can't return.
Jeremy.
2007-10-10 11:15:45 -05:00
Gerald Carter
d56ed46fae r14748: store the name/ip address combination when we doa reverse look up in case future forward lookups would fail 2007-10-10 11:15:45 -05:00
Jeremy Allison
fd98427f64 r14746: Add the Samba4 replacements for opendir/readdir etc. to
Samba3 - with some 64-bit macro madness. Attempt to fix
the broken directory handling in the *BSD-of-the-month
club.
Jeremy.
2007-10-10 11:15:45 -05:00
Stefan Metzmacher
b120c21669 r14744: allow ./timelimit 5 ./timelimit 20 ./ignore_all_signals
to work,

this is needed when we enable samba3's make test
in the build-farm

metze
2007-10-10 11:15:45 -05:00
Jeremy Allison
9117713c5e r14743: Fix coverity bug #227. Possible deref of null pointer
in error code path.
Jeremy.
2007-10-10 11:15:45 -05:00
Jeremy Allison
bc1a605a39 r14703: Clarify the return codes for the POSIX locking case. This
was confusing.
Jeremy.
2007-10-10 11:15:44 -05:00
Gerald Carter
08d201806f r14699: allow 'net sam addmem' to accept a SID for the member 2007-10-10 11:15:44 -05:00