1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

12400 Commits

Author SHA1 Message Date
Andrew Bartlett
8afe4e7f3c r21836: Assume that if an OpenLDAP system is 'modular' then everything is a
module, so we have to bring in syncprov too.

Andrew Bartlett
(This used to be commit b9d06c70adcf34d3272797027b6cf89a174b862a)
2007-10-10 14:49:35 -05:00
Andrew Tridgell
dfb04271eb r21835: fixed a rpc server bug where we failed to remove a call from one
linked list when moving it to another. This could cause a valgrind
error under the RPC-SCANNER test.
(This used to be commit 9ba8c008513e362fbb860af899006505cadb4a2f)
2007-10-10 14:49:34 -05:00
Jelmer Vernooij
4f0c0997ce r21834: Remove unnecessary includes
(This used to be commit 7d10e192caa60b816466a9deddf736afd2445080)
2007-10-10 14:49:34 -05:00
Jelmer Vernooij
0836a83f9e r21833: Don't install static libs, they can't be used anyway.
(This used to be commit 6fb7097edfa222234505a4223c627dd506f5df7d)
2007-10-10 14:49:34 -05:00
Jelmer Vernooij
72b2f64f48 r21832: Ignore some more autogenerated files.
(This used to be commit f7fc7e21922355afb5c66cf6b5afb69ad79a9b46)
2007-10-10 14:49:34 -05:00
Jelmer Vernooij
606c0fec43 r21830: Fix header installation, remove proto header with a single prototype.
(This used to be commit 47a17a741af625eb52f611b3d0f3ea0e207f2c3a)
2007-10-10 14:49:33 -05:00
Jelmer Vernooij
6bcbdc2757 r21829: Integrate mgmt in libdcerpc. We have enough libraries as it is and mgmt is part of the DCE/RPC standard.
(This used to be commit b0d05727b4e2688f182ae3427e3215b22562ae6c)
2007-10-10 14:49:33 -05:00
Jelmer Vernooij
c1c34c4179 r21828: Hardcode prototypes, as they're a public API.
(This used to be commit 02ae0b9cde8a18498bc72583d8cac9b0217da4ad)
2007-10-10 14:49:33 -05:00
Stefan Metzmacher
37f2d53528 r21827: move comments to the place where the functionality is implemented
metze
(This used to be commit 5d49d8b9e149d320cb08c5c2a4fc4cb8bfd74129)
2007-10-10 14:49:33 -05:00
Stefan Metzmacher
63fd883e54 r21826: reorder functions
metze
(This used to be commit 3d0a810ccd5d7490d46f91ca6aef6052ca0c56c3)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
31c674bffc r21821: move comment about the becoming a dc to the code which implements it
and extent the comments a bit

