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
Volker Lendecke
98f830cdfc
Disable the use of splice(2)
...
On a debian lenny installation with a kernel that calls itself 2.6.28, I could
repeatably block smbd using splice. According to the output of netstat, the
recvq of the TCP connection was full and at the same time according to strace
smbd was stuck in a splice syscall trying to read from that TCP connection. We
can not protect ourselves from this condition, as nobody will ever notify us
that something is broken. So sadly we can't use splice yet at all. Maybe in
2.6.29...
2008-12-31 19:33:25 +01:00
Volker Lendecke
e0fd61f0cb
Try to fix recvfile using splice on Linux
...
According to the splice(2) manpage, one of the file descriptors *must* be a
pipe. With this patch I could successfully run splice(2) on a debian lenny
installation.
Jeremy, please check!
2008-12-31 19:33:25 +01:00
Volker Lendecke
9e1cabdd43
Fix a "nested extern" warning
2008-12-31 19:33:25 +01:00
Volker Lendecke
972295f80a
Rename parent_dirname_talloc() to parent_dirname()
2008-12-31 19:33:25 +01:00
Volker Lendecke
9b79181f15
Remove unused function parent_dirname
2008-12-31 19:33:25 +01:00
Volker Lendecke
70002c1667
Use parent_dirname_talloc instead of parent_dirname in smb_unix_mknod
2008-12-31 19:33:25 +01:00
Volker Lendecke
4a9a569600
Use parent_dirname_talloc instead of parent_dirname in copy_internals
2008-12-31 19:33:25 +01:00
Volker Lendecke
5f0b633c72
Use parent_dirname_talloc instead of parent_dirname in vfswrap_mkdir
2008-12-31 19:33:24 +01:00
Volker Lendecke
8a507b1e7f
Make use of TALLOC_MEMDUP in parent_dirname_talloc()
2008-12-31 19:33:24 +01:00
Volker Lendecke
add3d572d0
Remove unused function get_numlist()
2008-12-31 19:33:24 +01:00
Volker Lendecke
641772b605
recvfile can't be used for printing so far
2008-12-31 18:43:11 +01:00
Stefan Metzmacher
429276556a
s3:winbindd: we don't need to call messaging_reinit() twice
...
reinit_after_fork() already calls messaging_reinit()
metze
2008-12-31 11:01:46 +01:00
Volker Lendecke
99ab198752
Enable individual smbtorture_s3 subtests in make test
2008-12-31 10:54:09 +01:00
Volker Lendecke
ce2ff557bd
Fix an ancient uninitialized variable read
...
The callers of open_file_ntcreate expect *psbuf to be filled correctly
2008-12-31 10:51:44 +01:00