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

60636 Commits

Author SHA1 Message Date
Volker Lendecke
fbdcaa929c s3: Optimize gencache for smbd exit
If thousands of smbds try to gencache_stabilize at the same time because the
network died, all of them might be sitting in transaction_start. Don't do the
stabilize transaction if nothing has changed in gencache_notrans.tdb.

Volker
2010-03-24 08:57:29 +01:00
Andrew Tridgell
a599319d0a libreplace: fixed declaration of dprintf() on FreeBSD 2010-03-24 07:11:38 +01:00
Andrew Tridgell
83aaf4829e s4-provision: FreeBSD uses 'staff' for users 2010-03-24 07:11:38 +01:00
Andrew Tridgell
de2b841935 s4-provision: solaris uses the group "other" 2010-03-24 07:11:38 +01:00
Andrew Tridgell
4c4d0a029d build: fixed nss_wrapper on solaris
solaris has different getpwnam_r syntax
2010-03-24 15:50:50 +11:00
Simo Sorce
fd2bc08138 idl: fix forest trust information idl
--validate now passes
2010-03-23 18:47:39 -04:00
Günther Deschner
247c6f53f9 s4-smbtorture: remove tailing whitespace in samba3rpc testsuite.
Guenther
2010-03-23 19:05:25 +01:00
Stefan Metzmacher
ec30022233 s4:librpc/rpc/pyrpc.h: librpc/rpc/dcerpc.h isn't needed anymore
metze
2010-03-23 18:44:34 +01:00
Stefan Metzmacher
f57b1da428 s4:lib/messaging: pymessaging needs libndr.h
metze
2010-03-23 18:44:33 +01:00
Stefan Metzmacher
4985720e81 pidl:Samba4/Python: librpc/rpc/dcerpc.h isn't needed anymore
metze
2010-03-23 18:44:33 +01:00
Stefan Metzmacher
48cd096126 s4:libnet: don't include librpc/rpc/dcerpc.h directly
metze
2010-03-23 18:44:32 +01:00
Stefan Metzmacher
845f9c01ed s3:librpc/rpc: move prototypes to dcerpc.h
metze
2010-03-23 18:44:31 +01:00
Günther Deschner
bf9f24f571 s4-smbtorture: use torture_context in samsync test.
Guenther
2010-03-23 17:28:55 +01:00
Günther Deschner
9c586e6b1b s4-smbtorture: remove trailing whitespace from samsync torture test.
Guenther
2010-03-23 17:16:23 +01:00
Günther Deschner
3e04bf4fbc s4-smbtorture: use torture_context in libnet domain tests as well.
Guenther
2010-03-23 16:57:30 +01:00
Matthias Dieter Wallnöfer
bebb17ad0e s4:WINREG torture - fix an error (missing "break" in a "switch")
Sorry my fault - I didn't discover that earlier since we had binary data types
support activated in s4.
2010-03-23 16:46:17 +01:00
Matthias Dieter Wallnöfer
3a2488870f s4:registry - "reg_ldb_pack_value" - provide workarounds when the server receives non-standard data.
For now we reset/delete the "data" attribute. Anyway there is the need to find
a better solution (we probably want to change the format and save all data as
we got it like Windows itself does).

These workarounds are needed since for example the Windows 2000 Registry Editor
initialises empty REG_SZ strings with content '\0' and length 1 (not a valid
UTF16 sequence - "convert_string_talloc" breaks). So we simply reset/delete the
"data" attribute which works (no content).
2010-03-23 16:46:17 +01:00
Matthias Dieter Wallnöfer
0426b5b786 s4:registry - "LDB backend" - fix indentation 2010-03-23 16:46:17 +01:00
Günther Deschner
97a974e5b7 s4-smbtorture: use torture_context for debugging output everywhere in libnet torture tests.
Mimir, please check.

