1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

11649 Commits

Author SHA1 Message Date
Andrew Tridgell
e7d0d22806 r20991: use relative includes for ctdb headers. This works with both
standalone and built-in ctdb
(This used to be commit 3e5f29bddf)
2007-10-10 14:44:18 -05:00
Andrew Tridgell
8ffc4c430c r20990: check for errors from event_loop_once()
(This used to be commit 6af4557b13)
2007-10-10 14:44:18 -05:00
Andrew Tridgell
7d184f1f72 r20989: don't mark epoll as set until after the io_submit() succeeds
this is part of the solution to LOCAL-EVENT on fort
(This used to be commit 35f62bc125)
2007-10-10 14:44:18 -05:00
Andrew Bartlett
d5bbd817fe r20988: Call out to Heimdal's krb5.conf processing to configure many aspects
of KDC behaviour.  This should allow PKINIT to be turned on and
managed with reasonable sanity.

This also means that the krb5.conf in the same directory as the
smb.conf will always have priority in Samba4, which I think will be
useful.

Andrew Bartlett
(This used to be commit a50bbde81b)
2007-10-10 14:44:18 -05:00
Andrew Bartlett
14503a65ec r20984: Try to ensure we can't have sig_state dissapear before se.
I think this happens when both are eventual children of the autofree context.

(Trying to track down a valgrind error on fort).

Andrew Bartlett
(This used to be commit aee751497c)
2007-10-10 14:44:17 -05:00
Volker Lendecke
a80732cf00 r20983: Two no-mem error returns
(This used to be commit 79a0cd3a1b)
2007-10-10 14:44:17 -05:00
James Peach
0602d4d7f2 r20981: Fix cut'n'paste error.
(This used to be commit 20dcd6e241)
2007-10-10 14:44:17 -05:00
Stefan Metzmacher
ea57190d25 r20978: 300 seconds as interval is ok, when we do nothing
metze
(This used to be commit 4d6629c683)
2007-10-10 14:44:16 -05:00
Stefan Metzmacher
9142a00cb7 r20977: start the 'drepl' service, which currently does nothing by default,
but make it less verbose

metze
(This used to be commit f7e82a0c94)
2007-10-10 14:44:16 -05:00
Stefan Metzmacher
c601a9ddcd r20975: - implement handling of meta data an on originating add
there're a few things TODO, but it's a good start

we need to research if an originating change causes the replUpToDateVector
attribute to change...(I assume it, but needs testing)

metze
(This used to be commit fde0aabd9a)
2007-10-10 14:44:06 -05:00
Stefan Metzmacher
faa9c2374c r20974: add basic infrastructure for a DSDB replication service
not activated yet...

it will handle inbound pull replication and outbound change notification

metze
(This used to be commit 15eae968b8)
2007-10-10 14:44:06 -05:00
Stefan Metzmacher
eb7596e66b r20973: add functions to create the autocreated subSchema Attributes:
attributeTypes, objectClasses and dITContentRules

this is just a start and doesn't create anything useful yet...

metze
(This used to be commit 4c8b717092)
2007-10-10 14:44:06 -05:00
Volker Lendecke
67f494d72a r20972: "private" -> "private_data"
(This used to be commit 8cbcd3d1cb)
2007-10-10 14:44:05 -05:00
Stefan Metzmacher
6fda023f80 r20971: we don't need this check twice:-)
metze
(This used to be commit b7d48274a7)
2007-10-10 14:44:05 -05:00
Stefan Metzmacher
97666f12a4 r20969: remove unused function, found my lcov
metze
(This used to be commit 0c5eb19ebc)
2007-10-10 14:44:05 -05:00
Stefan Metzmacher
c84d8124b2 r20968: - add functions to sort the meta data and attribute arrays
- we should use them before we store records to disk

metze
(This used to be commit a5200ef0ca)
2007-10-10 14:44:04 -05:00
Jelmer Vernooij
fe938ca91f r20967: Allow pidl tests to work with gcov
(This used to be commit 9da63e362c)
2007-10-10 14:44:04 -05:00
Andrew Bartlett
d2bfa66119 r20964: Show the domain name we figured out, rather than a null pointer (in
some error cases)

