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.
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
Andrew Tridgell [Thu, 25 Sep 2008 00:33:15 +0000 (17:33 -0700)]
check for a 0 byte in the buffer in SMB2 read
Andrew Tridgell [Thu, 25 Sep 2008 00:32:47 +0000 (17:32 -0700)]
the offset is 16 bits in SMB2 fileinfo
Andrew Tridgell [Thu, 25 Sep 2008 00:31:57 +0000 (17:31 -0700)]
zero access mask should give ACCESS_DENIED
Andrew Tridgell [Thu, 25 Sep 2008 00:28:58 +0000 (17:28 -0700)]
- SMB2 uses INVALID_PARAMETER not BUFFER_TOO_SMALL for buffer size
errors
- added a s32o16 buffer function
Andrew Tridgell [Thu, 25 Sep 2008 00:26:42 +0000 (17:26 -0700)]
- use the current dialect first, for servers that only look at the
first dialect
- allow override of SMB2 port in client code
Andrew Tridgell [Thu, 25 Sep 2008 00:20:28 +0000 (17:20 -0700)]
added the structure for LINK_INFORMATION setfileinfo call
Andrew Tridgell [Thu, 25 Sep 2008 00:19:36 +0000 (17:19 -0700)]
be friendlier in smb2_deltree to some of the SMB2 implementations that
don't handle SEC_FLAG_MAXIMUM_ALLOWED
Andrew Tridgell [Thu, 25 Sep 2008 00:18:29 +0000 (17:18 -0700)]
check error code for zero desired_access in SMB2 create
Andrew Tridgell [Thu, 25 Sep 2008 00:17:41 +0000 (17:17 -0700)]
fixed setpathinfo in gentest to not zero the filename/handle
Andrew Tridgell [Wed, 24 Sep 2008 22:40:55 +0000 (15:40 -0700)]
fixed uninitialised variable bug
Andrew Tridgell [Wed, 24 Sep 2008 18:28:58 +0000 (11:28 -0700)]
support NT_STATUS_XX:NT_STATUS_YY syntax in ignore files
Andrew Tridgell [Wed, 24 Sep 2008 15:58:16 +0000 (08:58 -0700)]
fixed error code for bad keepalive
Andrew Tridgell [Wed, 24 Sep 2008 03:01:06 +0000 (20:01 -0700)]
stricter checking of SMB2 echo body (per the spec)
thanks to the bluearc test suite
Jim McDonough [Thu, 25 Sep 2008 00:47:03 +0000 (20:47 -0400)]
Fix the new vfs_smb_traffic_analyzer build for static links
Simo Sorce [Wed, 24 Sep 2008 23:22:39 +0000 (19:22 -0400)]
Temporary build fix for the merged build
Holger Hetterich [Wed, 24 Sep 2008 23:01:00 +0000 (19:01 -0400)]
SMB traffic analyzer vfs module from Holger Hetterich <hhetter@novell.com>
Used to gather data to feed to a database for live and historical
analysis of usage per user, per share, etc.
Helper apps to read the data still to come. This one still needs to be
made ipv6 enabled (connection is made to the helper app).
Jelmer Vernooij [Wed, 24 Sep 2008 21:59:59 +0000 (23:59 +0200)]
Revert LDB return code patches from Matthias.
Jeremy Allison [Wed, 24 Sep 2008 21:28:18 +0000 (14:28 -0700)]
Fix bug #5790 samba returns STATUS_OBJECT_NAME_NOT_FOUND on set file disposition.
We were checking that fd != -1 in file_find_di_XXX calls which is no longer
needed due to a change in internal semantics.
Jeremy.
Stefan Metzmacher [Wed, 24 Sep 2008 20:49:05 +0000 (22:49 +0200)]
build: fix the libcryptosrcdir for the merged build
metze
Stefan Metzmacher [Tue, 23 Sep 2008 08:34:06 +0000 (10:34 +0200)]
s3:configure: add -L./bin also for the merged build
metze
Jelmer Vernooij [Wed, 24 Sep 2008 18:14:17 +0000 (20:14 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Karolin Seeger [Wed, 24 Sep 2008 16:53:21 +0000 (09:53 -0700)]
printing: Rename new parameter "cups timeout" to "cups connection timeout".
Karolin
Matthias Dieter Wallnöfer [Tue, 9 Sep 2008 15:37:33 +0000 (17:37 +0200)]
Cosmetic corrections for the KERBEROS library
This commit applies some cosmetic corrections for the KERBEROS library.
Matthias Dieter Wallnöfer [Thu, 18 Sep 2008 13:34:58 +0000 (15:34 +0200)]
Kerberos cosmetic changes: Revert a part of the patch
Reverts a part of the patch because it changes the function of the code (suggested by Jelmer).
Matthias Dieter Wallnöfer [Tue, 9 Sep 2008 15:37:33 +0000 (17:37 +0200)]
Cosmetic corrections for the KERBEROS library
This commit applies some cosmetic corrections for the KERBEROS library.