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

47654 Commits

Author SHA1 Message Date
Jelmer Vernooij
952be0f104 Fix old style syntax in mk files . 2008-09-15 17:36:56 +02:00
Jelmer Vernooij
f94df9056c Use standard directory structure for WMI. 2008-09-15 17:36:55 +02:00
Jelmer Vernooij
51a613acde Move WMI IDL into separate IDL file. 2008-09-15 17:36:54 +02:00
Andrzej Hajda
323b97f76d Import IDL for WMI. 2008-09-15 17:36:53 +02:00
Jelmer Vernooij
37a38eeff2 Reimport DCOM IDL. 2008-09-15 17:36:51 +02:00
Andrzej Hajda
0731aaddfc Import WMI implementation from wmi-0.1.12. 2008-09-15 17:36:49 +02:00
Jelmer Vernooij
d106cb2ee5 Reimport COM and DCOM libraries. 2008-09-15 17:36:46 +02:00
Stefan Metzmacher
b295dca7a0 blackbox: fix source => source4
metze
2008-09-14 23:08:45 +02:00
Stefan Metzmacher
9d3d332092 Merge Samba3 and Samba4 together 2008-09-14 23:07:26 +02:00
Stefan Metzmacher
4f2b99646b lib/tdb: sync build system changes and python code from samba4
metze
(This used to be commit bdb8ed24488fd87cd30dd18744feeef0bd4b2c18)
2008-09-14 19:23:00 +02:00
Jeremy Allison
a1cf3ad5d6 Remove unecessary msync.
Jeremy.
(cherry picked from commit 0bae1ef3de8fda5e1e2d641b14a408e627396912)
(This used to be commit db2acaf46fdc38078b6b28b68909e289f6c9e0ec)
2008-09-14 19:20:09 +02:00
Simo Sorce
b39e332bd7 The msync manpage reports that msync *must* be called before munmap. Failure to do so may result in lost data. Fix an ifdef check, I really think we meant to check HAVE_MMAP here.
(cherry picked from commit 74c8575b3f3b90ea21ae6aa7ccd95947838af956)
(This used to be commit 8fd54bb55f0c23bd025d1719abcbe75c6a2ea8ac)
2008-09-14 19:19:55 +02:00
Volker Lendecke
8c88209c6f Attempt to fix bug 5684
With the ctdb checkin dde9f3f006 tdb optimized out write lock checks for
write-enabled transaction. Sadly, this also removed the possibility to ever
remove dead records left over from tdb_delete calls within a transaction.

Tridge, please check this! Did dde9f3f006 have any reason beyond performance
optimizations?

Thanks,

Volker
(cherry picked from commit 3f884c4ae36f3260e63626bdd4989d9258ae6497)
(This used to be commit 1d85e0647e287d269b3f6b534da88f497d6f76c3)
2008-09-14 19:19:45 +02:00
Stefan Metzmacher
bedd2710fb lib/talloc: sync build system changes from samba4
metze
(This used to be commit 0143c320ccf21c00e1a09b8363cd42724b76faf9)
2008-09-14 19:18:12 +02:00
Andrew Bartlett
afbd57080b Skip strcmp() on 2 NULL pointers.
Andrew Bartlett
(cherry picked from commit 7b9a647ebbbe9ec9e1b82b42e3a8916396f91273)
(This used to be commit 60f7bdac64e32ea39099ababacca6f8a2b780ecb)
2008-09-14 19:17:19 +02:00
Kai Blin
b725e9e586 r26514: Revert the talloc.c part of r26511, as talloc.h already takes care of thois.
Thanks to metze for pointing this out
(cherry picked from commit 4a5e1047fff0620aa534b147ac7e0bd0416a8fe7)
(This used to be commit 523cc93f89d00ed5a49fd033988e7221bd2ed902)
2008-09-14 19:12:57 +02:00
Stefan Metzmacher
375ca336fe r26511: Janitorial: Fix a warning for the 'printf' attribute on gendb_search_v
While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf.
(partialy cherry picked from commit 5b3a8c8ae195e6a98357a407a0699493f54a8b79)
metze
(This used to be commit 0073e41a0157ec43b944372671299b3e8a2b3cd5)
2008-09-14 19:12:39 +02:00
Simo Sorce
79297bc132 Update homepages for talloc, tdb and ldb subprojects
(cherry picked from commit 8cb07814bc6627fc8eba228eafd13336e3ca3758)
(This used to be commit 7d85b8d076d6b5b1773c44cd527e016b5d319da5)
2008-09-14 19:04:05 +02:00
Michael Adam
ed902d2f91 Adapt source code checkout information to git repo in talloc website.
Michael
(cherry picked from commit 254be79799acc69db88a5500a2f755c84553f8ef)
(This used to be commit ac724cddc4a42c1c0cade3fb1cd551f005f2b54c)
2008-09-14 19:03:55 +02:00
Michael Adam
5806d2694d Fix paths for talloc into unpacked directory (rsync commands).
Michael
(cherry picked from commit 2839d7f67a0d3ed5b4841bf3c12ce73972636b88)
(This used to be commit a891494d9373a1ecda1ad67c3c6b96cf6d37ea47)
2008-09-14 19:03:46 +02:00
Michael Adam
be9363deed Fix path to talloc guide. Noted by "teferi" on irc.
Michael
(cherry picked from commit bc4e03f2ddb669758e27e2a5c32e15c7d6c5257d)
(This used to be commit 5e5528ff964cd829a8cf8e508983e1a1eda01c32)
2008-09-14 19:03:31 +02:00
Jelmer Vernooij
586084688a r25614: Add trivial tdb website.
(cherry picked from commit 6f88c41c31271fd4b634b6393dc4ca44563a88d2)
(This used to be commit 830f99fb5d73c999bb0975828bab6e5f7537baf6)
2008-09-14 19:00:08 +02:00
Stefan Metzmacher
9d6e473c22 Fix warnings on SuSE 9.0.
The macros "[un]likely" are already defined on SuSE 9.0.
Patch from Volker.