Andrew Bartlett
(This used to be commit 4195839d1a)
2007-10-10 14:44:04 -05:00
Jelmer Vernooij
c471abbcfe r20963: remove unused functions, run LOCAL-TDR by default
(This used to be commit 0f34c67fff)
2007-10-10 14:44:04 -05:00
Jelmer Vernooij
ff7f8b57f1 r20962: Fix lcov
(This used to be commit 3d3d3031c8)
2007-10-10 14:44:03 -05:00
Jelmer Vernooij
1a803d13b8 r20961: Fix lcov
(This used to be commit fa659bed48)
2007-10-10 14:44:03 -05:00
Andrew Tridgell
45c2b83ec7 r20960: attempt to fix a valgrind error in the signals backend.
This also reduces the static data in the signal backend when not using
signals to 4 bytes.
(This used to be commit 071a6e8eb1)
2007-10-10 14:44:03 -05:00
Stefan Metzmacher
a00bd47bfa r20957: a value of FF0000000000000000000000000000000000000000 isn't stored as schemaInfo
so we need to use it as value if nothing is stored

metze
(This used to be commit cd32613407)
2007-10-10 14:44:02 -05:00
Stefan Metzmacher
9de1b173b4 r20956: cn and instanceType are autogenerated values, later we need to remove them from all
ldif files, but for now only the ones used by the NET-API-BECOME-DC test

metze
(This used to be commit 7510b9ca4a)
2007-10-10 14:44:02 -05:00
Jelmer Vernooij
0bafe55264 r20955: Add tests
(This used to be commit 965d0d9289)
2007-10-10 14:44:01 -05:00
Jelmer Vernooij
a45cc42a68 r20954: Add lcov target, fix gcov.
(This used to be commit f7e93afa1c)
2007-10-10 14:44:01 -05:00
Stefan Metzmacher
91ee0709b2 r20953: add templates in provision_become_dc()
metze
(This used to be commit 306ea74f85)
2007-10-10 14:44:01 -05:00
Stefan Metzmacher
784f11bd85 r20952: when a component is changed we need to rebuild the linearized string
metze
(This used to be commit beb816fb78)
2007-10-10 14:43:59 -05:00
Andrew Bartlett
0ee01e6fc2 r20949: Looking over some lcov output, try and walk some error paths.
Andrew Bartlett
(This used to be commit 9ed9a032c2)
2007-10-10 14:43:59 -05:00
Andrew Tridgell
69d475223d r20948: a very simple example on how to setup and test ctdb
(This used to be commit 8b5d7d66c9)
2007-10-10 14:43:59 -05:00
Andrew Tridgell
87df5a6312 r20947: fixed a bug in the unlock logic in the brlock tdb backend
I'm very surprised this didn't show up earlier!
(This used to be commit 5d9b1acf4f)
2007-10-10 14:43:59 -05:00
Andrew Tridgell
44b6652e6c r20946: fixed another couple of bugs in the brlock ctdb backend. It now
survives very long random locktest runs.
(This used to be commit 53fd66340a)
2007-10-10 14:43:58 -05:00
Andrew Tridgell
ae7eab4cfc r20945: fixed the bug causing locktest to fail with the ctdb backend after a
couple of hundred opertations. Also removed a lot of the debug code I
was using to track this down.
(This used to be commit 7622e7b4b2)
2007-10-10 14:43:58 -05:00
Andrew Tridgell
e04e99585c r20944: if a call has been destroyed before a reply comes in then discard the
reply
(This used to be commit 05d19af38c)
2007-10-10 14:43:57 -05:00
Andrew Tridgell
4109edc5b6 r20943: use offsetof() instead of sizeof() - 1 for the packet length
calculations. It will be interesting to see how portable this is.

