Matthias Dieter Wallnöfer
fba8e326f8
s4:patchfile_dotreg.c - use "size_t" when counting characters in DATA_BLOBs
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Oct 3 16:03:41 UTC 2010 on sn-devel-104
2010-10-03 16:03:41 +00:00
Andrew Bartlett
dcb1a0698a
s4-kdc Remove special case kerberos restriction in the KDC
...
We should avoid using Kerberos or any other recursive auth mechanism
in ldb backends, but denying Kerberos here won't be enough, so
remove the special case. (Typcially we bind using a different password
space and DIGEST-MD5 or NTLM).
Andrew Bartlett
2010-10-03 15:23:19 +00:00
Matthias Dieter Wallnöfer
a095a08e25
s4:deletetest.py - enhance the tests
...
- Integrate the ldap.py delete protection testing code and enhance it
- Demonstrate the DISALLOW_MOVE_ON_DELETE system flag
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-10-03 15:23:19 +00:00
Matthias Dieter Wallnöfer
b2385e3725
s4:ldap.py - remove the delete tests
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-10-03 15:23:19 +00:00
Matthias Dieter Wallnöfer
dda6c354f6
s4:dsdb python stuff - introduce also here the "show_recycled" control
...
But also here beside "show_deleted" to not loose compatibility with older
provisions.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-10-03 15:23:18 +00:00
Matthias Dieter Wallnöfer
e3081b92c1
s4:dsdb - substitute the "show_deleted" with the "show_recycled" control
...
We intend to see always all objects with the "show_deleted" control specified.
To see also recycled objects (beginning with 2008_R2 function level) we need to
use the new "show_recycled" control.
As far as I see this is only internal code and therefore we don't run into
problems if we do substitute it.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-10-03 15:23:18 +00:00
Matthias Dieter Wallnöfer
46282da011
s4:dsdb/common/util.c - introduce "DSDB_SEARCH_SHOW_RECYCLED" flag
...
This is needed since starting with 2008_R2 function level we get another type
of hidden objects which aren't seen by the "show_deleted" control: recycled
objects.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-10-03 15:23:18 +00:00
Matthias Dieter Wallnöfer
779b97325a
s4:subtree_rename LDB module - also already deleted objects have to be renamed
...
This is needed if the SYSTEM_FLAG_DISALLOW_MOVE_ON_DELETE flag was specified
and the parent is renamed.
To be able to do this we also need to relax the constraint checks (using the
"isDeleted" proof).
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-10-03 15:23:18 +00:00
Matthias Dieter Wallnöfer
69b7a87e98
s4:show_deleted LDB module - also support the "show_recycled" control
...
MS-ADTS 3.1.1.3.4.1 and MS-ADTS 3.1.1.5.5
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-10-03 15:23:18 +00:00
Matthias Dieter Wallnöfer
e1509ec623
s4:repl_meta_data LDB module - consider the SYSTEM_FLAG_DISALLOW_MOVE_ON_DELETE flag
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-10-03 15:23:18 +00:00
Matthias Dieter Wallnöfer
2b4f652899
s4:subtree_delete LDB module - it is only responsible for non-deleted objects
...
The deleted objects (tombstones, recycled & deleted objects) are handled by
"repl_meta_data".
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-10-03 15:23:18 +00:00
Matthias Dieter Wallnöfer
4768280614
s4:objectclass LDB module - fix the "crossRef" delete protection
...
This is what Windows does
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-10-03 15:23:18 +00:00
Matthias Dieter Wallnöfer
6c9b25ea5c
s4:objectclass LDB module - fix the delete behaviour of server containers
...
A typo prevented the right behaviour.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-10-03 15:23:18 +00:00
Andrew Tridgell
4b16cc9eef
autobuild: override the editor when marking the commit
...
this avoids the problem of a user having an editor set in their global
.gitconfig, and that having higher precedence than the EDITOR
environment variable
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Sun Oct 3 15:22:01 UTC 2010 on sn-devel-104
2010-10-03 15:22:01 +00:00
Jelmer Vernooij
120f5ee429
wafsamba: Some reformatting.
2010-10-03 16:25:38 +02:00
Jelmer Vernooij
257e259a26
heimdal: Move asn1 list to heimdal_build.
2010-10-03 16:25:38 +02:00
Jelmer Vernooij
dd5a91b437
heimdal: Move SAMBA_ERRTABLE to heimdal_build.
2010-10-03 16:25:38 +02:00
Jelmer Vernooij
8e5a9e7721
heimdal: Move autoproto code to heimdal_build.
2010-10-03 16:25:38 +02:00
Jelmer Vernooij
3c1eca124e
wafsamba: Move heimdal library code to heimdal_build.
2010-10-03 16:25:37 +02:00
Jelmer Vernooij
958d7a5710
land: Inherit EMAIL from the environment.
2010-10-03 16:25:37 +02:00
Jelmer Vernooij
88d08c172c
pidl: Allow longs for bitmasks.
2010-10-03 16:25:37 +02:00
Jelmer Vernooij
b7acb8ebb6
pidl: simplify some generated code.
2010-10-03 16:25:37 +02:00
Jelmer Vernooij
9aa90b6cef
heimdal: Convert hx509 to library.
2010-10-03 16:25:37 +02:00
Jelmer Vernooij
beed95e3a2
heimdal: convert some subsystems to libraries, consistent with upstream heimdal.
2010-10-03 16:25:37 +02:00
Wilco Baan Hofman
e2eae17961
Make sure REG_SZ is properly written to a .reg file (not as hex(1)), fix trailing comma REG_BINARY.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03 15:31:38 +02:00
Wilco Baan Hofman
a8adadbe5b
Fix issues addressed by Jelmer:
...
* Add a comment about why the reg_strhex_to_data_blob was added
* Fix int which should've been a boolean
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03 15:31:38 +02:00
Wilco Baan Hofman
6e881dd86a
Fix patchfile_dotreg to write proper .reg files: 'hex(1..B):', 'dword:', etc
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03 15:31:38 +02:00
Wilco Baan Hofman
2d4500deea
Fix registry editor to be compatible with Windows 7.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03 15:31:37 +02:00
Wilco Baan Hofman
90d82870b0
5 uint32_t's should be set, not 5 bytes.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03 15:31:37 +02:00
Wilco Baan Hofman
b3d2345bd1
The root key should be created as a root key, not subkey.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03 15:31:37 +02:00
Wilco Baan Hofman
bc2098c459
Do not include the closing doublequote in .reg files.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03 15:31:37 +02:00
Wilco Baan Hofman
deebc934ed
Fix hex():00,00,00 bugs and strtol dword bugs, these values are explicitly hex.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03 15:31:37 +02:00
Wilco Baan Hofman
1ed896407f
Make sure we write the value stored in value, not line (doublequoted).
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03 15:31:37 +02:00
Wilco Baan Hofman
a23aa3f5f1
Make sure that regf only writes to disk every five seconds or when flushed or destroyed
...
Brings speed up on a large .reg import from 17.5s to 0.95s, over 18 times faster
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03 15:31:37 +02:00
Wilco Baan Hofman
927e4db090
Fix .reg file format parsing.
...
* multiline data
* doublequoted value name
* handle windows format CRLF
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03 15:31:37 +02:00
Wilco Baan Hofman
4356f09d7f
Fix registry parsing of strings to also support the windows method.
...
Specifically: dword:00000000, hex:00,00,00,00, hex(0..B):00,00,00,00
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03 15:31:37 +02:00
Volker Lendecke
4a768fbef7
s3: I thought I had compiled this....
2010-10-03 13:22:03 +02:00
Matthias Dieter Wallnöfer
64be07bc70
s4:dsdb_dn_val_rmd_flags - memmem - scan the whole string for occourences
...
Do this as in "dsdb_dn_is_upgraded_link_val". There is really no reason to
truncate before search.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Oct 3 10:45:39 UTC 2010 on sn-devel-104
2010-10-03 10:45:39 +00:00
Matthias Dieter Wallnöfer
bb81760e82
s4:ldap.py - delete the right object after test completition
2010-10-03 12:05:13 +02:00
Matthias Dieter Wallnöfer
f9244a15c7
s4:ldap.py - fix "system only" test
...
A part was missing
2010-10-03 12:05:13 +02:00
Matthias Dieter Wallnöfer
14c660da32
s4:acl_read LDB module - fix counter type
2010-10-03 12:05:13 +02:00
Matthias Dieter Wallnöfer
55e3720470
s4:getncchanges.c - fix some counter types
2010-10-03 12:05:13 +02:00
Matthias Dieter Wallnöfer
a01467913a
s4:schema_samba4.ldif - update allocated controls list
...
This needs always to be done after a control allocation otherwise we end up in
double-allocations and unexpected behaviour.
2010-10-03 12:05:13 +02:00
Matthias Dieter Wallnöfer
01c3cb260c
s4:libcli/resolve/dns_ex.c - fix "const" warning
2010-10-03 12:05:13 +02:00
Volker Lendecke
48dccbf2b5
s3: Move #define VALGRIND to config.h
...
This fixes the valgrind overrun in the tdb jenkins hash
2010-10-03 12:03:36 +02:00
Stefan Metzmacher
d05ae9451a
s4:rpc_server/echo: fix compiler warning
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Oct 3 09:41:51 UTC 2010 on sn-devel-104
2010-10-03 09:41:51 +00:00
Volker Lendecke
ff48f7c00c
s3: Attempt to fix the IRIX build
2010-10-03 10:54:28 +02:00
Volker Lendecke
97b76364e7
s3: Attempt to fix a ton of warnings on the build farm
2010-10-03 10:51:08 +02:00
Volker Lendecke
c87d4e5ddb
s3: Remove talloc_autofree_context() from dmapi.c
...
This is a place where an explicit dmapi_destroy_session would be needed. But we
don't use a destructor for this.
2010-10-03 10:45:57 +02:00
Volker Lendecke
414cd919ff
s3: Remove talloc_autofree_context() from unexpected.c
...
Same argument as in 997a64f6fb
: If tdb_close() was needed at exit
time, we'd have more severe problems by now.
2010-10-03 10:45:57 +02:00