(partialy cherry-picked 30d181c92463aecd6e649330d3645d86d5a17e43)
metze
(This used to be commit ad7ed33f786124e4afbba4330201a3a6463c6f73)
2008-09-14 18:50:13 +02:00
Volker Lendecke
f5d9068359 Fix bug 5400
Thanks to Jason Mader!

Volker
(cherry picked from commit 87d8a63ce4e6dd91ea3193d0a2574520a5857be2)
(This used to be commit 34ab9e5a23458c9f9845d1ff808c142cb2f1f2a4)
2008-09-14 18:47:15 +02:00
Stefan Metzmacher
121bcbdb7f Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.
(partialy cherry picked from commit 359921acd436684a0b4cf76ba15f82a224d2c337)
metze
(This used to be commit d89b8fee5210c7b4d8fad24edea34f9732aec708)
2008-09-14 18:46:34 +02:00
Stefan Metzmacher
e86dc14d83 libreplace: include <krb5.h> and <com_err.h> and no heimdal specific headers
metze
(partialy cherry picked from commit cffed8e19e22a1fa7b7a322b153df5d54e4c3be2)
(This used to be commit f46a17b408f8c78ecdff724f29d97f8f268d5577)
2008-09-14 18:28:17 +02:00
Yannick Bergeron
6b7c4413fe using NGROUPS_MAX instead of 32 for the max group value in rep_initgroups() subroutine in lib/replace/replace.c
(cherry picked from commit 13b1a232d2fe05ae3e924ea2503d05ff5084146e)
(This used to be commit 0d2fb0e280e497094a4c95f8dca1383ee1cfa982)
2008-09-14 18:26:59 +02:00
Yannick Bergeron
b3b28162b6 Solve an IBM XL C/C++ compiler error encountered in get_exit_code() auth_errors array initialization in client/smbspool.c
(cherry picked from commit b45e7fabc64e699e4fa013ef15f98a004dae3f32)
(This used to be commit 661f8e166118d257ab32a30392cd616db097bc4c)
2008-09-14 18:26:59 +02:00
Karolin Seeger
2bb8ef091c Fix typo.
retieve -> retrieve

Karolin
(partialy cherry-picked from 37c64130701ab13b6f34998ac17fec2d128c2e08)
metze
(This used to be commit 4d92e6d582a5b2094b2aaa9008a54b37ccfcc2d7)
2008-09-14 18:26:59 +02:00
Volker Lendecke
277e095f78 Correctly find a [u]int32_t replacement
(cherry picked from commit 346375cda557a675f8f882ca2ae8edffec725a72)
(cherry picked from commit 15a53945c9563b4517bd8b69a9bb0554eef5edff)
(This used to be commit 46c3fc67e91bbdb820e4bddd085933a8570e504c)
2008-09-14 18:22:17 +02:00
Jelmer Vernooij
8f691ac524 Fix extra dash in command line flag.
(cherry picked from commit c823cfadb0b20a0782fc4a8a0b63dcb9116f82be)
(This used to be commit 176d624376f7e450b34187778fc75d75679bdd0b)
2008-09-14 18:20:42 +02:00
Jeremy Allison
b2c4838543 Fix replacement getpass. If we ^C at the prompt echo was left off.
Jeremy.
(cherry picked from commit e54c71954ae484fe4a4e195db33440490e78e256)
(This used to be commit d61a86b8cdb4dd474611baadc61a0c37db0f8e62)
2008-09-14 18:19:59 +02:00
Stefan Metzmacher
9a222474bb rpc_server: don't send auth trailers in level connect
Also ignore auth trailers in level connect on receive.