The advantage over the sizeof() method is that it avoids padding
problems after the data[1] array. That was causing us to get valgrind
errors.
(This used to be commit fd8e460439)
2007-10-10 14:43:57 -05:00
Jelmer Vernooij
30bfba96d3 r20942: Simplify handling of systems that don't support negative enum values by using an ifdef rather than a pidl argument.
(This used to be commit 6bada0dcf0)
2007-10-10 14:43:57 -05:00
Andrew Tridgell
fa5e920a7b r20941: avoid races in the block/unblock code
(This used to be commit 83353ec0cd)
2007-10-10 14:43:56 -05:00
Andrew Tridgell
0c846b1b2d r20940: allow SA_SIGINFO signals to be oneshot. Why you would ever want this
is beyond me :-)
(This used to be commit e892cbdb4b)
2007-10-10 14:43:56 -05:00
Andrew Tridgell
00e553a272 r20939: reduce the amount of static state for signal handlers from 96k to 1.2k
(This used to be commit bf060ce4fe)
2007-10-10 14:43:56 -05:00
Andrew Tridgell
2e009caa1b r20938: use a double counter trick to avoid the need for atomic increment
(This used to be commit 7c7b79ed04)
2007-10-10 14:43:56 -05:00
Volker Lendecke
a8a702a6c9 r20934: I *hate* deep indents :-)
(This used to be commit c98dd55e32)
2007-10-10 14:43:55 -05:00
Andrew Tridgell
cf8eef4ad8 r20930: use sigaction() instead of signal()
add support for sa_flags argument to event_add_signal(). These are
passed to sigaction(). Special handling is provided for SA_RESETHAND
(which tells the event system to remove the handler after the signal)
and SA_SIGINFO which allows the siginfo structure to be received per
signal
(This used to be commit 1bb10b6cf7)
2007-10-10 14:43:55 -05:00
Andrew Tridgell
c6174d5d6f r20929: fixed typo
(This used to be commit bad87e2c82)
2007-10-10 14:43:54 -05:00
Andrew Tridgell
336ae458e9 r20928: added signal events to lib/events
Jeremy asked for this to allow Samba3 to use the Samba4 events library

see torture/local/event.c for an example
(This used to be commit 7e105482ff)
2007-10-10 14:43:54 -05:00
Stefan Metzmacher
bf86c27440 r20923: only allow extended operations for SYSTEM or administrators for now
metze
(This used to be commit f062f09fbf)
2007-10-10 14:43:53 -05:00
Stefan Metzmacher
5d8700c53c r20922: use the show_deleted module by default
metze
(This used to be commit edc37501d6)
2007-10-10 14:43:52 -05:00
Stefan Metzmacher
21cf5c82a2 r20921: - only give password attributes to the SYSTEM account
- but SYSTEM and administrators can change them

metze
(This used to be commit fc5319e927)
2007-10-10 14:43:52 -05:00
Andrew Tridgell
2ad79af331 r20920: use cluster_tdb_tmp_open() in ntvfs backend code
(This used to be commit c9080c5487)
2007-10-10 14:43:52 -05:00
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 0ed9138449)
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 4bf741b567)
2007-10-10 14:43:51 -05:00
Stefan Metzmacher
15446aadaf r20910: fix crash bug
metze
(This used to be commit e668d3bd69)
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 7108d62cb0)
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 575938753b)
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 42a0304b1f)
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 40c27ef88d)
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 4588e2522b)
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 015097677c)
2007-10-10 14:43:49 -05:00
Stefan Metzmacher
4c719f82c2 r20900: fix compiler warnings
metze
(This used to be commit cb59eae919)
2007-10-10 14:43:49 -05:00
Stefan Metzmacher
c30b82c3ea r20899: fix the build and compiler warnings
metze
(This used to be commit eec93720ac)
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 6814f38f00)
2007-10-10 14:43:48 -05:00
Stefan Metzmacher
f40182cb12 r20897: fix compiler warnings
metze
(This used to be commit 5ac562e1e0)
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 45f5c272f3)
2007-10-10 14:43:48 -05:00
Andrew Tridgell
864e228f50 r20895: enable ctdb backend at startup (if configured)
(This used to be commit e73063a0c6)
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 3315e877ab)
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 a3beff12a5)
2007-10-10 14:43:47 -05:00
Andrew Tridgell
2e8a95ced7 r20892: add parameter for enabling ctdb self connect
(This used to be commit ba3ce8abe3)
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 84d0e53162)
2007-10-10 14:43:46 -05:00
Andrew Tridgell
20b406ce23 r20890: spelling fix
(This used to be commit 507266b951)
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 53be449630)
2007-10-10 14:43:46 -05:00
Andrew Tridgell
8c3d15f6ca r20888: local cluster backend
(This used to be commit 5530e6effe)
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 489f022175)
2007-10-10 14:43:45 -05:00
Andrew Tridgell
630733e9ef r20886: fixed a valgrind error
(This used to be commit acc96e42e7)
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 05d307546f)
2007-10-10 14:43:45 -05:00
Rafal Szczesniak
875d8b4109 r20882: Formatting.
rafal
(This used to be commit fd0650283b)
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 eebd00ba2b)
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 72e9cc2184)
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 308f9cf822)
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 7862fcdbb5)
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 8e9ff529c8)
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 b0e30d030e)
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 341fae8e84)
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 63f4634443)
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 21fddb643b)
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 3f441741a6)
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 b1377a2e24)
2007-10-10 14:43:41 -05:00
Stefan Metzmacher
5e2f0275e8 r20859: fix typo
metze
(This used to be commit ba6ee1a098)
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 b3fce383d3)
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 06a46b1db4)
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 f0bf86ed66)
2007-10-10 14:43:40 -05:00
Jelmer Vernooij
64e88a8ccf r20850: Prefix all server calls with dcesrv_
(This used to be commit 76c78b0339)
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 0d75cca6f3)
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 3d313f08c7)
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 10ca65bd78)
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 b967f5851f)
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 1c562d9f83)
2007-10-10 14:43:38 -05:00
Jelmer Vernooij
615895332a r20830: merge mgmt work
(This used to be commit 3cc299dbbe)
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 684eee52e8)
2007-10-10 14:43:37 -05:00
Stefan Metzmacher
113666aba9 r20825: control the subsystem default output type via a variable too
metze
(This used to be commit 624bd4e5a8)
2007-10-10 14:43:36 -05:00
Jelmer Vernooij
6967a73f36 r20823: Remove newlines in calls to torture_fail().
(This used to be commit 37c0cfe83b)
2007-10-10 14:43:36 -05:00
Jelmer Vernooij
6688846ee1 r20822: Fix total failure counting.
(This used to be commit e4691447c4)
2007-10-10 14:43:36 -05:00
Stefan Metzmacher
0ce02a2c0e r20819: - include system/aio.h
- use full prototype for main
- use ifdef instead if

