nivanova/samba-autobuild/.git
15 years agos3:events: change event_add_timed() prototype to match samba4
Stefan Metzmacher [Mon, 5 Jan 2009 09:22:50 +0000 (10:22 +0100)]
s3:events: change event_add_timed() prototype to match samba4

metze

15 years agos3:events: move prototypes to event.h
Stefan Metzmacher [Mon, 5 Jan 2009 08:06:05 +0000 (09:06 +0100)]
s3:events: move prototypes to event.h

metze

15 years agos3:events: remove unused stuff
Stefan Metzmacher [Sun, 4 Jan 2009 18:53:09 +0000 (19:53 +0100)]
s3:events: remove unused stuff

metze

15 years agos3:winbindd: regain tickets for all ccache entries, when we go online
Stefan Metzmacher [Tue, 30 Dec 2008 08:56:36 +0000 (09:56 +0100)]
s3:winbindd: regain tickets for all ccache entries, when we go online

set_event_dispatch_time() is stupid by design and only handles
the first event with a given name.

metze

15 years agos3:winbindd: cancel all ccache entry events and not just one
Stefan Metzmacher [Tue, 30 Dec 2008 08:17:20 +0000 (09:17 +0100)]
s3:winbindd: cancel all ccache entry events and not just one

cancel_named_event() is stupid by design and also only cancels
one single event.

metze

15 years agos3:winbindd: recreate the per domain check_online_event without relying on global...
Stefan Metzmacher [Tue, 30 Dec 2008 08:34:20 +0000 (09:34 +0100)]
s3:winbindd: recreate the per domain check_online_event without relying on global state

set_event_dispatch_time() is stupid by design and just picks the first
event with the given name.

metze

15 years agos3:winbindd: rename fd_event => winbindd_fd_event
Stefan Metzmacher [Mon, 5 Jan 2009 10:50:17 +0000 (11:50 +0100)]
s3:winbindd: rename fd_event => winbindd_fd_event

It's really confusing to have two versions of 'fd_event'

metze

15 years agos3:winbindd: move WINBINDD_CCACHE_ENTRY and WINBINDD_MEMORY_CREDS to winbindd.h
Stefan Metzmacher [Tue, 30 Dec 2008 08:32:31 +0000 (09:32 +0100)]
s3:winbindd: move WINBINDD_CCACHE_ENTRY and WINBINDD_MEMORY_CREDS to winbindd.h

metze

15 years agoFix broken krb5 refresh chain
Bo Yang [Sun, 4 Jan 2009 08:45:30 +0000 (16:45 +0800)]
Fix broken krb5 refresh chain

Signed-off-by: Stefan Metzmacher <metze@samba.org>
15 years agoclean event context after child is forked.
Bo Yang [Mon, 5 Jan 2009 11:47:45 +0000 (19:47 +0800)]
clean event context after child is forked.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
15 years agoexamples: Avoid bashism in perfcount.init.
Karolin Seeger [Mon, 5 Jan 2009 13:54:28 +0000 (14:54 +0100)]
examples: Avoid bashism in perfcount.init.

This fixes bug #6000.
Thanks to the Debian Samba package maintainers for providing the patch!
Remove trailing whitespaces.

Karolin

15 years agodocs: Document the -g option of smbclient.
Karolin Seeger [Mon, 5 Jan 2009 13:39:59 +0000 (14:39 +0100)]
docs: Document the -g option of smbclient.

This fixes bug #6013.
Thanks to the Debian Samba packages maintainers for reporting!

Karolin

15 years agoUse talloc_tos in vfs_full_audit.c:do_log
Volker Lendecke [Mon, 5 Jan 2009 12:33:20 +0000 (13:33 +0100)]
Use talloc_tos in vfs_full_audit.c:do_log

15 years agoFix a bad memleak in vfs_full_audit
Volker Lendecke [Mon, 5 Jan 2009 12:32:53 +0000 (13:32 +0100)]
Fix a bad memleak in vfs_full_audit

15 years agoAdd create_file to vfs_op_names
Volker Lendecke [Mon, 5 Jan 2009 12:08:07 +0000 (13:08 +0100)]
Add create_file to vfs_op_names

15 years agoFix bug 6012: Add "get_real_filename" to full_audit
Volker Lendecke [Mon, 5 Jan 2009 11:58:23 +0000 (12:58 +0100)]
Fix bug 6012: Add "get_real_filename" to full_audit

Thanks to Hodur <coil93@gmail.com> for testing!

Volker

