1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-01 05:47:28 +03:00

16926 Commits

Author SHA1 Message Date
Jelmer Vernooij
2fc75a6c4e Adapt to changes in Samba API's, fix formatting. 2008-09-15 17:40:24 +02:00
Jelmer Vernooij
307f7d7d77 Fix imports in Python. 2008-09-15 17:40:23 +02:00
Jelmer Vernooij
138095470e Avoid writing structs for inherited functions. 2008-09-15 17:40:22 +02:00
Jelmer Vernooij
b1b97e39ad Add wikipedia link to WMI. 2008-09-15 17:40:21 +02:00
Jelmer Vernooij
e7d4979494 Fix imports. 2008-09-15 17:40:20 +02:00
Jelmer Vernooij
54437f1e8a More improvements. 2008-09-15 17:40:19 +02:00
Jelmer Vernooij
b91a7fa166 use static header for WMI. 2008-09-15 17:40:16 +02:00
Jelmer Vernooij
87fa362bed Improve formatting, use printf rather than DEBUG. 2008-09-15 17:39:46 +02:00
Jelmer Vernooij
1b73457af5 Cope with DCE/RPC -> NDR renames. 2008-09-15 17:39:45 +02:00
Jelmer Vernooij
f29220fe11 Allow base classes to be defined in other files. 2008-09-15 17:39:44 +02:00
Jelmer Vernooij
1ca80d037d Re-Import ODL support. 2008-09-15 17:39:42 +02:00
Jelmer Vernooij
30be012bfd Cope with struct renames in DCE/RPC and NDR libraries. 2008-09-15 17:39:42 +02:00
Jelmer Vernooij
df06b36b46 Cope with includes.h splitup in COM code. 2008-09-15 17:39:41 +02:00
Jelmer Vernooij
53c9df4da0 Redefine BSTR. 2008-09-15 17:39:40 +02:00
Jelmer Vernooij
feb0ab15b9 Redefine BSTR. 2008-09-15 17:39:39 +02:00
Jelmer Vernooij
116a3fa9ee Disable WMI for now, as it doesn't build properly yet. 2008-09-15 17:39:20 +02:00
Jelmer Vernooij
09f7891522 Use other utility typemaps inside wmi python functions. 2008-09-15 17:39:18 +02:00
Jelmer Vernooij
a82c89e882 Add build system bits for wmi. 2008-09-15 17:37:20 +02:00
Jelmer Vernooij
3eb958c202 Remove unused imports. 2008-09-15 17:37:20 +02:00
Jelmer Vernooij
22cd65b16f Fix compilation issues in the WMI code. 2008-09-15 17:37:19 +02:00
Jelmer Vernooij
e1deb404eb Fix use of interface instances in pidl. 2008-09-15 17:37:09 +02:00
Jelmer Vernooij
701b856c52 Fix COM headers. 2008-09-15 17:37:08 +02:00
Jelmer Vernooij
ea98ddb8a1 Manual prototypes for COM. 2008-09-15 17:37:07 +02:00
Jelmer Vernooij
9b21042938 Build (D)COM output again. 2008-09-15 17:37:06 +02:00
Jelmer Vernooij
947bde9562 Avoid using unions without discriminants. 2008-09-15 17:36:59 +02:00
Jelmer Vernooij
15ebda7e1b Deal with interface in generated python code, clearer error message on unhandled unions. 2008-09-15 17:36:58 +02:00
Jelmer Vernooij
7b88d09d8d Reimport pidl support for COM. 2008-09-15 17:36:58 +02:00
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
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
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
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
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
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