metze
(This used to be commit b3a3c44f42)
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
71f6a4d05b r20816: merge from samba3:
include setjmp.h via system/wait.h

metze
(This used to be commit 1b10cbb629)
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
28438101bd r20815: merge from samba3
metze
(This used to be commit 5b8387969d)
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
fda5cbc62e r20814: always define SHLIBEXT, to fix the build on host with no support for shared libs,
there we just define it to an invalid value

metze
(This used to be commit d491258c2c)
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
e6875ca215 r20813: fix the build with autodependencies
metze
(This used to be commit ad110d22fb)
2007-10-10 14:43:34 -05:00
Stefan Metzmacher
8c75df8b2c r20810: unlink the test file when the test is done
metze
(This used to be commit d3e10679af)
2007-10-10 14:43:34 -05:00
Stefan Metzmacher
842e2804d8 r20809: rename struct partition into struct dsdb_control_current_partition
we'll soon pass this down as DSDB_CONTROL_CURRENT_PARTITION_OID control
so that the repl_meta_data module knows where to update the replUpToDateVector
attribute

metze
(This used to be commit e5de40f8c2)
2007-10-10 14:43:34 -05:00
Stefan Metzmacher
36d940b0a8 r20808: remove whitespace
metze
(This used to be commit 28a02742af)
2007-10-10 14:43:33 -05:00
Stefan Metzmacher
cb54de2bf9 r20807: test static password for the test_*.ldb' files
metze
(This used to be commit 6790a62e4e)
2007-10-10 14:43:33 -05:00
Stefan Metzmacher
9f802707d8 r20806: make it possible to configure the secrets.ldb url
via "secrets database = my_secrets.ldb"

metze
(This used to be commit a096a97415)
2007-10-10 14:43:33 -05:00
Stefan Metzmacher
03d2647bd0 r20805: don't use hardcoded values for secrects.keytab and sam.ldb
metze
(This used to be commit c78e345fea)
2007-10-10 14:43:32 -05:00
Stefan Metzmacher
1d6456fd60 r20804: work arround HPUX and Tru64 make which don't like $$startdir
we now call asn1_compile and compile_et via a wrapper script

metze
(This used to be commit a5b67f5c7e)
2007-10-10 14:43:32 -05:00
Stefan Metzmacher
5de50f5a66 r20803: fix compiler warning about extra semicolon
metze
(This used to be commit 1feae45f28)
2007-10-10 14:43:32 -05:00
Stefan Metzmacher
b6e3c0cf0d r20802: - don't add the same Makefile vars twice...
- this fixes a lot of warnings on Tru64

