1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
Commit Graph

50200 Commits

Author SHA1 Message Date
Jeremy Allison
e000045f15 Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2009-01-02 12:51:18 -08:00
Jeremy Allison
3d2d0203e5 Remove cli_cm_set_dest_ss() - removes the global dest_ss
from libsmb/clidfs.c. Keep the '-I<address>' option in
smbclient working. The intent is to remove all globals
from libsmb/clidfs.c.
Jeremy.
2009-01-02 12:49:49 -08:00
scudette@gmail.com
793f1cdbd9 Changed code to use proper talloc context instead of NULL to control memory leak. 2009-01-02 20:55:20 +01:00
scudette@gmail.com
cc9771d3da Memory leak fixed due to accumulation of open reg keys. 2009-01-02 20:55:20 +01:00
scudette@gmail.com
de58ef45ac Fixes uninitialised access as reported by valgrind. 2009-01-02 20:55:20 +01:00
Jeremy Allison
11576353f6 Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2009-01-02 11:39:04 -08:00
Jeremy Allison
2234173220 Fix warnings in make test code.
Jeremy.
2009-01-02 11:38:24 -08:00
Stefan Metzmacher
268f3e93a4 s4:lib/events: remove unused events_internal.h
external users need to use tevent_internal.h anyway

metze
2009-01-02 18:16:55 +01:00
Stefan Metzmacher
2885a7ab6e s4:selftest: report tevent tests as 'tevent.python'
metze
2009-01-02 18:16:55 +01:00
Stefan Metzmacher
34cc50cb63 s4:lib/events: convert to use tevent_* functions instead of compat macros
metze
2009-01-02 18:16:54 +01:00
Stefan Metzmacher
73ef1773be tevent: only provide compat macros if the caller wants them
metze
2009-01-02 18:16:54 +01:00
Stefan Metzmacher
2176295b02 tevent: change pytevent to tevent_*
metze
2009-01-02 18:16:54 +01:00
Stefan Metzmacher
784b2dc8d0 tevent: use TEVENT_FD_* instead of EVENT_FD_*
metze
2009-01-02 18:16:53 +01:00
Stefan Metzmacher
4f04b06ac2 tevent: rename ev_debug_ops => tevent_debug_ops
And related changes, but we keep compat macros

metze
2009-01-02 18:16:53 +01:00
Stefan Metzmacher
d79fc2ffcd tevent: rename events => tevent in tevent.pc
metze
2009-01-02 18:16:52 +01:00
Stefan Metzmacher
227f799dee tevent: pass down handler_name and location to the backend layer
metze
2009-01-02 18:16:52 +01:00
Stefan Metzmacher
49acf9799a tevent: make tevent_add_*() macros arround _tevent_add_*()
This passes some additional debug information into
the events system to make it easier to find bugs.

metze
2009-01-02 18:16:52 +01:00
Stefan Metzmacher
b12e78e645 tevent: use HAVE_EPOLL instead of HAVE_EVENTS_EPOLL
metze
2009-01-02 18:16:51 +01:00
Stefan Metzmacher
d9529a331a tevent: rename event_register_backend() => tevent_register_backend()
And fix the callers and there init functions.

metze
2009-01-02 18:16:51 +01:00
Stefan Metzmacher
0a73e8b334 tevent: rename event_context_init* => tevent_context_init*()
metze
2009-01-02 18:16:50 +01:00
Stefan Metzmacher
7db6399069 tevent: rename event_[s|g]et_fd_flags => tevent_fd_[s|g]et_flags
metze
2009-01-02 18:16:50 +01:00
Stefan Metzmacher
d33b6aeff3 tevent: rename event_loop_* => tevent_loop_*
metze
2009-01-02 18:16:50 +01:00
Stefan Metzmacher
8bdc947993 tevent: rename event_set_default_backend() => tevent_set_default_backend()
metze
2009-01-02 18:16:49 +01:00
Stefan Metzmacher
0ffed7d992 tevent: use libreplace headers instead of system headers
metze
2009-01-02 18:16:49 +01:00
Stefan Metzmacher
25387d8942 s4:lib/events: deprecate event_context_find()
metze
2009-01-02 18:16:49 +01:00
Stefan Metzmacher
3f8f99eaec s4:tevent: move event_context_find() to tevent_s4.c
metze
2009-01-02 18:16:48 +01:00
Stefan Metzmacher
54c0f626f5 s4:pyregistry: use tevent_context_init()
metze
2009-01-02 18:16:48 +01:00
Stefan Metzmacher
0e95c9a1eb Revert "s4 winbind: Copy SID to avoid "discard const" warning"
This reverts commit 102028ec72.

