Jelmer Vernooij [Thu, 6 Oct 2005 20:53:55 +0000 (20:53 +0000)]
r10788: - Give unions a name
- Check initialisation function return value
(This used to be commit
ebb8e75ebd572d62bdb3615d41c210bcc918fa41)
Jelmer Vernooij [Thu, 6 Oct 2005 20:07:53 +0000 (20:07 +0000)]
r10787: Fix silly nodiscriminant-issue
(This used to be commit
43a5c863bf81af9b8415b6ccf8a386c36d4fa7f9)
Stefan Metzmacher [Thu, 6 Oct 2005 14:44:37 +0000 (14:44 +0000)]
r10768: add a function to create a stream_connection from an already
existing socket connection, that's used for protocols
which switch the client/server roles inside a session
metze
(This used to be commit
d4b4d963353e6986da5b42680739329069f5affe)
Stefan Metzmacher [Thu, 6 Oct 2005 14:38:07 +0000 (14:38 +0000)]
r10766: - make it possible to mark a wrepl_request as send only,
used for WREPL_REPL_INFORM* messsages
- make it possible to close the connection after a request was send
used for WREPL_ASSOCIATION_STOP
- fix the torture test that tests the assoc context handling
between connections, you can issue a request and get the reply
on another connection, I think we should not implement that in our server
code, as I think it's a security hole, you can cause a windows server
to send the replies to someone another client, that doesn't wait for data,
and as there're no massage_id in the protocol the client would be confused
by a replies that doesn't belong to a query
metze
(This used to be commit
dfc95de8fa7ded8ea92cafe58cf86efcc7920156)
Jelmer Vernooij [Thu, 6 Oct 2005 11:57:25 +0000 (11:57 +0000)]
r10765: Actually use VALS() setting for enums
(This used to be commit
6b33e3eedd13ade5c7c9f4b5062e8b8f919fe39c)
Andrew Bartlett [Thu, 6 Oct 2005 11:15:20 +0000 (11:15 +0000)]
r10764: To match Win2k3 SP1, we need to set an anonymous user token for
schannel connections.
Test for Win2k3 SP1 behaviour in RPC-SCHANNEL.
Andrew Bartlett
(This used to be commit
1c3911374ec65e4770c2fe9109d7b7d3ecd99f6a)
Andrew Bartlett [Thu, 6 Oct 2005 10:29:28 +0000 (10:29 +0000)]
r10763: PROOF of the single, easily understood cause of all of our schannel PAIN!
This test currently passes against Win2k3 SP0, but not SP1. The
problem was not a convoluted series of changes in policy handles, but
a simple rule that schannel logins would be regarded as ANONYMOUS not
SYSTEM.
Andrew Bartlett
(This used to be commit
e843a7fcba496b91b014ec1bff2f2dfb2a2fcdb1)
Stefan Metzmacher [Thu, 6 Oct 2005 07:26:05 +0000 (07:26 +0000)]
r10761: we need to use a pointer to a nbt_name to fix compiler warnings, because we can
only use a pointers to unknown types in proto.h
metze
(This used to be commit
2f46e54e1bcf43f1bee062ff9a21e646cc3676e9)
Stefan Metzmacher [Thu, 6 Oct 2005 07:04:36 +0000 (07:04 +0000)]
r10760: remove only one star from the pointers, and not from the stars that
come from the array nesting
this fixes a compiler warning and but in the eventlog.h,
where the idl uses nstring strings[num_strings]
metze
(This used to be commit
c4a252bd4678ef991705aaaf91c03c697f2f568e)
Andrew Tridgell [Thu, 6 Oct 2005 06:57:09 +0000 (06:57 +0000)]
r10759: make modules easier to write by allowing modules to only implement the
functions they care about, instead of all functions. This also makes
it more likely that future changes to ldb will not break existing
modules
(This used to be commit
45f0c967b58e7c1b2e900a4d74cfde2a2c527dfa)
Andrew Tridgell [Thu, 6 Oct 2005 06:01:56 +0000 (06:01 +0000)]
r10757: remove the proxy module (it is not complete yet)
(This used to be commit
3c5f3032fcb092545580b986e0ce58bb49e4d9cb)
Andrew Tridgell [Thu, 6 Oct 2005 05:53:46 +0000 (05:53 +0000)]
r10756: another fix for the construction of expressions from subtrees for
SUBSTRING searches. This time fix multi-part substring searches.
(This used to be commit
bf5cef6f00466fc1dc3c2864a109f1ccd92681b0)
Andrew Tridgell [Thu, 6 Oct 2005 05:41:32 +0000 (05:41 +0000)]
r10755: fixed the construction of expressions from subtrees for SUBSTRING searches
(This used to be commit
71c06778d4a3ac1ca4198071ae3351acdc0656d9)
Andrew Tridgell [Thu, 6 Oct 2005 05:25:35 +0000 (05:25 +0000)]
r10754: fixed a valgrind error for unmatched SMB replies
(This used to be commit
b714ab64fd79d5cabc39779774fae7c3861a84da)
Andrew Tridgell [Thu, 6 Oct 2005 05:24:46 +0000 (05:24 +0000)]
r10753: don't require every ldb module to implement both a search_bytree() and
a search() function, instead each module now only implements the
bytree method, and the expression based search is handled generically
by the modules code. This makes for more consistency and less code
duplication.
fixed the tdb backend to handle BASE searches much more
efficiently. They now always only lookup one record, regardless of the
search expression
(This used to be commit
7e44f9153c5578624e2fca04cdc0a00af0fd9eb4)
Andrew Tridgell [Thu, 6 Oct 2005 04:45:33 +0000 (04:45 +0000)]
r10752: make sure we set the exist status correctly for the tdb tests
(This used to be commit
e83635941c1829d8cb8c0784b7f7303c85654199)
Jelmer Vernooij [Wed, 5 Oct 2005 22:18:59 +0000 (22:18 +0000)]
r10742: Support multi-level pointers + ref pointer fixes
(This used to be commit
258b762dc62b257f99d1d859c5a3d850aba3e9fa)
Jelmer Vernooij [Wed, 5 Oct 2005 19:53:41 +0000 (19:53 +0000)]
r10739: Reduce number of calls to prs_align_custom()
(This used to be commit
ebeeec5406308d493d45b1088963a87cdb953cac)
Jelmer Vernooij [Wed, 5 Oct 2005 19:41:53 +0000 (19:41 +0000)]
r10737: Fix some alignment issues
(This used to be commit
2b4270a2e965eb5c6fe0b25d22d2977e60bb7d43)
Jelmer Vernooij [Wed, 5 Oct 2005 17:13:29 +0000 (17:13 +0000)]
r10734: Generate ptr, size, offset, and length elements in unions just once.
(This used to be commit
12bfa5d01bcb4cb9dad5167e1a3721fd68f06275)
Jelmer Vernooij [Wed, 5 Oct 2005 14:52:35 +0000 (14:52 +0000)]
r10732: Generate _ctr structures for unions
(This used to be commit
bd8fcb05003ad75f521783ad9603c923eacafc1a)
Andrew Tridgell [Wed, 5 Oct 2005 06:32:00 +0000 (06:32 +0000)]
r10726: fix to talloc_parent() from Michael O'Brien
(This used to be commit
f31a2376f3fef1cc2b40b37fb4d94a4b67eec6d4)
Jelmer Vernooij [Wed, 5 Oct 2005 00:29:47 +0000 (00:29 +0000)]
r10721: Handle allocations and primitive / deferred data correctly. In theory,
the generated output for DFS should work now (it compiles cleanly, but
I haven't tested it yet).
Not supported:
- subcontexts()
- relative pointers
- unions of pointers
- DATA_BLOB
- several other things
Also still need to do:
- Remove some spurious spaces in the output
- Do range() checking
Example output is still available at http://samba.org/~jelmer/pidl_samba3/
(This used to be commit
e2d7e382bb645f1bddd2047669bed10f121b59d2)
Jelmer Vernooij [Tue, 4 Oct 2005 21:42:39 +0000 (21:42 +0000)]
r10719: Remove __FUNCTION__ macro as it might not be available at all systems
(pointed out by John E. Malmberg)
(This used to be commit
3169bbc15703b39943a11939e9dcccb2a9b4ad5d)
Jelmer Vernooij [Tue, 4 Oct 2005 21:25:18 +0000 (21:25 +0000)]
r10718: Another large set of small improvements. All generated files compile
without warnings now. The only things left to do that are
required for DFS:
- add allocation of arrays in marshalling phase
- handling primitive and deferred data in embedded structures / unions.
Example output is again available from http://samba.org/~jelmer/pidl_samba3/
(This used to be commit
9fe724f6fb026d95306587f696c065f348aaf219)
Jelmer Vernooij [Tue, 4 Oct 2005 19:38:35 +0000 (19:38 +0000)]
r10717: Another bunch of small updates. All generated files except parse_dfs.c
compile now when generated from Samba4's dfs.idl.
(This used to be commit
2b315b1942e77640eca8e0a3347b2a9ed1920f6a)
Jelmer Vernooij [Tue, 4 Oct 2005 18:24:21 +0000 (18:24 +0000)]
r10716: Use correct Samba3 data types for strings. Also use Samba3 types
for a couple of other types (policy handles, SIDs, times)
(This used to be commit
c2527217b4b4c120d82044e65b979dd3b7d2609e)
Jelmer Vernooij [Tue, 4 Oct 2005 17:21:31 +0000 (17:21 +0000)]
r10715: More Samba3 parser generator improvements:
- Actually generate parsers for unions and structs.
- Support some more builtin types.
- Some more work on supporting arrays.
- Several other small fixes.
I've updated the example output at http://samba.org/~jelmer/
(This used to be commit
b229c033ebc7ec972b32f1b75b60a9c68a36db97)
Jelmer Vernooij [Tue, 4 Oct 2005 13:07:23 +0000 (13:07 +0000)]
r10713: Couple more updates to the Samba3 parser generators.
Unions and enums have been improved, init functions are now generated
properly, some other small improvements.
(This used to be commit
8a60e79175eb27ef9fa4b8dea72a518bbaab900f)
Andrew Bartlett [Tue, 4 Oct 2005 12:04:10 +0000 (12:04 +0000)]
r10712: Use data_blob_talloc, thanks to valgrind for finding the errors.
Andrew Bartlett
(This used to be commit
1f6fec8e6b0845ae6000eeda65641435fb18c9e3)
Andrew Bartlett [Tue, 4 Oct 2005 12:02:52 +0000 (12:02 +0000)]
r10711: An error of 'user exists' is not an error, just an indication of how
the join was processed.
Andrew Bartlett
(This used to be commit
0d93f11c894927a9ab69f7a31b9fbedde9d698b6)
Andrew Tridgell [Tue, 4 Oct 2005 10:18:07 +0000 (10:18 +0000)]
r10709: fixed a crash bug rather similar to the one volker found in the dcerpc
code, where a stream_terminate_connection() while processing a request
can cause a later defererence of the connection structure to die.
(This used to be commit
efbcb0f74176058a74d7134dae4658b891fc6f16)
Andrew Tridgell [Tue, 4 Oct 2005 05:41:05 +0000 (05:41 +0000)]
r10708: a bit more error checking in the idap ldb backend
(This used to be commit
63ebaad393e38b28c8f97f33e2b22f2445733405)
Andrew Tridgell [Tue, 4 Oct 2005 01:51:55 +0000 (01:51 +0000)]
r10706: split out the irpc server functions in the NBT server, so the mainline
NBT server code remains reabable. Also fixed the copyright header to
include Volker, as he wrote the getdc server function
(This used to be commit
a973197d3e0045a76a2f14153f5541b9e36e6c8a)
Andrew Tridgell [Tue, 4 Oct 2005 01:43:24 +0000 (01:43 +0000)]
r10705: fixed a crash bug in the getdcname irpc server for winbind. The
problem was that the return string was declared as:
[out] astring dcname
which means "this is a non-NULL string". The server code sometimes
returned NULL however (on getdc lookup failure), which caused the NDR
marshalling code to crash. When you declare a non-pointer return value
you are promising that the value can never be NULL.
The trivial fix is to use:
[out] astring *dcname
which leaves the API alone, but includes a pointer in the wire format,
which in turn means it is valid to send a NULL string as a response.
(This used to be commit
e39bac61960f6ce8957f148a482e39499a8e9096)
Andrew Tridgell [Tue, 4 Oct 2005 01:35:22 +0000 (01:35 +0000)]
r10704: don't try to free the netlogon pipe twice
(This used to be commit
2c3a9f04db5d61305f4eca8b44e33c2dd15a6dc4)
Andrew Bartlett [Tue, 4 Oct 2005 01:02:06 +0000 (01:02 +0000)]
r10703: Add a new user account, change the password and test it in the SAMLOGON test.
The semantics for the user account are very odd, the old password is
still valid, but the session keys appear to be blanked out.
Andrew Bartlett
(This used to be commit
bbfaf4821d81116efa91313655acb75d6f577953)
Andrew Bartlett [Tue, 4 Oct 2005 01:01:07 +0000 (01:01 +0000)]
r10702: Fix a silly error that caused a rejoin/delete in the torture code to fault...
Andrew Bartlett
(This used to be commit
0fa6d040f287dbf6b0588e3507d53037a04f85d4)
Andrew Bartlett [Tue, 4 Oct 2005 00:59:59 +0000 (00:59 +0000)]
r10701: Ensure we return the right user handle.
Andrew Bartlett
(This used to be commit
732b247a498e0b90b9f0c711baaac51ad6402496)
Andrew Tridgell [Tue, 4 Oct 2005 00:46:31 +0000 (00:46 +0000)]
r10700: removed volkers temporary timer hack now that freeing the netlogon
pipe is safe while inside a rpc callback
(This used to be commit
5d752a519416c7a0c8c7d166f43eadc75cb5c37f)
Andrew Tridgell [Tue, 4 Oct 2005 00:43:16 +0000 (00:43 +0000)]
r10699: fixed the dcerpc code so that you can shutdown the pipe safely from
within a callback on the pipe. This should fix a problem volker
encountered with winbind. The fix invoolves making the recv_data
handler free the memory for a packet, instead of having the transport
layer free it after calling recv_data. When the transport layer freed
it, it had no way of knowing if the callback had shutdown the pipe, so
it had no way of knowing if it could safely use the pointer.
Also changed the pipe shutdown hook for the smb transport to use an
async SMB close. This ensures that when you shutdown the pipe, you
don't block waiting for the server to ack the close of the pipe fnum.
(This used to be commit
c87d7f580e39245db181605f50883de07dd9632e)
Jelmer Vernooij [Mon, 3 Oct 2005 23:54:44 +0000 (23:54 +0000)]
r10698: Fix support of enums in switch_type() in the ethereal parser generator
(This used to be commit
9fac8dfeb393212e16be7156de466077bc90232d)
Andrew Bartlett [Mon, 3 Oct 2005 23:46:21 +0000 (23:46 +0000)]
r10697: Change the torture join code to return a credentials structure, as
that is what most of the callers want anyway.
Remove and re-add the account for the torture case, rather than just
modify it.
Test with a user account (needs work to change the password).
Andrew Bartlett
(This used to be commit
38bebef02454164cbe882347d80e03abee656205)
Andrew Bartlett [Mon, 3 Oct 2005 23:42:59 +0000 (23:42 +0000)]
r10696: Return the realm to the caller, not NULL...
Also return an indication of if the join was of a new account, or
reworking an existing account.
Andrew Bartlett
(This used to be commit
b6e4b36c4f1f90e42dd0543538956a1d89e3724b)
Andrew Bartlett [Mon, 3 Oct 2005 23:39:59 +0000 (23:39 +0000)]
r10695: strupper() of NULL should be NULL, not panic.
Andrew Bartlett
(This used to be commit
b1bcc0dc0b3c6d4d931100dee21ba16cb5521978)
Jelmer Vernooij [Mon, 3 Oct 2005 23:27:33 +0000 (23:27 +0000)]
r10694: Add some work I did this afternoon on getting pidl to output Samba3
RPC parsers. Currently the following files can be generated:
- include/rpc_BASENAME.h
- rpc_server/srv_BASENAME.c
- rpc_server/srv_BASENAME_nt.c (template only, user has to fill in functions)
- rpc_client/cli_BASENAME.c
- rpc_parse/parse_BASENAME.c
So far, I have been working on getting DFS working. Currently still to do
(all in rpc_parse/parse_BASENAME.c):
- Proper handling of declarations
- Proper handling of scalar/buffer parts of structs and unions
- Subcontexts
- Proper handling of arrays
- Support for custom (non-scalar) types
I hope to have a somewhat more working version later this week.
Some files as currently generated are available from:
http://samba.org/~jelmer/pidl_samba3/
(This used to be commit
8af8eaeeef6d46f4d25ccb1d25890e1eef063e4f)
Volker Lendecke [Mon, 3 Oct 2005 17:36:49 +0000 (17:36 +0000)]
r10691: This gets half-way to wbinfo -n. It acquires an lsa pipe, and does a
queryinfopolicy. Idea is to get a consistency check between that and our
notion of the domain name and sid, and take the lsa pipe as the holder of the
central smbcli_tree that netlogon and samr use as well.
Volker
(This used to be commit
126c80aefc4f53c4ba79afc12d70602ef9055ddb)
Volker Lendecke [Mon, 3 Oct 2005 17:36:10 +0000 (17:36 +0000)]
r10690: Fix a bug that metze pointed out: Leaving the "rejecting" destructor around
prevents the memory from being freed.
Thanks,
Volker
(This used to be commit
df8eeb01f498568207a4a8d5d12348c473f41799)
Volker Lendecke [Mon, 3 Oct 2005 15:19:08 +0000 (15:19 +0000)]
r10687: Another one...
(This used to be commit
d18f7edf92e8420f30cae01649d18f0ae20a80aa)
Volker Lendecke [Mon, 3 Oct 2005 15:03:31 +0000 (15:03 +0000)]
r10686: Fix the build
(This used to be commit
a7137fd3ec2e484c8feb73fa228031c8b75107bf)
Volker Lendecke [Mon, 3 Oct 2005 14:50:07 +0000 (14:50 +0000)]
r10685: Why wait 5 seconds...
(This used to be commit
820b4180dd3c1d07dd529fcb654ea01407a481cb)
Volker Lendecke [Mon, 3 Oct 2005 14:24:53 +0000 (14:24 +0000)]
r10684: Add a nasty hack for the failure case of wbinfo -t. Tridge has a proper fix
for it pending.
Also fix a bug with timed events: Don't call the same event recursively in the
handler's inner semi-async event loop.
Volker
(This used to be commit
e38e50127a3414461578421e676a9c58c106c272)
Volker Lendecke [Mon, 3 Oct 2005 13:46:11 +0000 (13:46 +0000)]
r10683: Samba3's wbinfo -t should give the correct answer now.
Tridge, if you have time, you might want to look at the segfault I was still
seeing. Now I store the handle to the netlogon pipe in the global winbind
state and free it on the next entry into check_machacc. The problem seems to
be that talloc_free()ing a pipe struct from within a callback function on that
pipe is not possible. I think I can live with that, but it has been not really
obvious. To reproduce the segfault you might want to look at putting a
talloc_free(state->getcreds->out.netlogon) into
wbsrv_samba3_check_machacc_receive_creds. This is called from a dcerpc
callback function.
In particular if the check failed it would be nice if I could delete the pipe
directly and not post a different event to some winbind queue.
I tried to delete the pipe from a timed event triggered immediately, but this
also fails because the inner loop seems to hit the same event again, calling
it twice.
Volker
(This used to be commit
5436d7764812bb632ba865e633005ed07923b57f)
Andrew Tridgell [Mon, 3 Oct 2005 09:36:52 +0000 (09:36 +0000)]
r10682: force the free of the fd event first when a stream terminates. That ensures
destructors hanging off the stream connection don't trip more socket
events.
this should help with the problem volker described
(This used to be commit
fd8eccd5bf0c742a7809f3991101f4ac75b5e037)
Volker Lendecke [Mon, 3 Oct 2005 09:00:36 +0000 (09:00 +0000)]
r10681: Convert dcerpc_open_smb to a composite function.
Volker
(This used to be commit
42ff218ac98fab00bd58c4f50f11843ef32b4698)
Rafal Szczesniak [Sun, 2 Oct 2005 23:01:25 +0000 (23:01 +0000)]
r10680: Fix a warning.
rafal
(This used to be commit
b3b4059efeb7f5d2795b4bb93cf8ab95aad54c8e)
Rafal Szczesniak [Sun, 2 Oct 2005 19:59:24 +0000 (19:59 +0000)]
r10679: Monitor messages should be issued from usermod functions.
Also a bit of formatting.
rafal
(This used to be commit
1fefca2c172085d6bc05bfac1c10e52066e42606)
Jelmer Vernooij [Sun, 2 Oct 2005 14:29:08 +0000 (14:29 +0000)]
r10678: Add debug helper
Fix push for non-fixed length strings
(This used to be commit
821b0bb56f6d6b9df7bbdeeddc206505f3f0a7c2)
Volker Lendecke [Sun, 2 Oct 2005 10:02:35 +0000 (10:02 +0000)]
r10677: Add smb_composite_connectmulti: Send out multiple SYN packets at once, use the
first one that replies correctly.
Add a talloc context to smb_composite_connect()
Volker
(This used to be commit
6b88de182e40cb00a833c085f801fd47c92bbe94)
Volker Lendecke [Sat, 1 Oct 2005 16:36:04 +0000 (16:36 +0000)]
r10675: Connect to the DC's IPC$
Volker
(This used to be commit
c7557884843a5b2bac9e21ec81cafcaadf436bca)
Andrew Bartlett [Sat, 1 Oct 2005 01:19:12 +0000 (01:19 +0000)]
r10670: Add notes on things that are TODO in Samba4 kerberos land.
Andrew Bartlett
(This used to be commit
5b2114bb9c604e8d36887e1131175da327eabc84)
Andrew Tridgell [Sat, 1 Oct 2005 01:04:34 +0000 (01:04 +0000)]
r10669: reverted jelmers commit 10663 as it was causing lots of panics in 'make test'
I also think the method of getting rid of pstring isn't the right
one. I certainly do want to get rid of pstring/fstring, but the reason
for removing them is the use of arbitrary sized fixed length strings
on the stack and in structures. Changing to another fixed length stack
string format isn't really a win, and moving to use strncpy() is
actually worse than pstrcpy() as strncpy() has the absolutely awful
semantics of always zeroing all remaining bytes, so it ends up taking
a lot of cpu doing pointless memory writes.
I'd rather move to more use of asprintf()/talloc_asprintf() and
similar functions for dynamic string allocation.
You also have to be very careful about some of these system defined
string limits. One some systems PATH_MAX could be 64k or even larger,
which can quickly blow the stack out when you allocate a few of them.
(This used to be commit
194efd26e42d621b239052ed1fec8da916bd2144)
Andrew Tridgell [Fri, 30 Sep 2005 23:56:54 +0000 (23:56 +0000)]
r10668: added a ildap_search_bytree() function
(This used to be commit
fd6d895ebdb201ac6afaf5c8ec84d003765cdff6)
Andrew Tridgell [Fri, 30 Sep 2005 23:47:40 +0000 (23:47 +0000)]
r10667: cope with a NULL tree for base searches in ldb_search()
(This used to be commit
26ff53857802ae4a63f2b6e46c9caa7ca2fbbe89)
Andrew Tridgell [Fri, 30 Sep 2005 23:46:41 +0000 (23:46 +0000)]
r10666: - reverse the ildap ldb backend so tree based searches go through
directly, and expression based searches are converted to trees. This
makes for less conversions.
- allow the caller to supply a set of credentials via the ldb opaque
name 'credentials'. I will be using this in my ldb proxy module.
(This used to be commit
af24f3d7faac6ef74feef73a23345d8c484da07c)
Andrew Tridgell [Fri, 30 Sep 2005 23:14:30 +0000 (23:14 +0000)]
r10665: fixed some crash errors and an error encoding AND and OR operations in the expression parsing code
(This used to be commit
0d4a900ce5705856d61c6dd4ccb8fdbd049d22b7)
Jelmer Vernooij [Fri, 30 Sep 2005 23:10:20 +0000 (23:10 +0000)]
r10664: Include limits.h in replace.h for HOST_NAME_MAX
(This used to be commit
dc3dc796746de672dbf3ad0e4715e8b30ae4afb7)
Jelmer Vernooij [Fri, 30 Sep 2005 22:08:06 +0000 (22:08 +0000)]
r10663: Eliminate use of pstring
(This used to be commit
57cfbe51e61e27098fad3f9b1113c6f8f69f9a55)
Jelmer Vernooij [Fri, 30 Sep 2005 21:48:25 +0000 (21:48 +0000)]
r10662: Eliminate pstring and friends.
(This used to be commit
ecef1ee6cd0bdae2fcbff3f57edaa26eb72f3481)
Stefan Metzmacher [Fri, 30 Sep 2005 15:28:41 +0000 (15:28 +0000)]
r10653: give unknown levels a name basicly the *2 levels mean
that the update or inform should be propagaded to all servers
metze
(This used to be commit
33c7c101c024818694830ac11fefe70bd2edb1d4)
Tim Potter [Fri, 30 Sep 2005 07:30:37 +0000 (07:30 +0000)]
r10646: Hey Jelmer what do you think of this? The SConscript for the libcli
directory now looks like the config.mk file but with different
punctuation.
The only weird bit is that it creates a proto.h file for each subsystem.
(This used to be commit
09d4abecb01fa9159243cfcb33051092f92cef3b)
Andrew Tridgell [Fri, 30 Sep 2005 04:52:21 +0000 (04:52 +0000)]
r10643: increase smbd max runtime when using valgrind
(This used to be commit
c394a4a602edba49f00252d0376050c0bdc2f6a8)
Andrew Tridgell [Fri, 30 Sep 2005 03:42:07 +0000 (03:42 +0000)]
r10641: fixed the error handling on search errors in the ildap backend
(This used to be commit
e80d42933fe3cbc18cb229e47fffb9ca8068aca5)
Stefan Metzmacher [Fri, 30 Sep 2005 01:55:29 +0000 (01:55 +0000)]
r10638: - add wrepl_socket_merge() function that creates a wrepl_socket on top
of an existing socket, that is needed to handle WREPL_REPL_UPDATE
in the server, because we need to flig the connection and act as client on it
metze
(This used to be commit
131e5dfe695d427e992b840439743f880b14d82d)
Stefan Metzmacher [Fri, 30 Sep 2005 01:49:32 +0000 (01:49 +0000)]
r10637: use the correct memory context in the ndr_pull_* function
to build the talloc hierachie correct
metze
(This used to be commit
afd9dda5773d381550bdb061a8e345b33e1fc371)
Rafal Szczesniak [Thu, 29 Sep 2005 22:37:15 +0000 (22:37 +0000)]
r10636: Formatting for better readability.
rafal
(This used to be commit
ef29863d999089c47140bd37731c60659a200421)
Rafal Szczesniak [Thu, 29 Sep 2005 22:36:41 +0000 (22:36 +0000)]
r10635: Formatting for better readability.
rafal
(This used to be commit
7b3a4096b5922e4a98ea0a74c0b92bc10d18cddd)
Rafal Szczesniak [Thu, 29 Sep 2005 22:34:57 +0000 (22:34 +0000)]
r10633: Formatting.
rafal
(This used to be commit
0e45dc3bac0e699b2da5b7f8df9d4bf7bd80a0f5)
Rafal Szczesniak [Thu, 29 Sep 2005 22:34:21 +0000 (22:34 +0000)]
r10631: Formatting.
rafal
(This used to be commit
426797f7b0d0321f6842db0b8d94c193726e8008)
Stefan Metzmacher [Thu, 29 Sep 2005 22:06:24 +0000 (22:06 +0000)]
r10627: - use a wrepl specific enum for the node type
- the unknown flag 0x10 seems to mean that this name was localy registered on this
currently asked server, that flag is not present in replica records
metze
(This used to be commit
ba3685c41dc934692bd653f4fe9c0ee451146c40)
Stefan Metzmacher [Thu, 29 Sep 2005 14:02:57 +0000 (14:02 +0000)]
r10610: forgot one file in the last commit:
make wrepl_nbt_name a scalar type that is another
wire representation of struct nbt_name
give wrepl_name->flags a meaning
metze
(This used to be commit
5fa13d6c2bd4cff9540ee97b3aa4c8a9c8e51fc5)
Stefan Metzmacher [Thu, 29 Sep 2005 14:00:07 +0000 (14:00 +0000)]
r10608: - fix hierachical memory handling in ndr_pull_nbt_name
- add wrepl_nbt_name scalar type and do the pull/push in the ndr layer
instead of the caller
- give the flags and group_flag in the wrepl_name a meaning
metze
(This used to be commit
b98efc2905e1147eb97111b46a877bdb9d8dd154)
Jelmer Vernooij [Thu, 29 Sep 2005 12:00:49 +0000 (12:00 +0000)]
r10605: Forgot one file...
(This used to be commit
441419a08f0845af2b4c8023e1e5bcfda24a6d62)
Jelmer Vernooij [Thu, 29 Sep 2005 11:51:06 +0000 (11:51 +0000)]
r10604: Put in the new registry "patchfile" code (similar to ldif
for LDB); not finished yet.
(This used to be commit
b405b27ba4bf4ddbaff9ca58926d94d1b2fd09f6)
Andrew Tridgell [Thu, 29 Sep 2005 10:18:26 +0000 (10:18 +0000)]
r10603: neaten up the ldb module initialisation code
(This used to be commit
8e7c4c98a7b4fd814f298fba1b6b686cb58339f8)
Andrew Bartlett [Thu, 29 Sep 2005 00:48:48 +0000 (00:48 +0000)]
r10599: Use localhost again for now, until I trace where we are leaking name lookups.
Andrew Bartlett
(This used to be commit
23f834dd191c82b632333265a59b5e6d18d5426b)
Andrew Bartlett [Thu, 29 Sep 2005 00:28:46 +0000 (00:28 +0000)]
r10598: Factor out common code, in preperation for a move elsewhere.
Andrew Bartlett
(This used to be commit
0d757b169a3d521a0d228bed51aa96cf199d5c42)
Andrew Bartlett [Thu, 29 Sep 2005 00:03:43 +0000 (00:03 +0000)]
r10597: And add the .mk files for the new credentials subsystem.
Andrew Bartlett
(This used to be commit
51a0275a0e7ffc940f2403f3c74a00b3936a07f4)
Andrew Bartlett [Thu, 29 Sep 2005 00:02:38 +0000 (00:02 +0000)]
r10596: Move the credentials code into it's own subsystem, and push it under auth/
Andrew Bartlett
(This used to be commit
2e76a4b8efd59c496d64241d654538d3222545c6)
Andrew Bartlett [Wed, 28 Sep 2005 23:04:01 +0000 (23:04 +0000)]
r10595: Use a server name of 'localtest' not 'localhost', so we can move to
testing kerberos.
Andrew Bartlett
(This used to be commit
a67b87cb6eba6548c4a74d7b46dd31d109fc538b)
Jelmer Vernooij [Wed, 28 Sep 2005 22:16:30 +0000 (22:16 +0000)]
r10594: Add initial framework for lib/registry torture tests
(This used to be commit
985c6a8fcc9977553d714a7d5e272b0791d45d1e)
Andrew Bartlett [Wed, 28 Sep 2005 22:16:08 +0000 (22:16 +0000)]
r10593: Add printf attribute
Andrew Bartlett
(This used to be commit
ba11061b96e26900fd09c32b95c2af934c1e2070)
Jelmer Vernooij [Wed, 28 Sep 2005 21:54:29 +0000 (21:54 +0000)]
r10592: Add "adfgets()" function, which allocates and reads a line from a fd.
Also add torture tests for this function and file_{load,save}. I've hardcoded
a file name here.. should I handle that neater somehow?
(This used to be commit
8fa383f182f1c4479979455968dd690edc0117ea)
Jelmer Vernooij [Wed, 28 Sep 2005 19:56:21 +0000 (19:56 +0000)]
r10588: Remove more unused files, macros
(This used to be commit
d2f80c0457f7404b2cac9df59a400130e9ad025f)
Jelmer Vernooij [Wed, 28 Sep 2005 18:47:06 +0000 (18:47 +0000)]
r10587: Remove unused constants
(This used to be commit
b65c9dc607bf229f4f6f7e2112f88f5a08e9feb5)
Jelmer Vernooij [Wed, 28 Sep 2005 18:18:09 +0000 (18:18 +0000)]
r10586: Add MergedObject() builder. Default to Library() rather
then StaticLibrary()
(This used to be commit
b53313dc517986c69a4e4cb8fe3885b696f8faa1)
Jelmer Vernooij [Wed, 28 Sep 2005 14:42:04 +0000 (14:42 +0000)]
r10582: Nicer output (try to avoid linewraps)
(This used to be commit
908b88843ffe1026341166d0338a835121c8e641)
Jelmer Vernooij [Wed, 28 Sep 2005 14:38:07 +0000 (14:38 +0000)]
r10581: Remove some unused globals + make static
(This used to be commit
236bd1b97f6e3b97739839fd043a2388384e1abc)
Jelmer Vernooij [Wed, 28 Sep 2005 14:35:51 +0000 (14:35 +0000)]
r10580: More generic approach for adding endpoints
(This used to be commit
0ef7fe6f4c979dcc3a0ab268253e493d8e929dd7)
Jelmer Vernooij [Wed, 28 Sep 2005 14:12:09 +0000 (14:12 +0000)]
r10579: str_list_make() can return NULL
(This used to be commit
f547ab4644fd1c8ae2e44a25e874abf35e02d986)