metze
(This used to be commit 16c958600ea6d4481f32081262bf8bae4b56a247)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
952a90814f r21820: move function, so that all are in top-down order as they get called
metze
(This used to be commit 38bb7f5445cf1d1a52a9edb21475ed2d5ed20ce4)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
d0f989628a r21817: give fields a meaning
metze
(This used to be commit 521355b57b74dbdccc6ae15738345e1d989ce262)
2007-10-10 14:49:31 -05:00
Andrew Tridgell
c8cfbfdc8b r21814: use ndr_push_error in the ndr layer, not just a NTSTATUS failure
(This used to be commit 37aa32e2fe4829ec467c606cfcc7485508a2682c)
2007-10-10 14:49:31 -05:00
Andrew Tridgell
dd0b2572eb r21812: fixed an integer overflow error in the ndr push code.
This needs to be fixed in Samba3 as well. It might be exploitable (I
haven't confirmed one way or the other), so I think this should be
fixed for 3.0.25
(This used to be commit 4766175ff2d0de8af92046e29280c7893ac8fe1f)
2007-10-10 14:49:31 -05:00
Andrew Tridgell
f85bb4c1c3 r21811: fixed a queueing error in the dcerpc client code. WHen the
dcerpc_ship_next_request() logic was added the penidng queue was split
in two, but we also needed to update the code which removes requests
from the queue to know about the two queues. Following the pattern
used in other client libs, I based which queue to remove from on
req->state, and added a new state RPC_REQUEST_QUEUED. This fixes a
crash that happens when rpc requests time out.

This patch also fixes the handling of timed out bind requests, and the
talloc_reference handling in dcerpc_ndr_request_recv().
(This used to be commit f51a129b52d53059cc1567538f986400c0ea5602)
2007-10-10 14:49:31 -05:00
Derrell Lipman
894555b0a7 r21810: - The height of a widget is in relation to its enclosing widget. Specifying a
height of 100% means that if the enclosing widget is 100 pixels high, this
  widget should be 100 pixels high.  If this widget is then placed someplace
  other than at the top of the enclosing widget, e.g. with top:20, the bottom
  of this widget will fall off the bottom of the enclosing widget.

  The normal way to solve this is to specify top and bottom attributes rather
  than top and height attributes.  Also, since widgets often look better if
  they don't extend all the way to the very bottom, specifying a bottom
  attribute equal to the top attribute typically has an appealing appearance.

  I've fixed the tree widget so it no longer falls off the bottom of the page.
(This used to be commit 44d5f5ec6db76c981f94e7322f82592e5d85be9f)
2007-10-10 14:49:30 -05:00
Derrell Lipman
0f08bc3ab5 r21809: - If the canvas is never initialized with the tree, the tree will never
appear.  Now that the finite state machine properly ignores events from
  widgets which are not handled, the initialization of the tree should be done
  when the module's canvas appears (i.e. just after the canvas has had the
  module's gui applied to it).
(This used to be commit ab620c9554642f1289d6d0136fb104e475f22316)
2007-10-10 14:49:30 -05:00
Derrell Lipman
3330a53acc r21808: - Fix a nasty bug in the finite state machine that allowed an event from a
non-handled widget to be processed as if the event originated from a handled
  widget.  This was allowing the appear event for the module's canvas in
  Mimir's Net Manager (an event which was not handled) to load the tree,
  followed by the tree appear event (intended to be handled, albeit
  incorrectly -- see subsequent check-in of Mimir's Fsm.js) to again load the
  tree, thus the double entry.

  Wow, the above paragraph is really hard to read. :-)
(This used to be commit 512dc61e846669311b1605c6c4e1b49241c1c8be)
2007-10-10 14:49:30 -05:00
Andrew Tridgell
676a04a056 r21807: modularise the opendb code, so different backends can be
implemented. This will allow for a ctdb opendb backend.
(This used to be commit 6b91ca0968209ad17489341c78d9610607cc8320)
2007-10-10 14:49:29 -05:00
Andrew Bartlett
9b03286b32 r21806: I've been working over the last week to fix up the LDAP backend for
Samba4.  This only broke on global catalog queries, which turned out to
be due to changes in the partitions module that metze needed for his
DRSUAPI work.

I've reworked partitions.c to always include the 'problematic' control,
and therefore demonstrated that this is the issue.  This ensures
consistency, and should help with finding issues like this in future.

As this control (DSDB_CONTROL_CURRENT_PARTITION_OID) is not intended to
be linearised, I've added logic to allow it to be skipped when creating
network packets.

I've likewise make our LDAP server skip unknown controls, when marked
'not critical' on it's input, rather than just dropping the entire
request.  I need some help to generate a correct error packet when it is
marked critical.

Further work could perhaps be to have the ldap_encode routine return a
textual description of what failed to encode, as that would have saved
me a lot of time...

Andrew Bartlett
(This used to be commit eef710668f91d1bbaa2d834d9e653e11c8aac817)
2007-10-10 14:49:29 -05:00
Andrew Bartlett
b6b98f6300 r21805: Add PAC_TYPE_CONSTRAINED_DELEGATION to the PAC_TYPE enum.
(This used to be commit 6fb3b4be10d204bec61a1fddd1c50c1c24d52ebf)
2007-10-10 14:49:29 -05:00
Stefan Metzmacher
252331a35d r21799: tell roken.h.in to not generate prototypes for setenv() and unsetenv()
metze
(This used to be commit 974eb5eb6837685ee93efea814544cc7051c070e)
2007-10-10 14:49:29 -05:00
Stefan Metzmacher
8988113a42 r21798: unsetenv() returns void on some platforms (BSD)
metze
(This used to be commit 9cdb9f1cee9af47e42e11357397b828b86632805)
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
d464f0e78b r21797: remove the key directly from the environ array
inspired by:
http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/replace/unsetenv.c?rev=1.4&view=auto

metze
(This used to be commit 8787525e518805f8445a376dc4964921598cb2e0)
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
de75e93817 r21796: check if unsetenv() works on an non-existing key
metze
(This used to be commit c6b4f2d1518c989cacdc8869df89f02dc54857d7)
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
14233bb76f r21795: fix the prototype of unsetenv()...
metze
(This used to be commit 2952c20b779fc6c797e2ab33ba3bda19cbb7a00d)
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
d358087227 r21794: add setenv()/unsetenv() testsuite
metze
(This used to be commit 3df206ddfadea5bf39a22e8c4c262764c79d302c)
2007-10-10 14:49:27 -05:00
Stefan Metzmacher
544a2d30e0 r21793: add replacement for unsetenv()
metze
(This used to be commit d6de7f2cda70cfd55f0f7fbb9f3b93a5a58c6f51)
2007-10-10 14:49:27 -05:00
Andrew Bartlett
9b921af12e r21791: This test is still just as valid without as much CPU time wasted.
Andrew Bartlett
(This used to be commit 3549785700cb412fae0e58c530faa40683952d55)
2007-10-10 14:49:27 -05:00
Andrew Bartlett
67e22aa6ff r21790: Setup the socket_wrapper_dir when we set the environment variable.
Andrew Bartlett
(This used to be commit 5c07dbd2487c5c23355ad0e3db6e9f9caf8ce145)
2007-10-10 14:49:26 -05:00
Andrew Bartlett
7b706c7091 r21789: We do actually need this, to get a contextCSN attribute, which we need
for USN support.

Andrew Bartlett
(This used to be commit 5f363502434e88c16920b219d7a854a22fee658f)
2007-10-10 14:49:26 -05:00
Rafal Szczesniak
16779a9e5d r21788: Add new JSON-RPC services.
rafal
(This used to be commit 78e123518cbc808424e776751f4112fbaa8b74eb)
2007-10-10 14:49:26 -05:00
Rafal Szczesniak
0816228a62 r21787: Add new module to the swat application.
rafal
(This used to be commit de0f7c42be10d87dd9e5f230bb8e708dfb4b740b)
2007-10-10 14:49:26 -05:00
Rafal Szczesniak
95c3927e2b r21786: My initial attempts in qooxdoo coding. Derrell, please take
a look and I'll have a lot of questions to you.

rafal
(This used to be commit d92604ebd2f9d8d2d0a8883c193110780102912f)
2007-10-10 14:49:25 -05:00
Stefan Metzmacher
3e697d5110 r21773: fix typo orginating -> originating
and use the struct member names in all cases

metze
(This used to be commit c543ee57454d006c545e3e9e20c9ac0114081d3d)
2007-10-10 14:49:24 -05:00
Stefan Metzmacher
4e7520f643 r21772: add DS_BEHAVIOR_WIN2003_INTERIM constant
metze
(This used to be commit 59fffa7ba148a082d0cf13226d0577b3fcd7b5ad)
2007-10-10 14:49:24 -05:00
Andrew Bartlett
7a9f31a926 r21771: We just don't need to test this on more than one transport.
Andrew Bartlett
(This used to be commit c55edacba5f45a756a01baa1bf6401b4815bada8)
2007-10-10 14:49:24 -05:00
Andrew Bartlett
3370f2f2d7 r21761: - Give more detail on LDAP client library failures (make it clear
where the error is from)

- Make default error string more consistant

Andrew Bartlett
(This used to be commit 7f115579d20a3112efd11444fafcbf78698fc9a1)
2007-10-10 14:49:24 -05:00
Andrew Bartlett
f80d21069b r21760: Try to pin down were some errors are coming from. Ensure we at least
name the module.

Andrew Bartlett
(This used to be commit 2e85b1583b3da95db9b5b724b38748ff7d1f9efd)
2007-10-10 14:49:23 -05:00
Andrew Bartlett
35a606378d r21751: These 2 tests pass for me, so add them to the standard test script.
Andrew Bartlett
(This used to be commit 8a5b3067e9ec8d7810687cd0a4909c02bdb86d15)
2007-10-10 14:49:23 -05:00
Andrew Bartlett
548ffe7cf6 r21746: We don't link in this file any more.
(This used to be commit 123ae858c77c2507bdac6a93be1e2932a3fd7375)
2007-10-10 14:49:23 -05:00
Andrew Bartlett
5f2f653dcb r21745: indent
(This used to be commit 7841b299061ec8f4f6a14720dbe4fa7108313848)
2007-10-10 14:49:22 -05:00
Andrew Bartlett
85a11bc1bb r21744: Test more talloc failure cases.
Andrew Bartlett
(This used to be commit ddf7354986a800455b6f55c2fdbeb8bb39381716)
2007-10-10 14:49:22 -05:00
Andrew Bartlett
45be80844e r21743: Always use the 'escaped' LDAPI path.
Wait around for the server to start, so we don't try to contact it
during it's starup phase.

Andrew Bartlett
(This used to be commit f484b0a924809dd8c9861ade8d184fb44b3b5e1f)
2007-10-10 14:49:22 -05:00
Andrew Tridgell
0012f7509a r21742: reenable the smbclient test now that the d_printf bug is fixed
(This used to be commit f483f5b26a702cffb72a46e0f172d82c18471e26)
2007-10-10 14:49:22 -05:00
Andrew Bartlett
d500181515 r21741: Like starting smbd, ensure we have acutally started slapd, and it is
listening, before we continue.

Andrew Bartlett
(This used to be commit 171540e06a3eb42320238ad81bc9993e86137dc7)
2007-10-10 14:49:21 -05:00
Andrew Tridgell
793db3bc50 r21740: this fixes the real cause of the large log files we had. The problem
was we were not checking the result of a convert_string() call, and it
was giving -1. We then passed -1 to fwrite() on stdout, which on aix
and macosx wrote all of available memory to stdout :)

To fix this, replace non-printing chars with ? in d_printf if the
string cannot be converted
(This used to be commit d20102d363f4b9214e29296ad8ec45c8d95614b5)
2007-10-10 14:49:21 -05:00
Andrew Bartlett
41a72a506f r21739: Make it easy to change the log level for the slapd processes, and have
the logs go to a file.

Andrew Bartlett
(This used to be commit 9aaa19319718a5a8fcc1df066cbce67eaa3431d8)
2007-10-10 14:49:21 -05:00
Andrew Bartlett
4362ce99ec r21737: Print the error strings in the ejs ldb test.
(This used to be commit fed42cf5a359e8dcbabd82dba5b18058260ddc07)
2007-10-10 14:49:21 -05:00