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

21672 Commits

Author SHA1 Message Date
Jelmer Vernooij
4add2fe36e idl: Replace non-standard "declare" keyword with typedef and regenerate.
(This used to be commit 7e75acfdd1)
2008-01-13 01:22:23 +01:00
Volker Lendecke
8d464d470a Don't early delete the share mode tdb data
We now refer directly to the file name in the tdb data, so don't delete it.
(This used to be commit 71de4946cf)
2008-01-12 23:57:12 +01:00
Volker Lendecke
5a8bbc64cc Trivial simplification
(This used to be commit 616bc34744)
2008-01-12 23:57:11 +01:00
Volker Lendecke
bb2c52ad43 Remove an unused variable
(This used to be commit 24e719a1d4)
2008-01-12 23:57:11 +01:00
Volker Lendecke
18083f1d88 Get the inbuf on talloc_tos()
(This used to be commit 883f741576)
2008-01-12 21:09:43 +01:00
Volker Lendecke
ec412b60ea Convert OpenDir to talloc, use talloc_tos()
This cuts some mallocs on NtCreate&X
(This used to be commit 8e64107b78)
2008-01-12 21:04:06 +01:00
Volker Lendecke
4af27ec877 Restructure dbwrap_rbt
In this low-level code, play tricks to reduce the number of allocations to the
possible minimum. I would not recommend this for higher-level code, but here it
pays off.
(This used to be commit 71b1e6ff15)
2008-01-12 20:11:10 +01:00
Volker Lendecke
2aa12fff43 One more empty line
(This used to be commit 10b6f52910)
2008-01-12 20:11:10 +01:00
Volker Lendecke
b36a78837f delete on close even prevents stat opens
(This used to be commit 85fe7f3f6e)
2008-01-12 20:11:10 +01:00
Volker Lendecke
4c0ca86051 There's no point in calling FLOCK on a non-existing fd
(This used to be commit 9ff79f231f)
2008-01-12 20:11:10 +01:00
Jeremy Allison
360673e80e CID 458. Don't leak dlopen handles on failing to load
module.
Jeremy.
(This used to be commit 8809eaeb15)
2008-01-12 00:15:46 -08:00
Jeremy Allison
aa8818bcc3 Fix CID 469. new_acct can't be NULL here.
Jeremy.
(This used to be commit c79e9414c4)
2008-01-12 00:09:35 -08:00
Jeremy Allison
76d904e6d8 Fix CID 470. resolve_order can't be NULL here so simplify code.
Jeremy.
(This used to be commit 2e75f3ecdf)
2008-01-12 00:05:07 -08:00
Jeremy Allison
ff98a654d6 Fix CID 475. work should not be checked against NULL
here as it can never be null.
Jeremy.
(This used to be commit ecb52f50fe)
2008-01-11 23:56:48 -08:00
Jeremy Allison
43717a16e2 Fix CID 476. Ensure a valid pac_data pointer is always passed to
ads_verify_ticket as it's always derefed.
Jeremy.
(This used to be commit 0599d57eff)
2008-01-11 23:53:27 -08:00
Jeremy Allison
866af9a800 Coverity 512, uninitialized var.
Jeremy.
(This used to be commit 1b7cc80c61)
2008-01-11 23:43:33 -08:00
Jeremy Allison
bd317be33b Stop Coverity complaining about uninitialized variables.
Jeremy.
(This used to be commit 041f1d298c)
2008-01-11 23:41:17 -08:00
Jeremy Allison
23aab9dab7 Fix CID 498. Ensure we don't prs_mem_free an uninitialized
prs_struct.
Jeremy.
(This used to be commit 7b9d9fba23)
2008-01-11 23:24:13 -08:00
Jeremy Allison
9f75099657 Fix CID 505 - don't copy uninitialized memory.
Jeremy.
(This used to be commit 0d2c77e8d3)
2008-01-11 23:17:23 -08:00
Jeremy Allison
915647da9c Fix CID 523 - wrong null deref check.
Jeremy.
(This used to be commit 05cadffeab)
2008-01-11 22:50:13 -08:00
Jeremy Allison
d9ee831d0e Fix CID 524 - reference before allocation fail null check.
Jeremy.
(This used to be commit a5cd3c9b65)
2008-01-11 22:47:25 -08:00
Jeremy Allison
6fa81523f8 Ensure we don't access an uninitialized variable
(CID 535 - actually false but easy to shut up :-).
Jeremy.
(This used to be commit 4038bb3a94)
2008-01-11 22:44:33 -08:00
Günther Deschner
45db92cc72 Fix some indents.
Guenther
(This used to be commit 57368f883f)
2008-01-12 02:26:08 +01:00
Günther Deschner
afb163efb7 Call dsgetdcname when we have no specific dc defined for joining.
Guenther
(This used to be commit 40e8caa2d8)
2008-01-12 02:25:57 +01:00
Günther Deschner
d4e5cadc1a Fix some error strings in libnet_join.
Guenther
(This used to be commit 8af80976a3)
2008-01-12 02:25:47 +01:00
Günther Deschner
21ccb47044 Add appropriate error code when pre-creating accounts in ous isnt supported by DC.
Guenther
(This used to be commit 4a7acf4a23)
2008-01-12 02:25:37 +01:00
Günther Deschner
bc629c6faf For libnet_join error string functions, make sure not to overwrite last status string.
Guenther
(This used to be commit a9b76c9e2d)
2008-01-12 02:25:25 +01:00
Günther Deschner
e69c82eb44 Merge all ads related calls in libnet_join_post_processing_ads().
Guenther
(This used to be commit b76250f1cf)
2008-01-12 02:25:15 +01:00
Günther Deschner
a05edb57e7 Use WITH_ADS define in libnet_join, hopefully not breaking the build.
Guenther
(This used to be commit 48f638a455)
2008-01-12 02:10:17 +01:00
Günther Deschner
8921b2222a Auto-add missing shares in libnet_conf_set_parameter().
Michael, please have a look.

