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
Michael Adam
21c4061414
[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
2008-09-27 22:28:24 +02:00
Jeremy Allison
3b02b9e40e
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.
2008-09-26 18:39:03 -07:00
Stefan Metzmacher
fae2fce47e
s4:provision: don't do the full provision in the become_dc
...
metze
2008-09-27 02:12:22 +02:00
Günther Deschner
ce46f65f17
libwbclient: fix doxygen warnings.
...
Guenther
2008-09-27 01:15:07 +02:00
Günther Deschner
c12c69c6ee
libgpo: add gpext_security module build to configure.
...
Guenther
2008-09-27 00:58:10 +02:00
Günther Deschner
9c1b5f27e4
libgpo: fix copyright.
...
Guenther
2008-09-27 00:38:26 +02:00
Günther Deschner
0cb55e74ef
libgpo: add security CSE skeleton.
...
Guenther
2008-09-27 00:36:58 +02:00
Jeremy Allison
857609732f
Add test to show you can open for delete a readonly file.
...
Jeremy.
2008-09-26 15:20:27 -07:00
Jeremy Allison
da8bebaa64
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.
2008-09-26 15:17:14 -07:00
Günther Deschner
cd49586b29
libgpo: fix invalid cast in scripts CSE.
...
Guenther
2008-09-26 23:39:32 +02:00
Kai Blin
694786b23c
net: Make share type lookup a function.
2008-09-26 20:52:13 +02:00
Günther Deschner
f50ebbe29f
s3-srvsvc: fix _srvsvc_NetShareAdd segfault.
...
parm_err is not a ref pointer.
Guenther
2008-09-26 18:34:21 +02:00
Jeremy Allison
da6c7aa2a1
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.
2008-09-25 12:02:22 -07:00
Günther Deschner
917b141e7d
netapi: start supporting NetUserSetInfo level 3.
...
Guenther
2008-09-25 20:50:16 +02:00
Günther Deschner
da955d7193
s3-nbt: further cleanup of dsgetdcname().
...
Guenther
2008-09-25 20:11:55 +02:00
Günther Deschner
81fde58551
s3-nbt: remove double nbt netlogon opcodes.
...
Guenther
2008-09-25 20:11:55 +02:00
Gerald W. Carter
6f46002ff6
idmap: Fix typo is gid2sid() that was caching using idmap_cache_set_sid2uid()
2008-09-25 10:46:31 -07:00
Jeremy Allison
f8b741eef9
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
2008-09-25 10:07:44 -07:00
Jeremy Allison
7e38942431
Remove these no longer used include files.
...
Jeremy.
2008-09-25 10:06:11 -07:00
Gerald W. Carter
e9e0e9a401
idmap_hash: Fix the nss_info link during "make install"
2008-09-25 09:46:14 -07:00
Gerald W. Carter
571f23c03c
idmap_adex: Fix the nss_info install link.
2008-09-25 09:14:58 -07:00
Gerald W. Carter
a089b3bb99
Document the new hash and adex idmap/nss_info plugins.
...
(cherry picked from commit 77bc0be0536bcd6a3ce8283a708828bebbbffee3)
2008-09-25 09:00:57 -07:00
Gerald W. Carter
73769e136e
Document how to enable the name aliasing support in Winbind.
...
(cherry picked from commit 6dc81eb85b11851794619a1f2769d68cd9a54fb6)
2008-09-25 09:00:35 -07:00
Stefan Metzmacher
f27774729e
s3:lib/ldb: Don't return already freed pointer on error.
...
metze
Signed-off-by: Karolin Seeger <kseeger@samba.org>
2008-09-25 07:15:18 -07:00
Andrew Tridgell
0cf7175126
we need different error handling for truncated packets in NETPROT and
...
other SMB2 operations.
2008-09-24 18:58:38 -07:00