maybe this also fixes the build on Tru64 and HPUX...

metze
(This used to be commit a154fd04c8)
2007-10-10 14:43:32 -05:00
Stefan Metzmacher
d363192d64 r20801: try to always fix up the acl revision when we add or remove
an ace

metze
(This used to be commit 18cc56be6a)
2007-10-10 14:43:31 -05:00
Stefan Metzmacher
d6fafdb237 r20800: fix compiler warnings
metze
(This used to be commit 6ce994720c)
2007-10-10 14:43:31 -05:00
Stefan Metzmacher
e754ec1d8a r20799: if any ace has the optional sub object, the acl revision needs
to be SECURITY_ACL_REVISION_ADS (4)

metze
(This used to be commit a67bb43659)
2007-10-10 14:43:31 -05:00
Stefan Metzmacher
beb955758b r20798: fix ndr_size_security_ace() it should include the optional sub object
for ADS style ace's

metze
(This used to be commit 161fea1a14)
2007-10-10 14:43:30 -05:00
Stefan Metzmacher
0bb7e6847e r20797: make it more clear that this is a 32bit bitmap
metze
(This used to be commit e85a4bfbf3)
2007-10-10 14:43:30 -05:00
Stefan Metzmacher
2246d32e70 r20795: dom_sid_parse_talloc() gets an null terminated string as input,
the SDDL string has the sid strings embedded, so we need to create
a null terminated string...

metze
(This used to be commit 532395a18d)
2007-10-10 14:43:30 -05:00
Stefan Metzmacher
9ba0c91e9f r20794: hopefully fix the build on systems without native linux aio
metze
(This used to be commit 4787b8e1f7)
2007-10-10 14:43:30 -05:00
Stefan Metzmacher
64f27395a1 r20792: fix the build, sorry...
metze
(This used to be commit e2cdd882b5)
2007-10-10 14:40:56 -05:00
Stefan Metzmacher
0ec7ff5b6b r20791: the ejsnet stuff can be a normal smbcalls module...
mimir: when you want to register more functions
       please do that in the smb_setup_ejs_net() function

metze
(This used to be commit 5828632931)
2007-10-10 14:40:55 -05:00
Stefan Metzmacher
274df78541 r20788: - remove epoll configure checks from libreplace
- fix epoll configure checks for the epoll and aio
  events backends
- we should only activate the epoll backend if sys/epoll.h
  and epoll_create() are found
- we should only activate the aio backend if sys/epoll.h, epoll_create(),
  libaio.h and io_getevents() are found

hopefully fix the build on 'bnhtest' in the build farm...

metze
(This used to be commit d46a5efb03)
2007-10-10 14:40:55 -05:00
Stefan Metzmacher
f5473306c5 r20787: a subsystem doesn't need explicit dependencies to its modules
metze
(This used to be commit 017cf3f137)
2007-10-10 14:40:55 -05:00
Jelmer Vernooij
c448896c7e r20786: Fix the build.
(This used to be commit 42bb335bd5)
2007-10-10 14:40:55 -05:00
Jelmer Vernooij
153d4f367b r20785: Add stub implementation for mgmt interface.
(This used to be commit e84a369d9b)
2007-10-10 14:40:54 -05:00
Jelmer Vernooij
cd15a223cc r20784: Add ref pointer
(This used to be commit 2ba225ee12)
2007-10-10 14:40:54 -05:00
Rafal Szczesniak
79cd3ada82 r20783: Ejsnet files are now moved into a separate directory. I need to commit
this as the change is getting bigger and bigger.

Jelmer, Metze, I don't know enough of our build system so please check
if .mk files are ok.

rafal
(This used to be commit 77ede0656c)
2007-10-10 14:40:54 -05:00
Rafal Szczesniak
a6f6530c38 r20782: Place ejsnet files in a separate directory.
rafal
(This used to be commit 10968c3f4b)
2007-10-10 14:40:53 -05:00
Stefan Metzmacher
b15f4878e1 r20780: keep a dsdb_schema_fsmo struct as private data
and remember if we're the schema master