15 years agosmbd: prevent access to root filesystem when connecting with empty service name
Michael Adam [Thu, 18 Dec 2008 17:01:55 +0000 (18:01 +0100)]
smbd: prevent access to root filesystem when connecting with empty service name

This only applies to a setup with "registry shares = yes"

Michael
(cherry picked from commit 288fa94ac7cfdf7457b5098c33fc840bed3d5410)
(cherry picked from commit e85526b184e66f86b7faa9d0a37288a09c12c19e)

15 years agotevent: fix tevent_add_timer() and tevent_add_aio() macros
Stefan Metzmacher [Mon, 5 Jan 2009 09:53:12 +0000 (10:53 +0100)]
tevent: fix tevent_add_timer() and tevent_add_aio() macros

metze

15 years agoInitialise 'flags' in new python ldb binding for ldb_connect
Andrew Bartlett [Mon, 5 Jan 2009 09:02:02 +0000 (20:02 +1100)]
Initialise 'flags' in new python ldb binding for ldb_connect

15 years agos3: Remove a few unnecessary checks from the streams depot module and fix to work...
Tim Prouty [Mon, 5 Jan 2009 03:27:06 +0000 (19:27 -0800)]
s3: Remove a few unnecessary checks from the streams depot module and fix to work with NTRENAME

Handling of error codes when renaming a file to a stream and a stream
to a file is now done in rename_internals_fsp.

The NTRENAME stream path only passes in the stream name, so the new
base can now be different from the old base.

15 years agos3: Remove a few unnecessary checks from the streams xattr module
Tim Prouty [Mon, 5 Jan 2009 01:36:36 +0000 (17:36 -0800)]
s3: Remove a few unnecessary checks from the streams xattr module

Handling of error codes when renaming a file to a stream and a stream
to a file is now done in rename_internals_fsp.

The NTRENAME stream path only passes in the stream name, so the new
base can now be different from the old base.

15 years agos3: Allow renames of streams via NTRENAME and fix stream error codes on rename
Tim Prouty [Sun, 4 Jan 2009 18:45:34 +0000 (10:45 -0800)]
s3: Allow renames of streams via NTRENAME and fix stream error codes on rename

The test_streams_rename2 test in RAW-STREAMS verifies these changes

15 years agos4 torture: Add more rename tests to RAW-STREAMS
Tim Prouty [Fri, 19 Dec 2008 05:03:01 +0000 (21:03 -0800)]
s4 torture: Add more rename tests to RAW-STREAMS

There is one part of the new rename tests that passes against windows,
but doesn't pass against samba3 right now.  Windows allow renaming a
stream to the default stream, but none of the current streams module
support this.  When this ability is added the check for samba can be
removed from this test.

This patch also adds a missing unlink in the cleanup of
test_stream_delete and changes the order that the tests are run to be
consistent with the physical order in the file.

15 years agoMore work to have OpenLDAP accept the full AD schema
Andrew Bartlett [Mon, 5 Jan 2009 01:24:35 +0000 (12:24 +1100)]
More work to have OpenLDAP accept the full AD schema

We need to avoid handling DN+Binary and DN+String with the refint
module for now, as this is a currently unsupported syntax.

Also rename entryTTL to avoid a conflict with the operational
attribute of the same name.

Andrew Bartlett

15 years agoFix bug #6009 - Setting "min receivefile size = 1" breaks writes.
Jeremy Allison [Sun, 4 Jan 2009 19:47:16 +0000 (11:47 -0800)]
Fix bug #6009 - Setting "min receivefile size = 1" breaks writes.
Jeremy.

15 years agotevent: move samba4 stuff from libtevent.m4 to samba.m4
Stefan Metzmacher [Sun, 4 Jan 2009 16:58:56 +0000 (17:58 +0100)]
tevent: move samba4 stuff from libtevent.m4 to samba.m4

metze

15 years agos4:build: add SMB_MAKE_SETTINGS() macro
Stefan Metzmacher [Sun, 4 Jan 2009 16:57:40 +0000 (17:57 +0100)]
s4:build: add SMB_MAKE_SETTINGS() macro

metze

15 years agoFix a typo found by the IBM Checker
Volker Lendecke [Sun, 4 Jan 2009 17:14:33 +0000 (18:14 +0100)]
Fix a typo found by the IBM Checker

15 years agoRemove a duplicated comment
Volker Lendecke [Sun, 4 Jan 2009 17:03:23 +0000 (18:03 +0100)]
Remove a duplicated comment