This fixes [krb5,connect] against windows.

TODO: maybe the gensec mech need to decide if signatures
      are needed in level connect.

metze
(This used to be commit 2e3629719790e7631d9de383b565dc8a0997bcfb)
2008-09-13 20:37:12 +02:00
Stefan Metzmacher
48f500edc0 librpc/rpc: don't send auth trailers in level connect
Also ignore auth trailers in level connect on receive.

This fixes [krb5,connect] against windows.

TODO: maybe the gensec mech need to decide if signatures
      are needed in level connect.

metze
(This used to be commit eca0502b8620f2110a303b84def4f0bf48cc4ea5)
2008-09-13 20:37:12 +02:00
Stefan Metzmacher
de53ddee89 rpc_server: correctly calculate the auth padding
metze
(This used to be commit e82468a8f538aa0cf6d477fb54cc0178c0d64574)
2008-09-13 20:37:11 +02:00
Stefan Metzmacher
73ebb58f2d client free credentials when not needed anymore
(This used to be commit d982b69df638f17da6af398e2613986240031064)
2008-09-13 20:37:11 +02:00
Jeff Layton
73caef2c12 mount.cifs: make local versions of strlcat and strlcpy static
...to silence -Wmissing-prototypes

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit fc7c71f15b39158ac58beaa90cc9038db680b8cb)
2008-09-12 21:21:33 -04:00
Jeff Layton
56d5149dc6 cifs.upcall: make most functions static and silence compiler warnings
...to silence -Wmissing-prototypes and some uninit'ed variable
warnings. Thanks to GD for the extra-paranoid compiler flags.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit f0ee2c145fa031f91c28a69a44b7652f18eea0f0)
2008-09-12 21:13:54 -04:00
Jeremy Allison
c7b75de962 Modify a comment to make things clearer.
Jeremy.
(This used to be commit 9d55ca85ffc73e3fa5fb9895fbcb1ee22f4e320d)
2008-09-12 15:03:05 -07:00
Jeremy Allison
6ce1c893fa Comment the delay write time tests so I know what they're
testing.
Jeremy.
(This used to be commit 2bf9074c7751324483744f55b02cfb044bb0b2dd)
2008-09-12 14:59:32 -07:00
Volker Lendecke
ffbc38abe1 Factor out validate_smb_crypto
(This used to be commit 37fcc9dc462dfb006fdac294e49c0dae7588c103)
2008-09-12 23:09:17 +02:00
Volker Lendecke
ced409b5f7 Fix "make test" -- gna...
(This used to be commit c1d3ae80b5f5f07c5efcd7f3ee301d5c3090f3c6)
2008-09-12 22:29:56 +02:00
Volker Lendecke
0e9f348f1d Add a more explaining comment
(This used to be commit edd70836daef340f21df3cb102144935f36e5c4c)
2008-09-12 21:56:40 +02:00
Volker Lendecke
d892b1c886 remove a pointless empty line
(This used to be commit fba250ece45f6632c7d89b0ea28baab047e41a8f)
2008-09-12 21:42:34 +02:00
Volker Lendecke
f8f1679bc4 Add a paranoia check on incoming PDUs
(This used to be commit 8b81b85200b7ca18cf81fdbbc3254d8578b35f43)
2008-09-12 21:42:34 +02:00
Jelmer Vernooij
218a1c8a67 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into manpage
(This used to be commit eff27744d3dcb4f6bcdf9bd03583bb38634c398d)
2008-09-12 21:31:56 +02:00
Jelmer Vernooij
fc23663f4b Revert "Add option for generating coverage data from python tests."
This reverts commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef.
(This used to be commit 696f30fff249656409f2efcc81b86a421d0c6880)
2008-09-12 21:28:48 +02:00
Simo Sorce
e4412a0470 Remove ancient remains of first experimentations about
supporting a schema
(This used to be commit 53b57300c799a079b4d64815243fe6120e0a9fa2)
2008-09-12 13:57:50 -04:00
Simo Sorce
e060303670 Fix spellings and file names
(This used to be commit baddefd0a6fa430af1a3001064149127e0d29361)
2008-09-12 13:29:51 -04:00
Michael Adam
fd7635a116 packaging: use "find" instead of "du" to find files... :-)
Michael
(This used to be commit 768aa82361a2c4b0aab71433b7593723a2868f0a)
2008-09-12 15:07:00 +02:00