Andrew Tridgell
efc68d8bf6
r20919: add a function cluster_tdb_tmp_open() which can be used in a cluster
...
environment for subsystems that have not yet been converted to use
ctdb to get a shared temporary tdb
(This used to be commit 0ed91384497aed6817b2220c31344bfcd45fd033)
2007-10-10 14:43:52 -05:00
Andrew Tridgell
d1b61b09aa
r20918: a bit more debugging, and remove the hackish /dev/null writes I used
...
to track down some uninitialised memory (sometimes valgrind gets the
offset wrong, writing to /dev/null 1 byte at a time avoids this)
(This used to be commit 4bf741b567417231c29606904aea2af0a91c941c)
2007-10-10 14:43:51 -05:00
Stefan Metzmacher
15446aadaf
r20910: fix crash bug
...
metze
(This used to be commit e668d3bd6955f0bd4e37560925c4107fd870c02f)
2007-10-10 14:43:51 -05:00
Stefan Metzmacher
8309f2c35b
r20909: add a module that implements the LDAP_CONTROL_SHOW_DELETED_OID control
...
it hides objects with isDeleted=TRUE by default, and let them through
if the control is present
metze
(This used to be commit 7108d62cb0360e734045eb39c03508d8528dc9cc)
2007-10-10 14:43:51 -05:00
Stefan Metzmacher
cde247b7d0
r20908: - fix uninitialized usage of 'ctx'
...
- remove unused mem_ctx variable
- copy the userman_domain string as child of obj
metze
(This used to be commit 575938753bb2f3b8593f240234cff71995a28df8)
2007-10-10 14:43:50 -05:00
Stefan Metzmacher
0f6a080ee3
r20907: reset krbtgt, machine and administator account passwords to "test"
...
(same values which are given the provision code for setup test_secrets.ldb)
metze
(This used to be commit 42a0304b1f903894bf6902baea47c86e64f9f60a)
2007-10-10 14:43:50 -05:00
Stefan Metzmacher
89278a1469
r20906: allow LDAP simple binds using the following syntaxes in the DN field:
...
CN=Administrator,CN=Users,DC=w2k3,DC=vmnet1,DC=vm,DC=base
Administrator@W2K3
W2K3\Administrator
w2k3.vmnet1.vm.base/Users/Administrator
w2k3 also allows this (and maybe more...?)
metze
(This used to be commit 40c27ef88df9021e9ef2a6c43aabab709ac9662f)
2007-10-10 14:43:50 -05:00
Stefan Metzmacher
c2e492ece3
r20902: don't crash if the object isn't there yet
...
metze
(This used to be commit 4588e2522b11f707e608488c782f6988fd97628a)
2007-10-10 14:43:50 -05:00
Stefan Metzmacher
87f5bed98a
r20901: - not all compiler like uint8_t data[0] elements!
...
- this fix looks really ugly but I don't know a better solution...
if we would use uint8_t *data; then we would send the pointer value
also in the network packet and we would need to initialize
s->data = ((void *)(&s->data) + 1;
to make the memcpy statements work as they're currently,
so we use uint8_t data[1] in the struct definition ...
tridge: please review careful!
hopefully fix the build on solaris and HPUX
metze
(This used to be commit 015097677c8a65e9f5a4367f4f89193a4b2de76b)
2007-10-10 14:43:49 -05:00
Stefan Metzmacher
4c719f82c2
r20900: fix compiler warnings
...
metze
(This used to be commit cb59eae91966e3e493c3c992d2b96965d17dac17)
2007-10-10 14:43:49 -05:00
Stefan Metzmacher
c30b82c3ea
r20899: fix the build and compiler warnings
...
metze
(This used to be commit eec93720aced2b4cdad9f6f5a4f6e23587128357)
2007-10-10 14:43:49 -05:00
Stefan Metzmacher
22bedb42ab
r20898: make it work to include ntvfs/ntvfs.h multiple times
...
metze
(This used to be commit 6814f38f000e9d44bdf25ca5bc1d69fd82522614)
2007-10-10 14:43:48 -05:00
Stefan Metzmacher
f40182cb12
r20897: fix compiler warnings
...
metze
(This used to be commit 5ac562e1e0e8de03c8bcd083a1822b31667c5e21)
2007-10-10 14:43:48 -05:00
Andrew Tridgell
faf800d871
r20896: make the maximum lacount configurable in smb.conf
...
at the moment the brlock_ctdb backend will sometimes fail after
dmaster migrations. So to pass tests this needs to be set high. Thats
a priority to fix.
(This used to be commit 45f5c272f366f6a793941d97c9522c5b2b0cb639)
2007-10-10 14:43:48 -05:00
Andrew Tridgell
864e228f50
r20895: enable ctdb backend at startup (if configured)
...
(This used to be commit e73063a0c6af927e520b3bdd7574dc7183847813)
2007-10-10 14:43:47 -05:00
Andrew Tridgell
72316674bf
r20894: the new brlock.c is needed (seems a svn rename + new file didn't make
...
it in one commit)
(This used to be commit 3315e877ab6504569e2869b52d989fc821982a3b)
2007-10-10 14:43:47 -05:00
Andrew Tridgell
aa74e5c9c0
r20893: brlock notifies are currently disabled in the ctdb backend. Use a #if
...
instead of c++ comments
(This used to be commit a3beff12a522a9b9e0088365d8f2740a1785bff5)
2007-10-10 14:43:47 -05:00
Andrew Tridgell
2e8a95ced7
r20892: add parameter for enabling ctdb self connect
...
(This used to be commit ba3ce8abe3457a1245fd4746af780c6055d39425)
2007-10-10 14:43:47 -05:00
Andrew Tridgell
be05a5ca25
r20891: enable multiple brlock backends. The tdb backend is the default. The
...
prototype ctdb backend is in cluster/ctdb/brlock_ctdb.c
(This used to be commit 84d0e5316299931dc26f2a7b86962d2fffcc4b71)
2007-10-10 14:43:46 -05:00
Andrew Tridgell
20b406ce23
r20890: spelling fix
...
(This used to be commit 507266b951272534f0a0bad5fd5e2450438dcdf1)
2007-10-10 14:43:46 -05:00
Andrew Tridgell
5cb78383fa
r20889: import ctdb cluster backend from bzr
...
it will be interesting to see how the build farm handles this
(This used to be commit 53be449630bd67d649a9e70cc7e25a9799c0616b)
2007-10-10 14:43:46 -05:00
Andrew Tridgell
8c3d15f6ca
r20888: local cluster backend
...
(This used to be commit 5530e6effe03615499fbdc5ff2fe663ffa0223a9)
2007-10-10 14:43:45 -05:00
Andrew Tridgell
9d8c44af17
r20887: allow the registration of multiple cluster backends
...
this is in preparation for ctdb
(This used to be commit 489f022175a1022bcca8053116362825daae5e40)
2007-10-10 14:43:45 -05:00
Andrew Tridgell
630733e9ef
r20886: fixed a valgrind error
...
(This used to be commit acc96e42e74005f1c381b0ab3f6c1b2e051ffaec)
2007-10-10 14:43:45 -05:00
Rafal Szczesniak
c1aac87d34
r20885: - I forgot the page size passed to enumeration function is actually
...
size of a buffer for result returned, not number of entries
- pass libnet function returned status to UserListCtx creation
to properly mark the last chunk of the list
rafal
(This used to be commit 05d307546f93794a0a981c3aa942669b9b18afd1)
2007-10-10 14:43:45 -05:00
Rafal Szczesniak
875d8b4109
r20882: Formatting.
...
rafal
(This used to be commit fd0650283b750aec7952b025db54ab46020a547d)
2007-10-10 14:43:44 -05:00
Rafal Szczesniak
fe5e7809b8
r20881: Sorting out NetUsrCtx methods. Still a couple of things left.
...
rafal
(This used to be commit eebd00ba2bfdfe3bbbcc0a50b91e2e2b03371df6)
2007-10-10 14:43:44 -05:00
Stefan Metzmacher
2467451ddf
r20872: make the password_hash module specific to the domain partition
...
as it's the only partition that can hold securityPrincipal objects
metze
(This used to be commit 72e9cc2184c3b52a4f98318e905b75a3be49df2e)
2007-10-10 14:43:44 -05:00
Stefan Metzmacher
3e523582ea
r20871: implement the validFSMOs constructed attribute on the rootdse
...
for the schema, domain naming and pdc fsmo roles
infrastructure and rid manager will be added later,
when we have module for them
metze
(This used to be commit 308f9cf822a3a34dae28a5fa5aa850e2adbeb472)
2007-10-10 14:43:43 -05:00
Stefan Metzmacher
301129f6de
r20870: implement the constructed attributes dsSchemaAttrCount,
...
dsSchemaClassCount and dsSchemaPrefixCount on the rootdse
having a loaded dsdb_schema make things so easy...:-)
metze
(This used to be commit 7862fcdbb5ce43e702512c1acdbb5843ef551293)
2007-10-10 14:43:43 -05:00
Stefan Metzmacher
2c8a7cc333
r20869: - mark the rootdse with isSyncronized=TRUE after a successful replication
...
- reopen the ldb
metze
(This used to be commit 8e9ff529c8930ee6e1acf5cdd5208924ae1f98af)
2007-10-10 14:43:42 -05:00
Stefan Metzmacher
c74968179c
r20868: load the pdc_fsmo and naming_fsmo modules
...
metze
(This used to be commit b0e30d030e4294cbab79f4db6e6b19a2afda26cb)
2007-10-10 14:43:42 -05:00
Stefan Metzmacher
cc6c3eb38c
r20867: add modules to handle the domain naming and the pdc FSMO Roles
...
metze
(This used to be commit 341fae8e8465e67023ab0e82110835669a593577)
2007-10-10 14:43:42 -05:00
Stefan Metzmacher
aa2439da35
r20866: - fix debug messages missing new lines
...
- use LDB_DEBUG_WARNING in some places
- debug if we're the schema master
metze
(This used to be commit 63f46344437002202990bd34fb200d847fcfcf40)
2007-10-10 14:43:42 -05:00
Stefan Metzmacher
545f97f94e
r20865: remove useless warning, we now always pass the current partition
...
control as non critical control
metze
(This used to be commit 21fddb643bf05ca2b7c60a4695e1fff0f29ec6d1)
2007-10-10 14:43:41 -05:00
Stefan Metzmacher
bd46898e69
r20864: move common stuff into an extra function
...
metze
(This used to be commit 3f441741a6ff00ba88d3134c97e597285afbfed7)
2007-10-10 14:43:41 -05:00
Stefan Metzmacher
2a7cbb2c53
r20863: check that there's a current partition control attached to the request
...
metze
(This used to be commit b1377a2e240dbe36277816452d33d6abaa486b9e)
2007-10-10 14:43:41 -05:00
Stefan Metzmacher
5e2f0275e8
r20859: fix typo
...
metze
(This used to be commit ba6ee1a098381683223d7efaafb04582a47ea871)
2007-10-10 14:43:40 -05:00
Stefan Metzmacher
1500cd79d9
r20855: pass the DSDB_CONTROL_CURRENT_PARTITION_OID control also for the
...
send_all case
metze
(This used to be commit b3fce383d3824ee418cbb7343f5d06720f5d31df)
2007-10-10 14:43:40 -05:00
Stefan Metzmacher
f58e49ade8
r20853: attach the DSDB_CONTROL_CURRENT_PARTITION_OID control when requests
...
are passed to a specific partition
metze
(This used to be commit 06a46b1db46251989676fb04548f038930c83eb5)
2007-10-10 14:43:40 -05:00
Stefan Metzmacher
fb9dabe39e
r20852: add a function to add a ldb control to a ldb_request
...
metze
(This used to be commit f0bf86ed66f7f9995df35db55f2f3875e7dbacbe)
2007-10-10 14:43:40 -05:00
Jelmer Vernooij
64e88a8ccf
r20850: Prefix all server calls with dcesrv_
...
(This used to be commit 76c78b0339cd88c61a13745f7f4e037f400db21b)
2007-10-10 14:43:39 -05:00
Stefan Metzmacher
a35a071fc9
r20849: first step to move away from using find_backend() and use find_partition()
...
instead
metze
(This used to be commit 0d75cca6f37975a3855973468dc55520cb3b3fb7)
2007-10-10 14:43:39 -05:00
Stefan Metzmacher
7730ff44af
r20847: - split some code out into a new function find_partition()
...
- make all functions static
metze
(This used to be commit 3d313f08c7d6b201011f3b4744c8e54b1d0640c7)
2007-10-10 14:43:39 -05:00
Jelmer Vernooij
652f0a7ef8
r20836: Use real type name, to fix compilation with -WC++-compat
...
(This used to be commit 10ca65bd78d27c425ae0347930fd2c9a92fe345c)
2007-10-10 14:43:38 -05:00
Jelmer Vernooij
85520faa42
r20834: No longer generate extra pointers for top-level [out] unique pointers.
...
(This used to be commit b967f5851f24a4716d386fc569e384b9320b162a)
2007-10-10 14:43:38 -05:00
Jelmer Vernooij
9119276bbc
r20831: Update RPC-SCANNER as well after IDL changes.
...
(This used to be commit 1c562d9f8311c4038fcff067ac6bb8364b606573)
2007-10-10 14:43:38 -05:00
Jelmer Vernooij
615895332a
r20830: merge mgmt work
...
(This used to be commit 3cc299dbbe278936281f8e7071e6de8ec1bb219c)
2007-10-10 14:43:37 -05:00
Jelmer Vernooij
97467edea3
r20829: Update ignores.
...
(This used to be commit 4f790a5987f0c3eedc5dfe6f389fa43711359257)
2007-10-10 14:43:37 -05:00
Stefan Metzmacher
21206f36c6
r20826: make the dsdb_control_current_partition struct public and allocate an oid for the
...
control
metze
(This used to be commit 684eee52e8812f6d104d8706ab059643ff4faa46)
2007-10-10 14:43:37 -05:00