15 years agoFix the build of smbfilter
Volker Lendecke [Sun, 4 Jan 2009 16:28:24 +0000 (17:28 +0100)]
Fix the build of smbfilter

15 years agoSimulate the Windows behaviour to fire 445 and after a timeout 139
Volker Lendecke [Sun, 4 Jan 2009 00:46:05 +0000 (01:46 +0100)]
Simulate the Windows behaviour to fire 445 and after a timeout 139

15 years agoAdd open_socket_out_defer_send/recv
Volker Lendecke [Sun, 4 Jan 2009 00:45:06 +0000 (01:45 +0100)]
Add open_socket_out_defer_send/recv

15 years agoAsync wrapper for open_socket_out_send/recv
Volker Lendecke [Sat, 3 Jan 2009 18:50:05 +0000 (19:50 +0100)]
Async wrapper for open_socket_out_send/recv

15 years agoAdd a quick test of wb_trans_send/recv
Volker Lendecke [Sun, 28 Dec 2008 16:43:18 +0000 (17:43 +0100)]
Add a quick test of wb_trans_send/recv

15 years agoasync libwbclient infrastructure
Volker Lendecke [Sat, 27 Dec 2008 17:43:03 +0000 (18:43 +0100)]
async libwbclient infrastructure

15 years agoRemove wb_trans_send/recv
Volker Lendecke [Sun, 28 Dec 2008 13:49:22 +0000 (14:49 +0100)]
Remove wb_trans_send/recv

15 years agoMove winbindd/winbindd_reqtrans.c to lib/wb_reqtrans.c
Volker Lendecke [Sun, 28 Dec 2008 13:47:40 +0000 (14:47 +0100)]
Move winbindd/winbindd_reqtrans.c to lib/wb_reqtrans.c

15 years agoConvert async_connect to "normal" style
Volker Lendecke [Sat, 3 Jan 2009 23:26:49 +0000 (00:26 +0100)]
Convert async_connect to "normal" style

15 years agoActually do a non-blocking connect.... :-)
Volker Lendecke [Sat, 3 Jan 2009 18:23:13 +0000 (19:23 +0100)]
Actually do a non-blocking connect.... :-)

15 years agoAdd an async queueing mechanism
Volker Lendecke [Sun, 4 Jan 2009 10:28:40 +0000 (11:28 +0100)]
Add an async queueing mechanism

15 years agoAdd async timeout helpers
Volker Lendecke [Sat, 3 Jan 2009 18:10:57 +0000 (19:10 +0100)]
Add async timeout helpers

15 years agotevent: completely initialize tevent_fd structs
Stefan Metzmacher [Sun, 4 Jan 2009 08:39:17 +0000 (09:39 +0100)]
tevent: completely initialize tevent_fd structs

This fixes crash bugs... I forgot to commit and squash
this to commit e45ed828d042acca09cb1ed5b6dd7a24eb5e7ffd

metze

15 years agos4:smbd: convert to tevent_* api
Stefan Metzmacher [Sat, 3 Jan 2009 14:24:31 +0000 (15:24 +0100)]
s4:smbd: convert to tevent_* api

metze

15 years agos4:libcli/ldap: convert to tevent_* api
Stefan Metzmacher [Sat, 3 Jan 2009 11:49:50 +0000 (12:49 +0100)]
s4:libcli/ldap: convert to tevent_* api

metze

15 years agos4:auth/kerberos: convert to tevent_* api
Stefan Metzmacher [Sat, 3 Jan 2009 11:48:20 +0000 (12:48 +0100)]
s4:auth/kerberos: convert to tevent_* api

metze

15 years agotevent: raise version to 0.9.2 after AUTOCLOSE changes
Stefan Metzmacher [Sat, 3 Jan 2009 10:36:04 +0000 (11:36 +0100)]
tevent: raise version to 0.9.2 after AUTOCLOSE changes

metze

15 years agotevent: remove TEVENT_FD_AUTOCLOSE feature
Stefan Metzmacher [Sat, 3 Jan 2009 10:34:37 +0000 (11:34 +0100)]
tevent: remove TEVENT_FD_AUTOCLOSE feature

TEVENT_FD_AUTOCLOSE adds a dependency to SOCKET_WRAPPER,
which is bad. Callers should use tevent_fd_set_close_fn() now.

metze

15 years agotevent: remove dependency to SOCKET_WRAPPER via "system/network.h"
Stefan Metzmacher [Sat, 3 Jan 2009 10:30:21 +0000 (11:30 +0100)]
tevent: remove dependency to SOCKET_WRAPPER via "system/network.h"

