1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

48095 Commits

Author SHA1 Message Date
Jelmer Vernooij
181ee01da6 Pass session options around; saves another use of global_loadparm. 2008-09-30 02:47:19 +02:00
Jelmer Vernooij
cef80957c4 Remove global_loadparm instance, discard_const_p. 2008-09-30 02:19:15 +02:00
Jelmer Vernooij
4e8cb60222 Remove global_loadparm instance. 2008-09-30 02:11:55 +02:00
Jelmer Vernooij
755ad80e29 Remove uses of global_loadparm. 2008-09-30 02:07:14 +02:00
Jelmer Vernooij
43d944e6d6 Remove global_loadparm instance. 2008-09-30 01:59:10 +02:00
Jelmer Vernooij
9de1472bd1 Remove redundant call. 2008-09-30 01:58:06 +02:00
Jelmer Vernooij
83183bf381 Explicitly pass on session options to session setup function. 2008-09-30 01:38:51 +02:00
Jelmer Vernooij
c8a19f0b83 Pass options struct into session initialization functions rather than
using global_loadparm.
2008-09-30 01:29:53 +02:00
Jelmer Vernooij
21df9532f5 Remove unused uninstallheader script. 2008-09-30 00:48:13 +02:00
Jelmer Vernooij
257fe87efd Re-add uninstallplugins, there has to be at least one instance of this. 2008-09-30 00:32:20 +02:00
Jelmer Vernooij
f379f67dd2 Fix installation of misc files. 2008-09-30 00:29:03 +02:00
Jelmer Vernooij
2ed71ce6bc Remove ldb_module_wait implementation - ldb_module.wait() is gone. 2008-09-30 00:28:06 +02:00
Matthias Dieter Wallnöfer
dd4d309cac Patch by Matthias that removes old SWAT support and fixes uninstall. 2008-09-29 23:34:05 +02:00
Jelmer Vernooij
744667b3a9 Consistently use lower case variable names for path variables.
Patch by Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> and me.
2008-09-29 22:57:16 +02:00
Matthias Dieter Wallnöfer
f22f04f76b Stop creating symlinks to libraries without sonames. (caused recursive
symlinks overwriting the original file).
2008-09-29 22:47:07 +02:00
Jeremy Allison
c383e8d760 Ensure we null out fsp after a close in all paths.
Jeremy.
2008-09-29 10:57:22 -07:00
Jelmer Vernooij
55e201b0a1 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.
2008-09-29 19:09:53 +02:00
Stefan Metzmacher
0ee4d20adb s3:mapping_tdb: fix the del_aliasmem() function
We should not cancel the transaction, when we want to delete a key.

metze
2008-09-29 16:36:10 +02:00
Karolin Seeger
ec63cd6a7f docs: Adapt version strings in man vfs_smb_traffic_analyzer.
Karolin
(cherry picked from commit 662eda8458a304b224b6bc502f8030a07030b7c2)
2008-09-29 16:30:01 +02:00
Holger Hetterich
b9ccf0dc6f Add an initial version of a manpage for the vfs_smb_traffic_analyzer module.
(cherry picked from commit 7857b783049b19d32a078927a46cb1070e863b45)
2008-09-29 16:29:47 +02:00
Andrew Tridgell
86612b1163 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.
2008-09-29 14:01:01 +02:00
Andrew Tridgell
7caa8c85ac fixed an (unlikely) memory leak 2008-09-29 14:01:01 +02:00
Andrew Tridgell
acf5f2e5b0 fixed a segfault on the ctdb destructor code 2008-09-29 14:01:00 +02:00
Andrew Tridgell
a93dc2c858 removed unused variables 2008-09-29 14:01:00 +02:00
Andrew Tridgell
b8c9daac6e 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
2008-09-29 14:01:00 +02:00
Michael Adam
4fa4a524de [s3]fix build --with-cluster-support after ndr_[pull|push]_struct blob changes.
Michael
2008-09-29 14:00:59 +02:00
Stefan Metzmacher
59c3df814a 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
2008-09-29 08:42:03 +02:00
Stefan Metzmacher
95940d75ec s4:libcli/smb2: remove unused header
This hopefully fixes the build with internal popt.

metze
2008-09-29 07:43:50 +02:00
Stefan Metzmacher
cd9f993ec4 s4:lib/ldb: disable sqlite3 backend always as it doesn't compile anymore
metze
2008-09-29 04:22:21 +02:00
Simo Sorce
b2901da479 LDB ASYNC: misc changes 2008-09-29 04:22:20 +02:00
Simo Sorce
f14a2b3386 LDB ASYNC: ldb misc changes 2008-09-29 04:22:20 +02:00
Simo Sorce
51baa8deec LDB ASYNC: samba4 modules 2008-09-29 04:22:20 +02:00
Simo Sorce
4f40ee2b86 LDB ASYNC: core modules 2008-09-29 04:22:19 +02:00
Simo Sorce
9f7c2548d9 LDB ASYNC: other backends 2008-09-29 04:22:19 +02:00
Simo Sorce
0aeade2007 LDB ASYNC: ldb_tdb backend 2008-09-29 04:22:18 +02:00
Simo Sorce
8215374091 LDB ASYNC: Core files 2008-09-29 04:22:18 +02:00
Stefan Metzmacher
eb935e08d3 s4:configure: require tdb >= 1.1.3 from the system
metze
2008-09-29 04:15:11 +02:00
Stefan Metzmacher
8b7199e7b2 lib/tdb: increase the version number after some critial changes
The tdb_transaction/traverse interaction fixes are critical.

metze
2008-09-29 04:15:11 +02:00
Stefan Metzmacher
ee2bcfacdf 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
2008-09-29 04:15:11 +02:00
Volker Lendecke
a9a59f5f3d Fix async_connect 2008-09-29 03:16:02 +02:00
Michael Adam
3358a139d2 [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
2008-09-27 22:28:27 +02:00
Michael Adam
e56c89b5e8 [s3]loadparm: in lp_do_parameter() use function lp_local_ptr()
instead of hard coded calculation.

Michael
2008-09-27 22:28:26 +02:00
Michael Adam
1578610aef [s3]loadparm: remove superfluous talloc context / talloc_stackframe call.
Michael
2008-09-27 22:28:26 +02:00
Michael Adam
aa388a2005 [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
2008-09-27 22:28:26 +02:00
Michael Adam
33d18c76f1 [s3]loadparm: fix memory error - free the right param_opt->list in copy_service.
Michael
2008-09-27 22:28:26 +02:00
Michael Adam
612aa3915f [s3]loadparm: refactor freeing of parametric options into free_param_opts().
This code was there in three places.

Michael
2008-09-27 22:28:25 +02:00
Michael Adam
b38ed2674b [s3]loadparm: rename process_registry_service() to process_smbconf_service().
There is nothing registry-specific in that function.

Michael
2008-09-27 22:28:25 +02:00
Michael Adam
39f7ec3f74 [s3]testparm: give testparm one common exit point and call gfree_loadparm().
Michael
2008-09-27 22:28:25 +02:00
Michael Adam
628ee436a1 [s3]testparm: free the popt context when it is no longer used.
Michael
2008-09-27 22:28:25 +02:00
Michael Adam
6bfd63e010 [s3]build: build the new test_lp_load command.
Michael
2008-09-27 22:28:25 +02:00