Guenther
2010-03-23 16:13:54 +01:00
Günther Deschner
f5eb8eb97f s4-smbtorture: remove trailing whitespace in libnet torture tests.
Guenther
2010-03-23 16:13:54 +01:00
Karolin Seeger
fad0629e78 s3-builtin: Add missing builtin groups.
Karolin
2010-03-23 15:24:52 +01:00
Karolin Seeger
d05a1bd013 s3: Re-run make samba3-idl.
Karolin
2010-03-23 15:24:25 +01:00
Karolin Seeger
18d1821490 security.idl: Add missing builtin groups.
Karolin
2010-03-23 15:22:48 +01:00
Stefan Metzmacher
77de23384d librpc/rpc: fix dcerpc_errstr() to handle all nca_s_* status codes and fallback to WERROR codes
metze
2010-03-23 14:37:58 +01:00
Günther Deschner
56180e3d2b s3:re-run make samba3-idl.
Guenther
2010-03-23 14:37:40 +01:00
Stefan Metzmacher
0fa67c8d8f dcerpc.idl: add nca_s_* status codes from the DCE 1.1 specification
metze
2010-03-23 14:37:25 +01:00
Karolin Seeger
ef83c970ca s3-builtin: Add some builtin groups.
Karolin
2010-03-23 11:39:05 +01:00
Simo Sorce
9f84d72ef1 idl:drsblobs add code to interpret msDS-TrustForestTrustInfo 2010-03-23 01:09:50 -04:00
Simo Sorce
d9e311ddce s4:lsa Functions to set Domain Trust Information 2010-03-22 21:49:40 -04:00
Simo Sorce
668e7db9d6 s4:lsa move code to add trusted domain user into its own function 2010-03-22 21:49:40 -04:00
Simo Sorce
650a62d1cb s4:lsa Abstract crypto (un)wrapping in separate functions 2010-03-22 21:49:39 -04:00
Matthias Dieter Wallnöfer
a6f5e495b1 s4:registry - "LDB backend" - revert the length check for UTF16 strings
Let this do the "convert_string_talloc" function as it was before.
2010-03-23 00:26:01 +01:00
Matthias Dieter Wallnöfer
f39ef98668 Revert "s4:torture - WINREG RPC - reactivate test "SetValueExtended" for s4"
This reverts commit 0f2cf82e5e52da6fc71742df7b13c9f372bcf113.

Naturally we have to revert this for s4 until a new storage mechanism for binary
REG_SZ and REG_*WORD values has been found.
2010-03-23 00:16:19 +01:00
Matthias Dieter Wallnöfer
bca353561e s4:registry - "LDB backend" - revert the binary storage of "REG_SZ", "REG_DWORD" and "REG_QWORD"
We agreed that this hack isn't the best of the possible solutions.
2010-03-23 00:16:19 +01:00
Matthias Dieter Wallnöfer
6a63c38c12 s4:ldb_modules/util.c - fix two counter variables to be "unsigned" 2010-03-23 00:16:18 +01:00
Jeremy Allison
7509b56b5f share_info.tdb could use non-canonicalized sharenames.
Fix this by moving canonicalization into lib/sharesec.c. Update the
db version to 3. Ensures we always find share names with security
descriptors attached.

Jeremy.
2010-03-22 15:57:31 -07:00
Matthias Dieter Wallnöfer
31b4585489 convert_string_talloc_convenience - print out the input buffer in a better way (using dump_data since it isn't always directly readable) 2010-03-22 23:21:17 +01:00
Matthias Dieter Wallnöfer
c69afbbfd0 s4:registry - "reg_key_del/add_abs": call "talloc_free" only on valid objects 2010-03-22 22:38:45 +01:00
Matthias Dieter Wallnöfer
12f42e35bc s4:registry - "reg_import_hive_key" - change a "talloc_steal" into a "talloc_reference"
Use a "talloc_reference" since the "hive" variable can continue to exist also
after the destructed "struct local_key" object. It is also referenced by the
"mountpoints" structure under the "ctx" object.
2010-03-22 22:31:08 +01:00
Matthias Dieter Wallnöfer
e2466334a0 s4:registry - "patchfile" - add another "W_ERROR_HAVE_NO_MEMORY" macro call 2010-03-22 22:31:08 +01:00
Matthias Dieter Wallnöfer
8046cbe3c1 s4:registry - "local" - add also here more "W_ERROR_HAVE_NO_MEMORY" macro tests 2010-03-22 22:31:07 +01:00
Matthias Dieter Wallnöfer
e690c0776f s4:registry - "util.c" - initialise "result" in "reg_key_add_abs" 2010-03-22 22:31:06 +01:00
Matthias Dieter Wallnöfer
0c10703c75 s4:WINREG RPC - add also here a "W_ERROR_HAVE_NO_MEMORY" 2010-03-22 22:31:06 +01:00
Matthias Dieter Wallnöfer
e78289f167 s4:registry - "samba.c" - add a "talloc_free" 2010-03-22 22:31:05 +01:00
Matthias Dieter Wallnöfer
dc17292f1a s4:registry - add more "W_ERROR_HAVE_NO_MEMORY" invocations (on talloc'ed stuff) 2010-03-22 22:31:05 +01:00
Matthias Dieter Wallnöfer
9c3e6249fd s4:registry - "util" - remove "const" from "reg_abs_path"
Here it's not really needed
2010-03-22 22:31:04 +01:00
Matthias Dieter Wallnöfer
5f850af84a s4:registry - adaptions for "add also a memory context argument for "reg_key_del_abs" 2010-03-22 22:31:03 +01:00
Matthias Dieter Wallnöfer
5b6ad54f43 s4:registry - "util" - add also a memory context argument for "reg_key_del_abs" 2010-03-22 22:31:03 +01:00
Matthias Dieter Wallnöfer
9d8592978e s4:registry - "util" - make "reg_key_add_abs" consistent with "reg_key_del_abs" 2010-03-22 22:31:02 +01:00
Matthias Dieter Wallnöfer
05d8882a96 s4:registry - "util" - fix up memory allocated data 2010-03-22 22:31:02 +01:00