metze

15 years agos4:socket: use a socket_wrapper aware function to auto close the fd event for sockets
Stefan Metzmacher [Sat, 3 Jan 2009 11:47:24 +0000 (12:47 +0100)]
s4:socket: use a socket_wrapper aware function to auto close the fd event for sockets

metze

15 years agos4:sysdep/inotify: use tevent_fd_set_auto_close()
Stefan Metzmacher [Sat, 3 Jan 2009 11:43:18 +0000 (12:43 +0100)]
s4:sysdep/inotify: use tevent_fd_set_auto_close()

metze

15 years agotevent: add tevent_fd_set_auto_close()
Stefan Metzmacher [Sat, 3 Jan 2009 11:39:11 +0000 (12:39 +0100)]
tevent: add tevent_fd_set_auto_close()

tevent_fd_set_auto_close() is a simple wrapper
arround tevent_fd_set_close_fn() with a callback
that uses plain close(2).

metze

15 years agotevent: add tevent_fd_set_close_fn()
Stefan Metzmacher [Sat, 3 Jan 2009 10:27:00 +0000 (11:27 +0100)]
tevent: add tevent_fd_set_close_fn()

Let callers specify a close function
as an alternative to TEVENT_FD_AUTOCLOSE.

metze

15 years agotevent: move some common tevent_fd related functions into tevent_fd.c
Stefan Metzmacher [Sat, 3 Jan 2009 10:18:14 +0000 (11:18 +0100)]
tevent: move some common tevent_fd related functions into tevent_fd.c

metze

15 years agotevent: specify argument names for the event handlers
Stefan Metzmacher [Sat, 3 Jan 2009 09:42:10 +0000 (10:42 +0100)]
tevent: specify argument names for the event handlers

metze

15 years agotevent: fix standalone make test
Stefan Metzmacher [Sat, 3 Jan 2009 09:41:17 +0000 (10:41 +0100)]
tevent: fix standalone make test

metze

15 years agoopen_socket_out is always used with SOCK_STREAM, remove argument "type"
Volker Lendecke [Sat, 3 Jan 2009 17:16:08 +0000 (18:16 +0100)]
open_socket_out is always used with SOCK_STREAM, remove argument "type"

15 years agoFix retval of async_syscall_result_int
Volker Lendecke [Sat, 27 Dec 2008 17:42:45 +0000 (18:42 +0100)]
Fix retval of async_syscall_result_int

15 years agostruct async_req doesn't really need to carry an event_context
Volker Lendecke [Sat, 3 Jan 2009 09:34:59 +0000 (10:34 +0100)]
struct async_req doesn't really need to carry an event_context

15 years agoRemove unused argument "vuid" from make_internal_rpc_pipe_p
Volker Lendecke [Sat, 3 Jan 2009 14:23:13 +0000 (15:23 +0100)]
Remove unused argument "vuid" from make_internal_rpc_pipe_p

15 years agotevent: raise version to 0.9.1
Stefan Metzmacher [Sat, 3 Jan 2009 08:14:23 +0000 (09:14 +0100)]
tevent: raise version to 0.9.1

This 0.9.1 isn't compatible with 0.9.0,
but it makes only sense to raise the major version
after we have reached 1.0.0.

metze

15 years agos4 winbind: Correctly silence a "discard const" warning
Kai Blin [Fri, 2 Jan 2009 21:46:08 +0000 (22:46 +0100)]
s4 winbind: Correctly silence a "discard const" warning

Thanks to metze for pointing out the error.

15 years agoReplace some SMB_ASSERTs with NT_STATUS_INTERNAL_ERROR
Volker Lendecke [Sat, 27 Dec 2008 16:20:25 +0000 (17:20 +0100)]
Replace some SMB_ASSERTs with NT_STATUS_INTERNAL_ERROR

15 years agoOptimize for the common case that packet.c received exactly one full packet
Volker Lendecke [Sat, 20 Dec 2008 09:51:54 +0000 (10:51 +0100)]
Optimize for the common case that packet.c received exactly one full packet

15 years agopacket.h API: The callback is now responsible to talloc_free() "buf"
Volker Lendecke [Sat, 20 Dec 2008 09:44:29 +0000 (10:44 +0100)]
packet.h API: The callback is now responsible to talloc_free() "buf"