Guenther
(This used to be commit 9f4506e5e2)
2008-01-12 01:36:04 +01:00
Günther Deschner
9d164c4094 Add debug bool flag for libnetjoin ctx.
Guenther
(This used to be commit 9308448795)
2008-01-12 01:35:57 +01:00
Günther Deschner
fbd6d14fc8 Use domain_is_ad one more time in libnetjoin.
Guenther
(This used to be commit 82bd6322b6)
2008-01-12 01:35:51 +01:00
Jeremy Allison
2ec41571a3 Sync tdb with the tdb changes in ctdb. Spoke to tridge about
this. Fixes insidious problem with order n^2 freelist merging.
Jeremy.
(This used to be commit c6609c042b)
2008-01-11 15:08:37 -08:00
Michael Adam
9cd7430347 Remove code accidentially submittet with last commit 83aed537c1.
This is ist still in preparation and will follow soon. Soory!

Michael
(This used to be commit 75acdb54a4)
2008-01-11 19:02:26 +01:00
Michael Adam
618f9a60cc Fix panic in "net conf": Fix logic in error condition.
Michael
(This used to be commit 83aed537c1)
2008-01-11 18:55:26 +01:00
Günther Deschner
2539cf0739 Fix a build warning.
Guenther
(This used to be commit 88874a501d)
2008-01-11 18:47:03 +01:00
Günther Deschner
c79ce2ffa3 As long as DsGetDcName is not part of libnetapi, lowercase the fn name.
Guenther
(This used to be commit 19a980f520)
2008-01-11 15:32:20 +01:00
Günther Deschner
efcf285e27 Fix libnetapi error string callers.
Guenther
(This used to be commit 1ad7a0a361)
2008-01-11 15:28:24 +01:00
Günther Deschner
026b2a8d0a Remove '\n' from error strings in libnet_join context.
Guenther
(This used to be commit 9cc0d874f6)
2008-01-11 15:10:29 +01:00
Günther Deschner
55b642c312 Set error string when ads_leave_realm() has failed in libnetjoin.
Guenther
(This used to be commit 01690f85bc)
2008-01-11 15:10:21 +01:00
Günther Deschner
7a87256cd1 Include some basic headers in netapi.h.
Guenther
(This used to be commit 23b92a6fa5)
2008-01-11 15:10:15 +01:00
Günther Deschner
4eed7883bb Refactor libnetapi error string functions a bit.
Guenther
(This used to be commit 3b450a8bcc)
2008-01-11 15:09:54 +01:00
Günther Deschner
2bcba87572 Ignore result of libnet_conf_delete_parameter here, as realm may be not there.
Guenther
(This used to be commit 2e2d058b7e)
2008-01-11 15:09:20 +01:00
Günther Deschner
2c591e05c9 Remove some more references to global_myname() in libnet_join.
Guenther
(This used to be commit ed4960bacc)
2008-01-11 15:09:01 +01:00
Günther Deschner
136b02de5e Use domain_is_ad bool.
Guenther
(This used to be commit 9707a5eb00)
2008-01-11 15:08:52 +01:00
Günther Deschner
28b852a893 Add domain_is_ad bool to libnetjoin ctx.
Guenther
(This used to be commit 16ca8d2746)
2008-01-11 15:08:41 +01:00
Jeremy Allison
6a8fad084c Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 767e0164ad)
2008-01-10 16:36:05 -08:00
Jeremy Allison
f33f4ef4a2 Don't switch user contexts unless you have to. Saves
a bunch of syscalls on close. Noticed by Volker.
Jeremy.
(This used to be commit 3caeeaea16)
2008-01-10 16:35:54 -08:00
Michael Adam
fef9cf00e1 Combine fsp and tofd to tofsp in SMB_VFS_RECVFILE().
Michael
(This used to be commit 3958abffaf)
2008-01-11 01:27:05 +01:00
Michael Adam
14d45bedfa Remove now redundant parameter fd from prime_cache().
Michael
(This used to be commit 63acaf1b97)
2008-01-11 01:27:05 +01:00