state->ctx is the composite_context, which is a temporary context!

metze
2009-01-02 18:15:10 +01:00
Stefan Metzmacher
a54c558ca6 Revert "s4 winbind: Avoid a "discards const" compiler warning."
This reverts commit dd8d4b6fd1.

s3call->response.extra_data.data is a pointer and no fstring!

metze
2009-01-02 17:56:41 +01:00
Stefan Metzmacher
ec1e831bd8 librpc/gen_ndr: rerun make idl_full after pidl changes
metze
2009-01-02 16:32:56 +01:00
Stefan Metzmacher
96266d2f50 pidl: add dummy element for empty unions
This hopefully fixes the build on Solaris and IRIX.

metze
2009-01-02 16:32:55 +01:00
Volker Lendecke
76d53e7648 Alternative fix for 45db33e73 and 0d443ae7931
Simo is right, we need to ask passdb first. At least this fixes a nasty to find
NT_STATUS_ACCESS_DENIED problem in the build farm for the test run I just did
on host "opi".

Michael, can you re-check if this also fixes the error you found, leading to
the two fixes?

Thanks,

Volker
2009-01-02 15:00:05 +01:00
Volker Lendecke
13248e8917 Revert "s:Fix uid_to_sid mapping when the idmap cache is empty."
This reverts commit 9a9b64dbdf.
2009-01-02 15:00:05 +01:00
Volker Lendecke
c033ea5626 Revert "s3:idmap: Remove passd check from idmap_backends_unixid_to_sid()."
This reverts commit 45db33e732.
2009-01-02 15:00:05 +01:00
Michael Adam
71c74725bc packaging(RHEL): fix typo in [u]mount.cifs installation
Michael
(cherry picked from commit 835108bcf84a5f47f46d237c7a93c572348125a1)

Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-02 14:38:58 +01:00
Michael Adam
308dbca653 packaging(RHEL): fix build of [u]mount.cifs
mount.cifs is now built by make everything.
And it needs extra objects anyways (mtab.o),
which is why the build of mount.cifs failed.

Michael
(cherry picked from commit 96c811cf222be5463a6705feae73d6215685c5f1)

Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-02 14:38:01 +01:00
Stefan Metzmacher
8b81e7c7c6 Happy New Year!
metze
2009-01-02 09:45:14 +01:00
Volker Lendecke
7458111ea4 Fix bug 5913.
Never seen this to be a problem, but it doesn't hurt either :-)
2009-01-01 22:08:24 +01:00
Volker Lendecke
707a5a41b5 Remove a global variable 2009-01-01 20:01:32 +01:00
Volker Lendecke
bf34e998f9 fix some nonempty blank lines 2009-01-01 20:01:32 +01:00
Volker Lendecke
e551f43b4b Remove two pointless globals 2009-01-01 19:08:33 +01:00
Volker Lendecke
74ea79cb8f The Tru64 shell doesn't like (*) in a case statement 2009-01-01 13:33:22 +01:00
Tim Prouty
4d82f69f88 s3: Fix caller of print_fsp_open 2008-12-31 21:24:25 -08:00
Jeremy Allison
9c92cb7636 Fix typo found by Volker. Thanks for the review.
Jeremy.
2008-12-31 18:34:52 -08:00
Jeremy Allison
07e0094365 Fix all warnings in source3 with gcc4.3.
Jeremy.
2008-12-31 18:06:57 -08:00
Jeremy Allison
bb23f5725f Fix more asprintf and "ignoring return code" warnings from gcc 4.3.
Jeremy.
2008-12-31 16:30:11 -08:00
Volker Lendecke
d99aeed50f Replace a static variable and alarm() calls by using sys_select()
Günther, please check!
2008-12-31 19:33:26 +01:00
Volker Lendecke
608910d40b Fix some nonempty blank lines 2008-12-31 19:33:26 +01:00
Volker Lendecke
8ae4155f82 Make a CONST_DISCARD unnecessary by applying some const
Derrell, please check!
2008-12-31 19:33:25 +01:00
Volker Lendecke
1ce9525be2 Replace "goto again" by "return NT_STATUS_RETRY" in receive_message_or_smb
This gives lower-level routines the chance to indicate a retry condition
2008-12-31 19:33:25 +01:00