15 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Fri, 2 Jan 2009 20:51:18 +0000 (12:51 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

15 years agoRemove cli_cm_set_dest_ss() - removes the global dest_ss
Jeremy Allison [Fri, 2 Jan 2009 20:49:49 +0000 (12:49 -0800)]
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.

15 years agoChanged code to use proper talloc context instead of NULL to control memory leak.
scudette@gmail.com [Fri, 2 Jan 2009 11:41:04 +0000 (22:41 +1100)]
Changed code to use proper talloc context instead of NULL to control memory leak.

15 years agoMemory leak fixed due to accumulation of open reg keys.
scudette@gmail.com [Fri, 2 Jan 2009 11:40:32 +0000 (22:40 +1100)]
Memory leak fixed due to accumulation of open reg keys.

15 years agoFixes uninitialised access as reported by valgrind.
scudette@gmail.com [Fri, 2 Jan 2009 11:39:58 +0000 (22:39 +1100)]
Fixes uninitialised access as reported by valgrind.

15 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Fri, 2 Jan 2009 19:39:04 +0000 (11:39 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

15 years agoFix warnings in make test code.
Jeremy Allison [Fri, 2 Jan 2009 19:38:24 +0000 (11:38 -0800)]
Fix warnings in make test code.
Jeremy.

15 years agos4:lib/events: remove unused events_internal.h
Stefan Metzmacher [Fri, 2 Jan 2009 15:41:21 +0000 (16:41 +0100)]
s4:lib/events: remove unused events_internal.h

external users need to use tevent_internal.h anyway

metze

15 years agos4:selftest: report tevent tests as 'tevent.python'
Stefan Metzmacher [Fri, 2 Jan 2009 15:27:48 +0000 (16:27 +0100)]
s4:selftest: report tevent tests as 'tevent.python'

metze

15 years agos4:lib/events: convert to use tevent_* functions instead of compat macros
Stefan Metzmacher [Fri, 2 Jan 2009 14:34:37 +0000 (15:34 +0100)]
s4:lib/events: convert to use tevent_* functions instead of compat macros

metze

15 years agotevent: only provide compat macros if the caller wants them
Stefan Metzmacher [Fri, 2 Jan 2009 15:28:38 +0000 (16:28 +0100)]
tevent: only provide compat macros if the caller wants them

metze

15 years agotevent: change pytevent to tevent_*
Stefan Metzmacher [Fri, 2 Jan 2009 15:27:11 +0000 (16:27 +0100)]
tevent: change pytevent to tevent_*

metze

15 years agotevent: use TEVENT_FD_* instead of EVENT_FD_*
Stefan Metzmacher [Fri, 2 Jan 2009 15:25:29 +0000 (16:25 +0100)]
tevent: use TEVENT_FD_* instead of EVENT_FD_*

metze

15 years agotevent: rename ev_debug_ops => tevent_debug_ops
Stefan Metzmacher [Fri, 2 Jan 2009 12:39:56 +0000 (13:39 +0100)]
tevent: rename ev_debug_ops => tevent_debug_ops

And related changes, but we keep compat macros

metze

15 years agotevent: rename events => tevent in tevent.pc
Stefan Metzmacher [Fri, 2 Jan 2009 13:20:37 +0000 (14:20 +0100)]
tevent: rename events => tevent in tevent.pc

metze

15 years agotevent: pass down handler_name and location to the backend layer
Stefan Metzmacher [Fri, 2 Jan 2009 12:26:32 +0000 (13:26 +0100)]
tevent: pass down handler_name and location to the backend layer

metze

15 years agotevent: make tevent_add_*() macros arround _tevent_add_*()
Stefan Metzmacher [Fri, 2 Jan 2009 10:44:17 +0000 (11:44 +0100)]
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

15 years agotevent: use HAVE_EPOLL instead of HAVE_EVENTS_EPOLL
Stefan Metzmacher [Fri, 2 Jan 2009 12:39:26 +0000 (13:39 +0100)]
tevent: use HAVE_EPOLL instead of HAVE_EVENTS_EPOLL

metze

15 years agotevent: rename event_register_backend() => tevent_register_backend()
Stefan Metzmacher [Fri, 2 Jan 2009 12:35:32 +0000 (13:35 +0100)]
tevent: rename event_register_backend() => tevent_register_backend()

And fix the callers and there init functions.

metze

15 years agotevent: rename event_context_init* => tevent_context_init*()
Stefan Metzmacher [Fri, 2 Jan 2009 10:30:00 +0000 (11:30 +0100)]
tevent: rename event_context_init* => tevent_context_init*()

metze

15 years agotevent: rename event_[s|g]et_fd_flags => tevent_fd_[s|g]et_flags
Stefan Metzmacher [Fri, 2 Jan 2009 10:36:52 +0000 (11:36 +0100)]
tevent: rename event_[s|g]et_fd_flags => tevent_fd_[s|g]et_flags

metze

15 years agotevent: rename event_loop_* => tevent_loop_*
Stefan Metzmacher [Fri, 2 Jan 2009 10:32:29 +0000 (11:32 +0100)]
tevent: rename event_loop_* => tevent_loop_*

metze

15 years agotevent: rename event_set_default_backend() => tevent_set_default_backend()
Stefan Metzmacher [Fri, 2 Jan 2009 10:17:00 +0000 (11:17 +0100)]
tevent: rename event_set_default_backend() => tevent_set_default_backend()

metze

15 years agotevent: use libreplace headers instead of system headers
Stefan Metzmacher [Fri, 2 Jan 2009 11:53:05 +0000 (12:53 +0100)]
tevent: use libreplace headers instead of system headers

metze

15 years agos4:lib/events: deprecate event_context_find()
Stefan Metzmacher [Fri, 2 Jan 2009 14:33:23 +0000 (15:33 +0100)]
s4:lib/events: deprecate event_context_find()

metze

15 years agos4:tevent: move event_context_find() to tevent_s4.c
Stefan Metzmacher [Fri, 2 Jan 2009 11:06:39 +0000 (12:06 +0100)]
s4:tevent: move event_context_find() to tevent_s4.c

metze

15 years agos4:pyregistry: use tevent_context_init()
Stefan Metzmacher [Fri, 2 Jan 2009 15:06:31 +0000 (16:06 +0100)]
s4:pyregistry: use tevent_context_init()

metze

15 years agoRevert "s4 winbind: Copy SID to avoid "discard const" warning"
Stefan Metzmacher [Fri, 2 Jan 2009 17:10:26 +0000 (18:10 +0100)]
Revert "s4 winbind: Copy SID to avoid "discard const" warning"

This reverts commit 102028ec722d942d7f91eb92e8da4f1480d140d1.

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

metze

15 years agoRevert "s4 winbind: Avoid a "discards const" compiler warning."
Stefan Metzmacher [Fri, 2 Jan 2009 16:52:14 +0000 (17:52 +0100)]
Revert "s4 winbind: Avoid a "discards const" compiler warning."

This reverts commit dd8d4b6fd178df6847052dac207a4aafc0697d71.

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

metze

15 years agolibrpc/gen_ndr: rerun make idl_full after pidl changes
Stefan Metzmacher [Fri, 2 Jan 2009 15:26:00 +0000 (16:26 +0100)]
librpc/gen_ndr: rerun make idl_full after pidl changes

metze

15 years agopidl: add dummy element for empty unions
Stefan Metzmacher [Fri, 2 Jan 2009 15:22:18 +0000 (16:22 +0100)]
pidl: add dummy element for empty unions

This hopefully fixes the build on Solaris and IRIX.

metze

15 years agoAlternative fix for 45db33e73 and 0d443ae7931
Volker Lendecke [Fri, 2 Jan 2009 13:53:26 +0000 (14:53 +0100)]
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

15 years agoRevert "s:Fix uid_to_sid mapping when the idmap cache is empty."
Volker Lendecke [Fri, 2 Jan 2009 13:51:23 +0000 (14:51 +0100)]
Revert "s:Fix uid_to_sid mapping when the idmap cache is empty."

This reverts commit 9a9b64dbdfce4414ada22d4f882c8c757b5813e1.

15 years agoRevert "s3:idmap: Remove passd check from idmap_backends_unixid_to_sid()."
Volker Lendecke [Fri, 2 Jan 2009 13:51:06 +0000 (14:51 +0100)]
Revert "s3:idmap: Remove passd check from idmap_backends_unixid_to_sid()."

This reverts commit 45db33e73262d8e195a46fb96405dfb3dc43d6bc.

15 years agopackaging(RHEL): fix typo in [u]mount.cifs installation
Michael Adam [Wed, 17 Dec 2008 21:27:39 +0000 (22:27 +0100)]
packaging(RHEL): fix typo in [u]mount.cifs installation

Michael
(cherry picked from commit 835108bcf84a5f47f46d237c7a93c572348125a1)

Signed-off-by: Michael Adam <obnox@samba.org>
15 years agopackaging(RHEL): fix build of [u]mount.cifs
Michael Adam [Wed, 17 Dec 2008 17:56:34 +0000 (18:56 +0100)]
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>