metze
(This used to be commit c42dab21fb)
2007-10-10 14:40:53 -05:00
Stefan Metzmacher
3b956f0779 r20779: fix compiler warnings
metze
(This used to be commit 0b98f11d3e)
2007-10-10 14:40:53 -05:00
Stefan Metzmacher
2fe86d1e42 r20778: we don't need a talloc_steal here
metze
(This used to be commit 0ef90769b4)
2007-10-10 14:40:53 -05:00
Stefan Metzmacher
dbdb4cc269 r20777: only include closefrom.c if the system doesn't have it.
hopefully solaris build fine now...

metze
(This used to be commit f9a6649f08)
2007-10-10 14:40:52 -05:00
Stefan Metzmacher
47523dbc6a r20776: require a loaded dsdb_schema for originating add and modify operations
(later we'll require it for all originating changes...)

metze
(This used to be commit fc1a836ecc)
2007-10-10 14:40:52 -05:00
Stefan Metzmacher
0de68094bf r20775: - use the schema_fsmo module on the schema partition, which loads the schema
if it's already in the ldb
- reopen the ldb after applying the schema, to that we use the loaded schema
  when we apply the config and domain partition objects

metze
(This used to be commit 6d320ec19c)
2007-10-10 14:40:52 -05:00
Stefan Metzmacher
4af2716c47 r20773: we need to include config.h and replace.h before we can use #ifdef statements
hopefully fix the build on solaris 9

metze
(This used to be commit 65ba2920a1)
2007-10-10 14:40:51 -05:00
Stefan Metzmacher
7057be5ec1 r20772: fix segfault caused by ldb_set_default_dns() from init_context hook of the root dse module
metze
(This used to be commit a201d3fc4d)
2007-10-10 14:40:51 -05:00
Stefan Metzmacher
dd4b91f2f4 r20771: add an ldb module which will force the Schema FSMO Role Owner
constraints and it also loads the dsdb_schema at startup.

currently it only loads the dsdb_schema

metze
(This used to be commit d78de0fb68)
2007-10-10 14:40:51 -05:00
Stefan Metzmacher
5b288e6c4e r20770: remove unused var
metze
(This used to be commit b311de14c1)
2007-10-10 14:40:50 -05:00
Stefan Metzmacher
cbc8bc056c r20769: - it's wrong to add the schemaInfo blob as 2nd value to the prefixMap attribute...(was a typo)
- as the schemaInfo attribute is already applied to the ldb because it's a replicated attribute
  we should not replace it

metze
(This used to be commit 56109df406)
2007-10-10 14:40:50 -05:00
Stefan Metzmacher
caf37188d6 r20768: store the prefixMap and schemaInfo attributes on the schema head object
metze
(This used to be commit ac228b3a6a)
2007-10-10 14:40:50 -05:00
Stefan Metzmacher
abeb80b77f r20767: don't pass a dsdb_schema to dsdb_extended_replicated_objects_commit()
anymore it should use the dsdb_schema attached to the ldb_context
via dsdb_get_schema()

metze
(This used to be commit efa31bbc37)
2007-10-10 14:40:49 -05:00
Stefan Metzmacher
9f876c9fae r20766: when creating dsdb_attribute or dsdb_class structs from ldb, try the oid mapping
if the dsdb_schema has mappings attached

metze
(This used to be commit 6ecd1342de)
2007-10-10 14:40:49 -05:00
Stefan Metzmacher
15f6cf2449 r20765: add two more schema related error codes
metze
(This used to be commit 75f5a88f22)
2007-10-10 14:40:48 -05:00
Stefan Metzmacher
e8d9ccd574 r20764: fix some little bugs
metze
(This used to be commit 1c3d1723e9)
2007-10-10 14:40:48 -05:00
Stefan Metzmacher
b93d6b41cb r20763: add function to get the oid mappings in drsuapi or ldb form
metze
(This used to be commit cab3acb9bb)
2007-10-10 14:40:48 -05:00
Stefan Metzmacher
ee56bf2317 r20762: load the default dn's after the rootdse module is initialized,
so that following module can access the default dn's.

metze
(This used to be commit a934da4dcf)
2007-10-10 14:40:47 -05:00
Stefan Metzmacher
0c29f6d56d r20761: let ldb modules call ldb_set_default_dns()
metze
(This used to be commit 224a31cdbf)
2007-10-10 14:40:47 -05:00
Stefan Metzmacher
1687e73abe r20760: also handle the case where no private data is attached to the module
metze
(This used to be commit c8f5aad40a)
2007-10-10 14:40:46 -05:00