Jelmer Vernooij [Tue, 6 Jan 2009 20:52:54 +0000 (21:52 +0100)]
Fix compilation, remove unused variables.
Jelmer Vernooij [Tue, 6 Jan 2009 20:45:13 +0000 (21:45 +0100)]
Fix prototype.
Volker Lendecke [Tue, 6 Jan 2009 20:24:30 +0000 (21:24 +0100)]
Add a NULL check and some const to dcerpc_floor_get_lhs_data()
Matthias Dieter Wallnöfer [Tue, 6 Jan 2009 15:20:57 +0000 (16:20 +0100)]
Fix typo
Günther Deschner [Mon, 8 Dec 2008 12:10:56 +0000 (13:10 +0100)]
s4-smbtorture: verify each password change via samlogon in SAMR-PASSWORDS-PWDLASTSET test.
Guenther
Günther Deschner [Mon, 8 Dec 2008 17:03:11 +0000 (18:03 +0100)]
s3-lsa: remove all init_lsa* functions.
Guenther
Günther Deschner [Mon, 8 Dec 2008 17:03:01 +0000 (18:03 +0100)]
s3-lsa: avoid all init_lsa* functions.
Guenther
Günther Deschner [Mon, 8 Dec 2008 12:39:53 +0000 (13:39 +0100)]
s3-srvsvc: remove all init_srvsvc* functions.
Guenther
Günther Deschner [Mon, 8 Dec 2008 12:39:32 +0000 (13:39 +0100)]
s3-srvsvc: avoid all init_srvsvc* functions.
Guenther
Günther Deschner [Sat, 6 Dec 2008 00:44:54 +0000 (01:44 +0100)]
s3-samr: remove all init_samr_alias* functions.
Guenther
Günther Deschner [Sat, 6 Dec 2008 00:44:46 +0000 (01:44 +0100)]
s3-samr: avoid all init_samr_alias* functions.
Guenther
Günther Deschner [Sat, 6 Dec 2008 00:41:38 +0000 (01:41 +0100)]
s3-samr: remove all init_samr_group* functions.
Guenther
Günther Deschner [Sat, 6 Dec 2008 00:41:28 +0000 (01:41 +0100)]
s3-samr: avoid all init_samr_group* functions.
Guenther
Günther Deschner [Sat, 6 Dec 2008 00:34:51 +0000 (01:34 +0100)]
s3-samr: remove all init_samr_dom* functions.
Guenther
Günther Deschner [Sat, 6 Dec 2008 00:33:28 +0000 (01:33 +0100)]
s3-samr: avoid all init_samr_Domain* functions.
Guenther
Günther Deschner [Fri, 5 Dec 2008 23:30:11 +0000 (00:30 +0100)]
s3-samr: remove init_samr_user* functions.
Guenther
Günther Deschner [Fri, 5 Dec 2008 23:28:34 +0000 (00:28 +0100)]
s3-samr: avoid all init_samr_user* functions.
Guenther
Jelmer Vernooij [Tue, 6 Jan 2009 14:53:50 +0000 (15:53 +0100)]
Add dependency to talloc in tevent pc file.
Volker Lendecke [Tue, 6 Jan 2009 14:13:43 +0000 (15:13 +0100)]
s3/swat: Fix creation of the first share using SWAT.
This fixes bug #5965.
Andrew Bartlett [Tue, 6 Jan 2009 11:38:09 +0000 (22:38 +1100)]
Ensure libreplace is included into the tevent python bindings
Without this, the samba4.tevent.python test fails
Andrew Bartlett
Karolin Seeger [Tue, 6 Jan 2009 11:26:23 +0000 (12:26 +0100)]
docs: Improve description of the share commands in man smb.conf.
-Correct the parameter names.
-Fix typos.
-Fix related parameters.
This fixes bug #6008.
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
Karolin
Volker Lendecke [Tue, 6 Jan 2009 10:22:32 +0000 (11:22 +0100)]
Move the "rid_name" typedef to the only place where it might be used
Karolin Seeger [Tue, 6 Jan 2009 09:26:37 +0000 (10:26 +0100)]
docs: Fix example in man vfs_recycle.
This fixes bug #6001.
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
Karolin
Kai Blin [Tue, 6 Jan 2009 08:55:09 +0000 (09:55 +0100)]
s4 winbind: Silence a "discards const" warning
Tim Prouty [Tue, 30 Dec 2008 21:45:29 +0000 (13:45 -0800)]
s3 merged build: Remove redundant #defines that are in idl generated headers
This fixes a series of samba3 build warnings in the merged build with
--enable-picky-developer=yes. 'error: "X" redefined', where X is one
of the redundant #defines.
This required committing a static version of spoolss.h for it to be
included by non-merged s3 builds.
Bo Yang [Tue, 6 Jan 2009 04:49:59 +0000 (12:49 +0800)]
set entry->refresh_time to make ccache_regain_all_now() work correctly.
Jelmer Vernooij [Tue, 6 Jan 2009 03:13:57 +0000 (04:13 +0100)]
py: Properly increase the reference counter of Py_None.
Jeremy Allison [Mon, 5 Jan 2009 21:47:34 +0000 (13:47 -0800)]
Attempt to fix crash seen with new CUPS async printcap loading code.
Jeremy.
Jeremy Allison [Mon, 5 Jan 2009 21:47:07 +0000 (13:47 -0800)]
Fix call to ndr_size_dom_sid, missing parameter.
Jeremy.
Stefan Metzmacher [Mon, 5 Jan 2009 18:47:59 +0000 (19:47 +0100)]
s3:events: use more tevent_common_* functions
metze
Stefan Metzmacher [Mon, 5 Jan 2009 18:52:47 +0000 (19:52 +0100)]
tevent: add some debugging for timer events, that mostly matches samba3
metze
Stefan Metzmacher [Mon, 5 Jan 2009 18:23:23 +0000 (19:23 +0100)]
tevent: add tevent_context destructor that unlinks the events from the context
metze
Stefan Metzmacher [Mon, 5 Jan 2009 18:22:22 +0000 (19:22 +0100)]
tevent: don't crash if te->event_ctx is NULL
metze
Stefan Metzmacher [Mon, 5 Jan 2009 16:36:50 +0000 (17:36 +0100)]
tevent: keep a linked list of fd_events
metze
Stefan Metzmacher [Mon, 5 Jan 2009 15:55:00 +0000 (16:55 +0100)]
tevent: keep a linked list of signal events
metze
Stefan Metzmacher [Mon, 5 Jan 2009 18:41:03 +0000 (19:41 +0100)]
tevent: make tevent_debug() a noop if ev is NULL
metze
Volker Lendecke [Mon, 5 Jan 2009 21:10:25 +0000 (22:10 +0100)]
Attempt to fix the build on netbsd5
Jelmer Vernooij [Mon, 5 Jan 2009 17:01:04 +0000 (18:01 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Volker Lendecke [Mon, 5 Jan 2009 16:11:51 +0000 (17:11 +0100)]
Attempt to fix the build with dnssd
Karolin Seeger [Mon, 5 Jan 2009 15:33:00 +0000 (16:33 +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
Karolin Seeger [Mon, 5 Jan 2009 15:30:10 +0000 (16:30 +0100)]
Revert "examples: Avoid bashism in perfcount.init."
This reverts commit
73875cd344608b591fa884ab99b5f3a10550c149.
Volker Lendecke [Mon, 5 Jan 2009 14:47:19 +0000 (15:47 +0100)]
Fix bug 6014 -- mget shouldn't segfault without arguments
Thanks to kevin.paulus@mtm.kuleuven.be for the bug report
Volker
Stefan Metzmacher [Mon, 5 Jan 2009 10:53:29 +0000 (11:53 +0100)]
s3:winbindd: also handle fd events from the winbind_event_context()
metze
Stefan Metzmacher [Sun, 4 Jan 2009 18:29:12 +0000 (19:29 +0100)]
s3:events: register as tevent backend
metze
Stefan Metzmacher [Sun, 4 Jan 2009 18:27:31 +0000 (19:27 +0100)]
s3: build lib/tevent staticly into samba3
metze
Stefan Metzmacher [Tue, 30 Dec 2008 09:00:43 +0000 (10:00 +0100)]
s3:events: get rid of the stupid set_event_dispatch_time() function
metze
Stefan Metzmacher [Tue, 30 Dec 2008 08:19:27 +0000 (09:19 +0100)]
s3:events: get rid of the stupid cancel_named_event() function
metze
Stefan Metzmacher [Mon, 5 Jan 2009 09:22:50 +0000 (10:22 +0100)]
s3:events: change event_add_timed() prototype to match samba4
metze
Stefan Metzmacher [Mon, 5 Jan 2009 08:06:05 +0000 (09:06 +0100)]
s3:events: move prototypes to event.h
metze
Stefan Metzmacher [Sun, 4 Jan 2009 18:53:09 +0000 (19:53 +0100)]
s3:events: remove unused stuff
metze
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
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
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
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
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
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>
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>
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
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
Jelmer Vernooij [Mon, 5 Jan 2009 13:02:30 +0000 (14:02 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Volker Lendecke [Mon, 5 Jan 2009 12:33:20 +0000 (13:33 +0100)]
Use talloc_tos in vfs_full_audit.c:do_log
Volker Lendecke [Mon, 5 Jan 2009 12:32:53 +0000 (13:32 +0100)]
Fix a bad memleak in vfs_full_audit
Volker Lendecke [Mon, 5 Jan 2009 12:08:07 +0000 (13:08 +0100)]
Add create_file to vfs_op_names
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
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)
Stefan Metzmacher [Mon, 5 Jan 2009 09:53:12 +0000 (10:53 +0100)]
tevent: fix tevent_add_timer() and tevent_add_aio() macros
metze
Andrew Bartlett [Mon, 5 Jan 2009 09:02:02 +0000 (20:02 +1100)]
Initialise 'flags' in new python ldb binding for ldb_connect
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.
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.
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
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.
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
Jelmer Vernooij [Sun, 4 Jan 2009 23:27:49 +0000 (00:27 +0100)]
Use fqdn rather than gethostname when guessing realm.
Jelmer Vernooij [Sun, 4 Jan 2009 21:48:23 +0000 (22:48 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Jeremy Allison [Sun, 4 Jan 2009 19:47:16 +0000 (11:47 -0800)]
Fix bug #6009 - Setting "min receivefile size = 1" breaks writes.
Jeremy.
Stefan Metzmacher [Sun, 4 Jan 2009 16:58:56 +0000 (17:58 +0100)]
tevent: move samba4 stuff from libtevent.m4 to samba.m4
metze
Stefan Metzmacher [Sun, 4 Jan 2009 16:57:40 +0000 (17:57 +0100)]
s4:build: add SMB_MAKE_SETTINGS() macro
metze
Volker Lendecke [Sun, 4 Jan 2009 17:14:33 +0000 (18:14 +0100)]
Fix a typo found by the IBM Checker
Volker Lendecke [Sun, 4 Jan 2009 17:03:23 +0000 (18:03 +0100)]
Remove a duplicated comment
Volker Lendecke [Sun, 4 Jan 2009 16:28:24 +0000 (17:28 +0100)]
Fix the build of smbfilter
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
Volker Lendecke [Sun, 4 Jan 2009 00:45:06 +0000 (01:45 +0100)]
Add open_socket_out_defer_send/recv
Volker Lendecke [Sat, 3 Jan 2009 18:50:05 +0000 (19:50 +0100)]
Async wrapper for open_socket_out_send/recv
Volker Lendecke [Sun, 28 Dec 2008 16:43:18 +0000 (17:43 +0100)]
Add a quick test of wb_trans_send/recv
Volker Lendecke [Sat, 27 Dec 2008 17:43:03 +0000 (18:43 +0100)]
async libwbclient infrastructure
Volker Lendecke [Sun, 28 Dec 2008 13:49:22 +0000 (14:49 +0100)]
Remove wb_trans_send/recv
Volker Lendecke [Sun, 28 Dec 2008 13:47:40 +0000 (14:47 +0100)]
Move winbindd/winbindd_reqtrans.c to lib/wb_reqtrans.c
Volker Lendecke [Sat, 3 Jan 2009 23:26:49 +0000 (00:26 +0100)]
Convert async_connect to "normal" style
Volker Lendecke [Sat, 3 Jan 2009 18:23:13 +0000 (19:23 +0100)]
Actually do a non-blocking connect.... :-)
Volker Lendecke [Sun, 4 Jan 2009 10:28:40 +0000 (11:28 +0100)]
Add an async queueing mechanism
Volker Lendecke [Sat, 3 Jan 2009 18:10:57 +0000 (19:10 +0100)]
Add async timeout helpers
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
Stefan Metzmacher [Sat, 3 Jan 2009 14:24:31 +0000 (15:24 +0100)]
s4:smbd: convert to tevent_* api
metze
Stefan Metzmacher [Sat, 3 Jan 2009 11:49:50 +0000 (12:49 +0100)]
s4:libcli/ldap: convert to tevent_* api
metze
Stefan Metzmacher [Sat, 3 Jan 2009 11:48:20 +0000 (12:48 +0100)]
s4:auth/kerberos: convert to tevent_* api
metze
Stefan Metzmacher [Sat, 3 Jan 2009 10:36:04 +0000 (11:36 +0100)]
tevent: raise version to 0.9.2 after AUTOCLOSE changes
metze
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
Stefan Metzmacher [Sat, 3 Jan 2009 10:30:21 +0000 (11:30 +0100)]
tevent: remove dependency to SOCKET_WRAPPER via "system/network.h"
metze
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
Stefan Metzmacher [Sat, 3 Jan 2009 11:43:18 +0000 (12:43 +0100)]
s4:sysdep/inotify: use tevent_fd_set_auto_close()
metze