Stefan Metzmacher [Tue, 30 Sep 2008 02:59:56 +0000 (04:59 +0200)]
s4:librpc/rpc: correctly sign or seal rpc request with an object guid
metze
Stefan Metzmacher [Tue, 30 Sep 2008 02:59:24 +0000 (04:59 +0200)]
dcerpc.idl: add DCERPC_PFC_OFFSET
metze
Stefan Metzmacher [Tue, 30 Sep 2008 04:43:32 +0000 (06:43 +0200)]
s4:selftest: add "smb.signing" to anon signing tests
metze
Jelmer Vernooij [Tue, 30 Sep 2008 04:10:32 +0000 (06:10 +0200)]
dcesrv: Remove use of global_loadparm.
Jelmer Vernooij [Tue, 30 Sep 2008 04:05:46 +0000 (06:05 +0200)]
Update .gitignore for new pidl location.
Jelmer Vernooij [Tue, 30 Sep 2008 04:05:05 +0000 (06:05 +0200)]
make sure dcerpc is always initialized.
Jelmer Vernooij [Tue, 30 Sep 2008 02:22:54 +0000 (04:22 +0200)]
Fix segfault.
Jelmer Vernooij [Tue, 30 Sep 2008 02:22:24 +0000 (04:22 +0200)]
wmi: Use cli_credentials.
Jelmer Vernooij [Tue, 30 Sep 2008 02:01:47 +0000 (04:01 +0200)]
Remove two more uses of global loadparm by remember required
details for secondary DCE/RPC connections.
Jelmer Vernooij [Tue, 30 Sep 2008 01:20:46 +0000 (03:20 +0200)]
Eliminate another global_loadparm.
Jelmer Vernooij [Tue, 30 Sep 2008 01:07:08 +0000 (03:07 +0200)]
Cope with API changes.
Jelmer Vernooij [Tue, 30 Sep 2008 00:47:19 +0000 (02:47 +0200)]
Pass session options around; saves another use of global_loadparm.
Jelmer Vernooij [Tue, 30 Sep 2008 00:19:15 +0000 (02:19 +0200)]
Remove global_loadparm instance, discard_const_p.
Jelmer Vernooij [Tue, 30 Sep 2008 00:11:55 +0000 (02:11 +0200)]
Remove global_loadparm instance.
Jelmer Vernooij [Tue, 30 Sep 2008 00:07:14 +0000 (02:07 +0200)]
Remove uses of global_loadparm.
Jelmer Vernooij [Mon, 29 Sep 2008 23:59:10 +0000 (01:59 +0200)]
Remove global_loadparm instance.
Jelmer Vernooij [Mon, 29 Sep 2008 23:58:06 +0000 (01:58 +0200)]
Remove redundant call.
Andrew Tridgell [Mon, 29 Sep 2008 23:51:21 +0000 (16:51 -0700)]
added new level for lsalookupnames2
Andrew Tridgell [Mon, 29 Sep 2008 23:51:05 +0000 (16:51 -0700)]
WSPP docs say we need to check that root_dir is NULL
Andrew Tridgell [Mon, 29 Sep 2008 23:50:46 +0000 (16:50 -0700)]
we need to return NT_STATUS_INVALID_PARAMETER for bad levels in
lsalookupnames2
Jelmer Vernooij [Mon, 29 Sep 2008 23:38:51 +0000 (01:38 +0200)]
Explicitly pass on session options to session setup function.
Jelmer Vernooij [Mon, 29 Sep 2008 23:29:53 +0000 (01:29 +0200)]
Pass options struct into session initialization functions rather than
using global_loadparm.
Andrew Tridgell [Mon, 29 Sep 2008 23:10:54 +0000 (16:10 -0700)]
unmapped SIDs should be rid 0 not rid -1
Andrew Tridgell [Mon, 29 Sep 2008 23:01:07 +0000 (16:01 -0700)]
added some more well known SIDs - thanks to the WSPP LSAT test suite
Jelmer Vernooij [Mon, 29 Sep 2008 22:48:13 +0000 (00:48 +0200)]
Remove unused uninstallheader script.
Jelmer Vernooij [Mon, 29 Sep 2008 22:32:20 +0000 (00:32 +0200)]
Re-add uninstallplugins, there has to be at least one instance of this.
Jelmer Vernooij [Mon, 29 Sep 2008 22:29:03 +0000 (00:29 +0200)]
Fix installation of misc files.
Jelmer Vernooij [Mon, 29 Sep 2008 22:28:06 +0000 (00:28 +0200)]
Remove ldb_module_wait implementation - ldb_module.wait() is gone.
Matthias Dieter Wallnöfer [Mon, 29 Sep 2008 21:34:05 +0000 (23:34 +0200)]
Patch by Matthias that removes old SWAT support and fixes uninstall.
Andrew Tridgell [Mon, 29 Sep 2008 21:04:48 +0000 (14:04 -0700)]
make the schannel creentials persistent
this makes testing with the WSPP test suite much easier over samba
restarts
Jelmer Vernooij [Mon, 29 Sep 2008 20:57:16 +0000 (22:57 +0200)]
Consistently use lower case variable names for path variables.
Patch by Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> and me.
Matthias Dieter Wallnöfer [Mon, 29 Sep 2008 20:47:07 +0000 (22:47 +0200)]
Stop creating symlinks to libraries without sonames. (caused recursive
symlinks overwriting the original file).
Jeremy Allison [Mon, 29 Sep 2008 17:57:22 +0000 (10:57 -0700)]
Ensure we null out fsp after a close in all paths.
Jeremy.
Jelmer Vernooij [Mon, 29 Sep 2008 17:09:53 +0000 (19:09 +0200)]
Avoid freeing fsp twice when opening new_file fails. (Debian #431696)
If opening new_file fails, fsp would still be set to the files_struct of
old_file.
Stefan Metzmacher [Thu, 18 Sep 2008 03:01:47 +0000 (05:01 +0200)]
s3:mapping_tdb: fix the del_aliasmem() function
We should not cancel the transaction, when we want to delete a key.
metze
Karolin Seeger [Mon, 29 Sep 2008 13:39:43 +0000 (15:39 +0200)]
docs: Adapt version strings in man vfs_smb_traffic_analyzer.
Karolin
(cherry picked from commit
662eda8458a304b224b6bc502f8030a07030b7c2)
Holger Hetterich [Mon, 29 Sep 2008 12:34:36 +0000 (14:34 +0200)]
Add an initial version of a manpage for the vfs_smb_traffic_analyzer module.
(cherry picked from commit
7857b783049b19d32a078927a46cb1070e863b45)
Andrew Tridgell [Wed, 17 Sep 2008 05:37:54 +0000 (15:37 +1000)]
re-added "winbind:ignore domains" patch
This option really is essential, as we discover again and again at
customer sites. Due to bugs in winbind some domains are toxic. When
you are installing at a site and a particular domain in a complex
setup causes winbind to segfault or hang then you need a way to
disable that domain and continue.
In an ideal world winbind could handle arbitrarily complex ADS
domains, but we are nowhere near that yet. If we ever get to that
stage then we won't need this option.
Andrew Tridgell [Mon, 15 Sep 2008 04:51:35 +0000 (14:51 +1000)]
fixed an (unlikely) memory leak
Andrew Tridgell [Mon, 15 Sep 2008 04:27:50 +0000 (14:27 +1000)]
fixed a segfault on the ctdb destructor code
Andrew Tridgell [Wed, 17 Sep 2008 06:23:17 +0000 (16:23 +1000)]
removed unused variables
Andrew Tridgell [Wed, 17 Sep 2008 06:15:40 +0000 (16:15 +1000)]
fixed segv on startup with trusted domains
With some setups, idmap_tdb2_allocate_id can be called before the
allocate backend is initialised, leading to a segv. This change
ensures that the db is opened in all paths that use it
Michael Adam [Mon, 29 Sep 2008 11:52:23 +0000 (13:52 +0200)]
[s3]fix build --with-cluster-support after ndr_[pull|push]_struct blob changes.
Michael
Stefan Metzmacher [Mon, 29 Sep 2008 06:42:03 +0000 (08:42 +0200)]
s4:samldb: use the code path with async ldb
This removes the event_context leak that caused
NT_STATUS_TOO_MANY_OPENED_FILES in the server,
because of all the epool fds
metze
Stefan Metzmacher [Mon, 29 Sep 2008 05:43:50 +0000 (07:43 +0200)]
s4:libcli/smb2: remove unused header
This hopefully fixes the build with internal popt.
metze
Stefan Metzmacher [Sat, 27 Sep 2008 19:36:18 +0000 (21:36 +0200)]
s4:lib/ldb: disable sqlite3 backend always as it doesn't compile anymore
metze
Simo Sorce [Thu, 11 Sep 2008 22:38:40 +0000 (18:38 -0400)]
LDB ASYNC: misc changes
Simo Sorce [Fri, 12 Sep 2008 17:27:15 +0000 (13:27 -0400)]
LDB ASYNC: ldb misc changes
Simo Sorce [Thu, 11 Sep 2008 22:36:28 +0000 (18:36 -0400)]
LDB ASYNC: samba4 modules
Simo Sorce [Thu, 11 Sep 2008 22:35:38 +0000 (18:35 -0400)]
LDB ASYNC: core modules
Simo Sorce [Thu, 11 Sep 2008 22:34:56 +0000 (18:34 -0400)]
LDB ASYNC: other backends
Simo Sorce [Thu, 11 Sep 2008 22:34:11 +0000 (18:34 -0400)]
LDB ASYNC: ldb_tdb backend
Simo Sorce [Thu, 11 Sep 2008 22:33:16 +0000 (18:33 -0400)]
LDB ASYNC: Core files
Stefan Metzmacher [Sat, 27 Sep 2008 18:37:27 +0000 (20:37 +0200)]
s4:configure: require tdb >= 1.1.3 from the system
metze
Stefan Metzmacher [Sat, 27 Sep 2008 18:35:52 +0000 (20:35 +0200)]
lib/tdb: increase the version number after some critial changes
The tdb_transaction/traverse interaction fixes are critical.
metze
Stefan Metzmacher [Sat, 27 Sep 2008 00:27:54 +0000 (02:27 +0200)]
s4:dsdb: passdown DSDB_CONTROL_REPLICATED_UPDATE_OID for replicated updates
We need to make sure replicated updates are handled differently
in some situations, e.g. we should bypass the schema checks.
metze
Volker Lendecke [Mon, 29 Sep 2008 01:14:20 +0000 (03:14 +0200)]
Fix async_connect
Michael Adam [Sat, 27 Sep 2008 20:19:56 +0000 (22:19 +0200)]
[s3]loadparm: refactor freeing of parameter data out and reduce memleak.
Add new functions free_parameter(), free_parameters() and
free_global_parameters() and use these in the appropriate places,
reducing code duplication.
Also, always TALLOC_FREE data of type P_LIST, thus reducing mem-leaks:
This had not been done in init_globals before.
Michael
Michael Adam [Sat, 27 Sep 2008 20:13:17 +0000 (22:13 +0200)]
[s3]loadparm: in lp_do_parameter() use function lp_local_ptr()
instead of hard coded calculation.
Michael
Michael Adam [Wed, 24 Sep 2008 22:54:45 +0000 (00:54 +0200)]
[s3]loadparm: remove superfluous talloc context / talloc_stackframe call.
Michael
Michael Adam [Wed, 24 Sep 2008 22:52:11 +0000 (00:52 +0200)]
[s3]loadparm: refactor setting parametric options in list out
into new function set_param_opt().
This unifies and clarifies two instances of the code.
Michael
Michael Adam [Wed, 24 Sep 2008 20:19:26 +0000 (22:19 +0200)]
[s3]loadparm: fix memory error - free the right param_opt->list in copy_service.
Michael
Michael Adam [Wed, 24 Sep 2008 19:59:34 +0000 (21:59 +0200)]
[s3]loadparm: refactor freeing of parametric options into free_param_opts().
This code was there in three places.
Michael
Michael Adam [Wed, 24 Sep 2008 18:31:39 +0000 (20:31 +0200)]
[s3]loadparm: rename process_registry_service() to process_smbconf_service().
There is nothing registry-specific in that function.
Michael
Michael Adam [Sat, 27 Sep 2008 20:10:44 +0000 (22:10 +0200)]
[s3]testparm: give testparm one common exit point and call gfree_loadparm().
Michael
Michael Adam [Sat, 27 Sep 2008 20:10:05 +0000 (22:10 +0200)]
[s3]testparm: free the popt context when it is no longer used.
Michael
Michael Adam [Sat, 27 Sep 2008 20:08:02 +0000 (22:08 +0200)]
[s3]build: build the new test_lp_load command.
Michael
Michael Adam [Sat, 27 Sep 2008 20:06:27 +0000 (22:06 +0200)]
[s3]loadparm: add a command test_lp_load to test the lp_load function.
This is not like testparm, just a simple tool that runs
lp_load_with_registry_shares the requested number of times.
Michael
Jeremy Allison [Sat, 27 Sep 2008 01:39:03 +0000 (18:39 -0700)]
Second part of the fix for bug #5790 - samba returns STATUS_OBJECT_NAME_NOT_FOUND on set file disposition call.
This was my fault. I use a singleton cache (positive and negative) to speed up pathname based qfileinfo/setfileinfo lookups for alternate fsp's open on the same path. I only invalidated the negative cache on adding a new file fsp, as I incorrectly imagined the new fsp was put at the *end* of the open files list. DLIST_ADD puts it at the start, meaning any subsequent open wasn't seen once the cache was set. Doh !
Jeremy.
Stefan Metzmacher [Fri, 26 Sep 2008 23:49:22 +0000 (01:49 +0200)]
s4:provision: don't do the full provision in the become_dc
metze
Günther Deschner [Fri, 26 Sep 2008 23:15:07 +0000 (01:15 +0200)]
libwbclient: fix doxygen warnings.
Guenther
Günther Deschner [Fri, 26 Sep 2008 22:55:42 +0000 (00:55 +0200)]
libgpo: add gpext_security module build to configure.
Guenther
Günther Deschner [Fri, 26 Sep 2008 22:38:26 +0000 (00:38 +0200)]
libgpo: fix copyright.
Guenther
Günther Deschner [Fri, 26 Sep 2008 22:36:45 +0000 (00:36 +0200)]
libgpo: add security CSE skeleton.
Guenther
Jeremy Allison [Fri, 26 Sep 2008 22:20:27 +0000 (15:20 -0700)]
Add test to show you can open for delete a readonly file.
Jeremy.
Jeremy Allison [Fri, 26 Sep 2008 22:17:14 +0000 (15:17 -0700)]
Fix bug #5797 - Moving readonly files fails. Reported by infomail@lordb.de.
We don't need to deny a DELETE open on a readonly file (I'm also adding a s4
torture test for this), the set_file_disposition call will return
NT_STATUS_CANNOT_DELETE if the delete-on-close bit is set
on a readonly file (and we already do this).
Jeremy.
Günther Deschner [Fri, 26 Sep 2008 21:39:32 +0000 (23:39 +0200)]
libgpo: fix invalid cast in scripts CSE.
Guenther
Kai Blin [Wed, 24 Sep 2008 21:23:01 +0000 (23:23 +0200)]
net: Make share type lookup a function.
Günther Deschner [Thu, 25 Sep 2008 23:32:16 +0000 (01:32 +0200)]
s3-srvsvc: fix _srvsvc_NetShareAdd segfault.
parm_err is not a ref pointer.
Guenther
Jeremy Allison [Thu, 25 Sep 2008 19:02:22 +0000 (12:02 -0700)]
Use IPv4/v6 independent calls. Change safe_strcpy/cat to strlcpy/cat (this
needs changing to talloc_sprintf) and fix file descriptor resource leaks
in error paths. Jim and Holger please check !
Jeremy.
Günther Deschner [Tue, 16 Sep 2008 15:53:06 +0000 (17:53 +0200)]
netapi: start supporting NetUserSetInfo level 3.
Guenther
Günther Deschner [Wed, 24 Sep 2008 09:06:39 +0000 (11:06 +0200)]
s3-nbt: further cleanup of dsgetdcname().
Guenther
Günther Deschner [Wed, 24 Sep 2008 07:05:37 +0000 (09:05 +0200)]
s3-nbt: remove double nbt netlogon opcodes.
Guenther
Gerald W. Carter [Thu, 25 Sep 2008 17:43:56 +0000 (10:43 -0700)]
idmap: Fix typo is gid2sid() that was caching using idmap_cache_set_sid2uid()
Jeremy Allison [Thu, 25 Sep 2008 17:07:44 +0000 (10:07 -0700)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Thu, 25 Sep 2008 17:06:11 +0000 (10:06 -0700)]
Remove these no longer used include files.
Jeremy.
Gerald W. Carter [Thu, 25 Sep 2008 16:41:49 +0000 (09:41 -0700)]
idmap_hash: Fix the nss_info link during "make install"
Gerald W. Carter [Thu, 25 Sep 2008 16:14:58 +0000 (09:14 -0700)]
idmap_adex: Fix the nss_info install link.
Gerald W. Carter [Tue, 23 Sep 2008 18:43:05 +0000 (11:43 -0700)]
Document the new hash and adex idmap/nss_info plugins.
(cherry picked from commit
77bc0be0536bcd6a3ce8283a708828bebbbffee3)
Gerald W. Carter [Tue, 23 Sep 2008 18:40:28 +0000 (11:40 -0700)]
Document how to enable the name aliasing support in Winbind.
(cherry picked from commit
6dc81eb85b11851794619a1f2769d68cd9a54fb6)
Stefan Metzmacher [Thu, 25 Sep 2008 01:52:04 +0000 (18:52 -0700)]
s3:lib/ldb: Don't return already freed pointer on error.
metze
Signed-off-by: Karolin Seeger <kseeger@samba.org>
Andrew Tridgell [Thu, 25 Sep 2008 01:58:38 +0000 (18:58 -0700)]
we need different error handling for truncated packets in NETPROT and
other SMB2 operations.
Andrew Tridgell [Thu, 25 Sep 2008 01:28:58 +0000 (18:28 -0700)]
fixed expansion of $USERNAME in signing tests
Andrew Tridgell [Thu, 25 Sep 2008 00:58:15 +0000 (17:58 -0700)]
empty access mask is only denied on SMB2
Andrew Tridgell [Thu, 25 Sep 2008 00:45:48 +0000 (17:45 -0700)]
we should terminate the connection on a bad negprot packet size
Andrew Tridgell [Thu, 25 Sep 2008 00:41:36 +0000 (17:41 -0700)]
for use in python we need to use global_loadparm
Andrew Tridgell [Thu, 25 Sep 2008 00:36:24 +0000 (17:36 -0700)]
- add reserved field in basic_information level
- use INVALID_PARAMETER for info length mismatch to match windows
behaviour
- added parsing of LINK_INFORMATION level
Andrew Tridgell [Thu, 25 Sep 2008 00:34:58 +0000 (17:34 -0700)]
record highest seq number in SMB2 to check for seqnum going backwards
Andrew Tridgell [Thu, 25 Sep 2008 00:34:35 +0000 (17:34 -0700)]
log stream termination
Andrew Tridgell [Thu, 25 Sep 2008 00:34:04 +0000 (17:34 -0700)]
cope with body_size zero in SMB2 receive