Andrew Tridgell
4a230b5e6c
s4-kcc: fixed corruption of repsFrom records by kcc
...
We were re-using a stack variable outside of the stack scope
2009-09-28 15:36:10 +10:00
Andrew Tridgell
0b0edbb606
s4-kcc: remove stale repsFrom entries in kcc run
2009-09-28 13:11:25 +10:00
Andrew Tridgell
f279b57f19
s4-dsdb: don't return the partition root objects
...
When searching across partitions, we want to avoid sending duplicate
records caused by the record appearing both as a mount point and as a
partition root in a nested partition. This patch works by intercepting
objects from searches and checking if they match a partition root. If
they do, and the partition is not the one in the partition control
request, then discard the object.
2009-09-28 13:11:21 +10:00
Andrew Tridgell
da3f5a4113
s4-make: add libds to etags/ctags source list
2009-09-28 13:11:10 +10:00
Andrew Tridgell
808585b4fe
s4-libnet: fixed debug formatting
2009-09-28 10:25:31 +10:00
Andrew Tridgell
ccd2673b1a
s4-dsdb: removed extraneous debug messages
2009-09-28 10:25:23 +10:00
Andrew Tridgell
cf55f78c29
s4-dsdb: update replPropertyMetaData on linked attribute source attributes
2009-09-28 10:25:17 +10:00
Andrew Tridgell
83fae5f23f
s4-dsdb: fixed searching for GUID based DNs between partitions
2009-09-28 10:25:08 +10:00
Andrew Tridgell
0d810fceaf
s4-drs: removed debug code that replicated a maximum of 10 objects at a time
2009-09-28 10:24:58 +10:00
Andrew Tridgell
8aa85d7cbe
s4-drsuapi: state variable for getncchanges
2009-09-28 10:24:50 +10:00
Andrew Tridgell
11efdc3ee2
s4-dsruapi: plugfest updates
...
- always fetch parentGUID from databases, don't rely on parentGUID in
attributes
- re-fetch nc root mesages to avoid the problem of dual messages for
roots
- support returning messages a chunk at a time, using max_object_count
from request
2009-09-28 10:24:45 +10:00
Andrew Tridgell
b7dba6f16a
s4-drsutil: allow NULL filter
2009-09-28 10:24:25 +10:00
Andrew Tridgell
46b7374098
s4-ldap: fixed spelling
2009-09-28 10:24:19 +10:00
Andrew Tridgell
d187620324
s4-samdb: when UF_SERVER_TRUST_ACCOUNT is set mark object as critical
...
We may also need to remove the isCriticalSystemObject when the machine
is demoted
2009-09-28 10:24:13 +10:00
Andrew Tridgell
c82a816f4b
s4-repl: free the la list on prepare commit failure
2009-09-28 10:24:04 +10:00
Andrew Tridgell
12936bee69
s4-samdb: free the linked_attributes list on prepare commit failure
2009-09-28 10:23:56 +10:00
Andrew Tridgell
a130ad27c4
s4-repl: use GUID to resolve target in linked attributes
...
When we vampire from w2k8-r2, the DC sends us a linked attribute for
our machine account which has a target DN with a GUID of the OU=Domain
Controllers objects, but has a DN of CN=Computers. We need to use the
GUID to resolve the real DN.
2009-09-28 10:23:47 +10:00
Andrew Tridgell
d515b6e326
s4-dsdb: ask for an extended DN in dsdb_find_dn_by_guid()
2009-09-28 10:23:20 +10:00
Andrew Tridgell
9e32648768
s4-dsdb: make dsdb_search_dn_with_deleted public for repl_meta_data module
2009-09-28 10:22:50 +10:00
Andrew Tridgell
5acd8bc01b
s4-acl: fixed SD creation
...
Thanks for Nadya and Metze for this. The SDs were being created with
invalid fields (noticed by w2k8-r2 client when joining our domain)
2009-09-28 10:21:33 +10:00
Andrew Tridgell
9cef5f0a53
libds: fixed spelling error
2009-09-28 10:16:28 +10:00
Andrew Tridgell
557b177b04
s4-drs: fixed sorting of replPropertyMetaData
...
This also ensures we add the SHOW_DELETED control on searches for old
replPropertyMetaData attributes
2009-09-28 10:16:19 +10:00
Jelmer Vernooij
d9ada600cc
parmlist: Add more tests.
2009-09-27 17:37:53 +02:00
Jelmer Vernooij
43267812e1
rpc_server: Fix warnings.
2009-09-27 16:49:26 +02:00
Jelmer Vernooij
c526a77896
librpc: Fix path to ndr_standard pc file.
2009-09-27 16:43:01 +02:00
Jelmer Vernooij
95fafa9d83
selftest: Prefer system tap2subunit if available.
2009-09-27 16:34:59 +02:00
Jelmer Vernooij
db55ea08bc
parmlist: Add basic tests for test_get_int().
2009-09-27 14:39:58 +02:00
Jelmer Vernooij
c145888cec
util/parmlist: Add some more comments.
2009-09-27 14:13:38 +02:00
Jelmer Vernooij
2dd7c9bc34
libutil: Add separate utility code for dealing with settings as a
...
collection of key/value pairs.
2009-09-26 23:59:35 +02:00
Jelmer Vernooij
6a79ad7664
gensec: Avoid exposing lp_ctx on the API level.
2009-09-26 20:55:18 +02:00
Jelmer Vernooij
52a17e5c32
pygensec: Add initial work on a gensec Python module.
2009-09-26 19:41:59 +02:00
Wilco Baan Hofman
9af1c6db0f
regshell: Add support for 'cd ..' and cd relative to the root.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-09-26 17:05:34 +02:00
Jelmer Vernooij
169ff6efea
registry: Fix warning freeing talloc pointer with multiple parents.
2009-09-26 15:41:22 +02:00
Jelmer Vernooij
6b595a93c1
ldb: Check for talloc using pkg-config before checking manually, so we
...
find version errors.
2009-09-26 13:53:27 +02:00
Jelmer Vernooij
8940e42d0a
s4/make: Remove object files in ../libds as part of "make clean".
2009-09-26 12:52:51 +02:00
Jeremy Allison
8762254c7e
Fix the opaque sample module for the new VFS interface.
...
Jeremy.
2009-09-25 22:19:27 -07:00
Jeremy Allison
2f1835eb8c
Update the advice for the new VFS system.
...
Jeremy.
2009-09-25 22:02:18 -07:00
Jeremy Allison
2d13513796
Remove unused static fn.
...
Jeremy.
2009-09-25 21:43:13 -07:00
Jeremy Allison
a77b5d2a97
Rewrite vfs_transparent example for the new VFS changes.
...
Jeremy.
2009-09-25 21:39:52 -07:00
Jeremy Allison
0959ae9276
Fix vfs module sample for new interface.
...
Jeremy.
2009-09-25 20:51:50 -07:00
Jelmer Vernooij
a6d4eec3a5
samba.tests.provision: Remove broken become_dc test.
2009-09-26 02:38:09 +02:00
Jelmer Vernooij
390cd90c8f
pidl(s4.python): Fix arguments to PyCObject_FromVoidPtr for string_array's.
...
Caught by Guenther.
2009-09-26 01:34:22 +02:00
Matthieu Patou
9a9202e7bd
pythonbindings: allow add() to have an array of controls as second parameter
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-09-26 01:31:38 +02:00
Simo Sorce
76d836570e
Fixing timeval calculation
...
The code was always doubling microseconds when attempting to round up.
2009-09-25 11:00:19 -04:00
Günther Deschner
014a3a9926
lib/util: fix build warning.
...
Guenther
2009-09-25 15:19:07 +02:00
Matthias Dieter Wallnöfer
956740aa6f
s4:LDIFs - enhance the section comments
2009-09-25 10:59:13 +02:00
Matthias Dieter Wallnöfer
85276e120c
s4:auth/gensec/schannel - fix a const warning
2009-09-25 10:59:13 +02:00
Matthias Dieter Wallnöfer
fb1eb11267
s3:smbd/password - move list pointers into blocks
2009-09-25 10:59:13 +02:00
Günther Deschner
0650423edf
s3-libndr: fix build warning.
...
Guenther
2009-09-25 11:46:51 +02:00
Stefan Metzmacher
bfd3a6f13a
s3:winbindd_cm: don't invalidate the whole connection when just samr gave ACCCESS_DENIED
...
metze
2009-09-25 08:18:45 +02:00