summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r6246: stop waiting when we get a replyAndrew Tridgell1-3/+6
(This used to be commit 8b9a5d8336da43619fc1ea8f081d5ade98f0599b)
2007-10-10r6245: receive and parse the GETDC response in the NBT-DGRAM test. The testAndrew Tridgell5-4/+56
now tries to bind to port 138 if possible, so if you run it as root and smbd/nmbd is not running then it works against windows servers (This used to be commit 52ccdb79bc922be52c24dd393323dbbee83a2aea)
2007-10-10r6238: Ensure if realloc fails on an internalJeremy Allison1-3/+8
tdb we fail gracefully. Jeremy. (This used to be commit d69f7c05468ae54e0474b188fedabe14e7297d53)
2007-10-10r6229: Back out these changes ...Richard Sharpe2-16/+2
(This used to be commit 321fbae51267153102e47845736f2c3a5abfe0be)
2007-10-10r6226: A couple of small typos ...Richard Sharpe1-2/+2
(This used to be commit d2c5320a18821439e49d3f7bffebc47129b8b057)
2007-10-10r6223: added a bit more datagram infrastructure and the beginnings of a testAndrew Tridgell8-13/+291
suite. The NBT-DGRAM test does a UDP/138 netlogon request, to which a windows server sends a reply, but the windows server sends the reply to the wrong port (it always sends to 138), so the test suite doesn't see it. (This used to be commit a7634625dbc944dd8256a822be290010f341a571)
2007-10-10r6222: fixed the socket wrapper code for getsockname()Andrew Tridgell1-1/+1
(This used to be commit 11e245a3f0e1523eba3a042db140dec8732aa985)
2007-10-10r6219: This change allows us to fall back to authenticating withoutRichard Sharpe2-2/+16
DCERPC_SCHANNEL_128 if we fail. Thus, it allows us to work with Windows NT DCs ... (This used to be commit 3034b226705c4736d57c9bf4e9470c4d44c72e8e)
2007-10-10r6215: Add test for LookupNames. Fix CreateUser2 test.Tim Potter1-32/+9
(This used to be commit e3a69a73222ae3277c2d10d33c5c71b7a14da789)
2007-10-10r6214: Fix typo in DomainHandle.OpenUser() function.Tim Potter1-3/+22
Implement DomainHandle.LookupNames() function. UserHandle.DeleteUser() closes the handle so don't try and close it when the GC destroys the class instance. (This used to be commit 57680163bcc1aa5c707a64dcd1d0998dbc9f0659)
2007-10-10r6213: Add %array_functions for struct samr_String so we can create andTim Potter1-0/+1
access arrays of them. (This used to be commit fc2b73d4d75f383108632935ba047890c816b283)
2007-10-10r6212: Treat uint8 and int8's as integers instead of chars. Swig maps a charTim Potter1-2/+2
to a string when we really want an integer. (This used to be commit 86c62b92e84a6eb1e756a7125777587583a9276e)
2007-10-10r6211: Use cli_credentials_set_{domain,username,password}() to fill inTim Potter1-1/+18
command line arguments for credentials typemap. Neat! (This used to be commit a3e7d71463053101e743a930f2648269d63ecaca)
2007-10-10r6210: Call cli_credentials_set_conf() when initialising credentials inTim Potter1-1/+1
cli_credentials typemap. (This used to be commit 1c88e71ec645d10648f01e0405d29a4a83bc4036)
2007-10-10r6209: started added code to support mailslot requests over UDP/138Andrew Tridgell5-14/+384
datagrams. This adds the IDL to parse mailslot packets, plus mailslot dispatch and listener registration code. mailslots are used for UDP/138 browse and netlogon packets (This used to be commit f20e7e5200de736b3451d748ed716be638f93502)
2007-10-10r6208: Add cli_credentials support for swig wrappers. For the moment itTim Potter4-8/+12
only does anonymous connections. (This used to be commit b09a4723539235fc924134aa50fc4aed040afb33)
2007-10-10r6207: - clean up source topdirStefan Metzmacher21-1120/+4
- move provision stuff to setup/ - remove unused scripts metze (This used to be commit c35887ca649675f28ca986713a08082420418d74)
2007-10-10r6206: go baack 10 revisions to get DatabaseDeltas, this shows that the bdc onlyStefan Metzmacher1-1/+5
need one call to get in sync again (except something like NT_STATUS_MORE_ENTRIES is returned) also the pdc only need to know the current state values metze (This used to be commit f4e12b38937bd8c16fd1a8b13401a65565d4bd00)
2007-10-10r6197: fix for my last commit, I removed SPOOLSS_ARCHITECTURE, which was ↵Stefan Metzmacher1-2/+2
"Architecture" (sorry richard:-) disable lookup for DefaultSpoolDirectory until, I have fixed the parsing when WERR_MORE_DATA is returned metze (This used to be commit d5993337b814560cd59d8d08b30fe31e2fb9fd28)
2007-10-10r6196: Make the comparisons consistent with in the same expression.Richard Sharpe1-1/+1
(This used to be commit 6f7337163e2eaae2d24ccebcd31787e48f543fbf)
2007-10-10r6195: I think Metze meant SPOOLSS_ARCHITECTURE_NT_X86, but I could be wrong.Richard Sharpe1-1/+1
(This used to be commit 85c2b8b9447efdcefe16517a5509357262c6229c)
2007-10-10r6194: - fix some spoolss_*Form names and typesStefan Metzmacher2-52/+142
- fix GetPrinterData(), look inside the datablob - add idl for RemoteFindFirstChangeNotify(), without meaning yet, just to not return a DCERPC_FAULT when receiving this request metze (This used to be commit 92f3d5bd9c700032612ac20dc7635730c555c4da)
2007-10-10r6193: we don't need to store the handle type here,Stefan Metzmacher2-3/+1
it's in handle->wire_handle.handle_type metze (This used to be commit 539286bc9fa1638dd564fb2f8ba924a0ede8db08)
2007-10-10r6192: remove handle->destroy function pointer, this should be done by ↵Stefan Metzmacher2-5/+0
talloc destructors now metze (This used to be commit 862226f557dddf989cbbdbfd5aa2bf6f2312fdf0)
2007-10-10r6191: fix spoolss_Enum* push codeStefan Metzmacher1-3/+9
metze (This used to be commit e66aa87f148d04f4c44b08555345600b8a6278d4)
2007-10-10r6190: fix gensize on unionsStefan Metzmacher1-1/+2
metze (This used to be commit 661e64e9ce91e8029e1a36ef6825e56e5460e32b)
2007-10-10r6189: move function to the right placeStefan Metzmacher1-8/+5
metze (This used to be commit 08d22a07cfa84fe959320058e8574c8983e1d71f)
2007-10-10r6188: correct fix for rev 6182Stefan Metzmacher1-6/+2
we should start with an empty switch_list in ndr_print as we do for ndr_pull/ndr_push metze (This used to be commit 848f553117b369fc6697086b3f7d36dd17b60f5b)
2007-10-10r6187: 1. Make sure that we don't try to delete . and .. in a more portable way.Richard Sharpe1-10/+34
2. Also, don't try to delete directories. I am not entirely happy with this patch, and the fact that there is a define for HAVE_SYS_STAT_H suggests that there are some systems for which stat will not be defined, which means that the patch is not entirely portable. (This used to be commit fe7ddad7d44a49b2efe81cb3d0a5b2d09d1892ab)
2007-10-10r6185: added LIBCLI_DGRAM to the list of libs to be built as part of LIBCLIAndrew Tridgell2-1/+9
(This used to be commit 47e1452da08d06b0b9f15545b3b2b0631f15bac2)
2007-10-10r6184: the beginnings of the libcli/dgram/ library, and the dgramAndrew Tridgell7-3/+319
server. Currently just listens on port 138 and parses the packets (using IDL like the rest of NBT). This allows me to develop the structures and test with real packets (This used to be commit 10d64a525349ff96695ad961a3cfeb5bc7c8844f)
2007-10-10r6182: Jelmer, I think we need to initialize the switch_list, else we areRichard Sharpe1-0/+4
crash city. (This used to be commit 6526f21fb72094e8ff62bfc2693a49a3b1679a95)
2007-10-10r6181: Use ndr_print_set_switch_value() here as well.Jelmer Vernooij1-1/+2
(This used to be commit 4da9d1d5c277eb65d0fe5bf5c4690531dcfb85de)
2007-10-10r6180: Use token_lists for storing switch valuesJelmer Vernooij3-24/+24
(This used to be commit f66e11137eed69b44f0739f1064625cbd96243bd)
2007-10-10r6179: - add new spoolss tests for all spoolss_Enum*() calls which didn't needStefan Metzmacher4-9/+951
a handle as parameter, EnumPorts EnumPrinterDrivers EnumMonitors EnumPrintProcessors EnumPrinters we now do cross checks between the different info levels and sore the results in a global context, so that we later can add cross checks between the different object types - add idl for EnumMonitors and EnumPrintProcessors metze (This used to be commit 92a3721bc7a28d521090b10eb3b1eed089036432)
2007-10-10r6178: fix ncacn_np connection without sign or seal against NT4Stefan Metzmacher1-1/+4
metze (This used to be commit d92100fcc2066454df441a1ea2c7b9940fa19fa1)
2007-10-10r6177: Use here documents instead of print() statements to generate theTim Potter1-144/+164
Makefile fragments for the build system. This allows the file to be edited without using quite as many backslashes. Some are still necessary for interpolation of perl variables though. I've diffed the new Makefile against the old and there are only some extra newlines as a result of making things more consistent. (This used to be commit 3808c5e092e1a11d453d0a043818a10e28c78961)
2007-10-10r6165: fixed up the userinfo composite code. Fixes include:Andrew Tridgell3-71/+53
- talloc should always be done in the right context. For example, when creating the userinfo_state structure, place it inside the composite structure, not directly on the pipe. If this isn't done then correct cleanup can't happen on errors (as cleanup destroys the top level composite context only) - define private structures like userinfo_state in the userinfo.c code, not in the public header - only keep the parameters we need in the state structure. For example, the domain_handle is only needed in the first call, so we don't need to keep it around in the state structure, but the level is needed in later calls, so we need to keep it - always initialise [out,ref] parameters in RPC calls. The [ref] part means that the call assumes the pointer it has been given is valid. If you don't initialise it then you will get a segv on recv. This is why the code was dying. - don't use internal strucrure elements like the pipe pipe->conn->pending outside of the internal rpc implementation. That is an internal list, trying to use it from external code will cause crashes. - rpc calls assume that rpc call strucrures remain valid for the duration of the call. This means you need to keep the structures (such as "struct samr_Close") in the userinfo_state strucrure, otherwise it will go out of scope during the async processing - need to remember to change c->state to SMBCLI_REQUEST_DONE when the request has finished in the close handler, otherwise it will loop forever trying to close Mimir, please look at the diff carefully for more detailed info on the fixes (This used to be commit 01ea1e7762e214e87e74d6f28d6efeb6cdea9736)
2007-10-10r6164: More comments in the code.Rafal Szczesniak1-2/+49
rafal (This used to be commit 01cbed98b32c2050a665aec51a99288e4afb29c1)
2007-10-10r6159: Move some more general ndr stuff (alignment calculations) to ndr.pmJelmer Vernooij2-106/+85
(This used to be commit f4d550c348e9604439f07329ddbc3cf65891d578)
2007-10-10r6150: fixed a few socket_wrapper bugs.Andrew Tridgell1-35/+80
- now works properly with UDP, so the NBT tests work - fixed byte order in a few places - connect() now fails to non-localhost - fixed some places that tested for < 0, which should be == -1 (most syscalls return -1 on error, not "negative") (This used to be commit 61e1eea0fdb13577de2506472c5443ee92656263)
2007-10-10r6148: Add a showflags target to display the various compiler flags a laTim Potter1-0/+7
showlayout. There seems to be a bunch of -D and -I stuff in LD_FLAGS which I don't think should be there. (This used to be commit 87f88aaceeacf57b4a8a31e005894cbff4a21779)
2007-10-10r6147: The maxfd was being recalculated on every event loop, which made usAndrew Tridgell1-1/+0
less scalable. It only needs to be recalculated when we the highest fd is destroyed. (This used to be commit 568b9175f329f594404c9091ee5946670c40697e)
2007-10-10r6144: Apparently there are more systems that have AF_UNIX thenJelmer Vernooij1-6/+6
AF_LOCAL (we already use AF_UNIX in other places). (This used to be commit 88d93b9782766ab1159a233307ef508881caa615)
2007-10-10r6143: Put compression support in the subcontext handling functions ratherJelmer Vernooij1-45/+36
then at the element level. (This used to be commit fac5edd2b71759c82232713f77ab91b41ed09250)
2007-10-10r6140: - Add configure option for enabling the socket-wrapper library, so itJelmer Vernooij4-24/+50
can be enabled on the buildfarm without requiring --enable-developer - Support tcp and udp being used on the same port - FIx some portability issues (should fix the build on some hosts on the buildfarm) - Ignore setting TCP_NODELAY on (semi-)TCP sockets rather then complain about it not being supported (saves us from a couple of error messages for each connection that is opened) (This used to be commit 443fb7853b8d3cb516c442fdc595038544b75738)
2007-10-10r6139: Move socket_wrapper to a seperate directoryJelmer Vernooij6-9/+9
(This used to be commit a2ef9225f15e369af7b884262b997ab321fd24d6)
2007-10-10r6135: - make use of the new dom_sid28 typeStefan Metzmacher1-11/+11
(this fixes parsing of w2k blob, which some times have random gargabe data in the sid buffer) - make the names of the DsReplicaCoursor*Ctr* 's more consistent and fix DsGetNCchangesCtr6 parsing metze (This used to be commit 75e427dca9f6b129ead100f7265794189f257c67)
2007-10-10r6134: add a new type dom_sid28 which is a 28 byte fixed buffer with a ↵Stefan Metzmacher2-1/+68
dom_sid in it metze (This used to be commit 460d1b089e494efaeb0c8c7fd4601a9ef57123c5)
2007-10-10r6132: allow up to 15 sub_auth in a dom_sidStefan Metzmacher1-1/+1
(tridge: asked me for that commit) metze (This used to be commit 2791de069a571aaa53283d68b5cc957d82e7ce41)