summaryrefslogtreecommitdiff
path: root/source4/libnet
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r16226: Fixes for various segfault bugs found against a buggy Samba4. WithAndrew Bartlett2-2/+15
the current API we need to check both that the RPC didn't fault, and that the query succeeded. Also print the right things in debug messages. Andrew Bartlett (This used to be commit d18e515391f8f5038e9aaaba596099052011b53a)
2007-10-10r16211: Refactor domain_opened function a bit and add a few comments.Rafal Szczesniak1-28/+60
rafal (This used to be commit d8113fa5e19570fcf67a7d3cd8a0d8ab12ef147e)
2007-10-10r15996: Implement a missing monitor message.Rafal Szczesniak1-1/+10
rafal (This used to be commit 37ec35672e23c8a3e3f1f44d2fce69a0729519fb)
2007-10-10r15940: Add new field to pass username to libnet_rpc_userinfo function.Rafal Szczesniak1-0/+1
rafal (This used to be commit 16b4b4dbb7aa1a239e680457d3cb4e3db3d38dc7)
2007-10-10r15938: Extend userinfo call with one optional stage - lookup forRafal Szczesniak1-19/+84
username to resolve it to a rid, when a sid argument is not explicitly provided. rafal (This used to be commit 9bc4ef267c3d6720422e2a2f7f2c1572ba694d2d)
2007-10-10r15937: Currently, we don't use nor support distinguished call levels, so removeRafal Szczesniak1-15/+0
them until we do such thing. There's no need to complicate things more at the moment. rafal (This used to be commit 94fb191e6b862a6b05bc962c56a0a3d34a67f6b7)
2007-10-10r15920: Move userman.c and userinfo.c definition into respectiveRafal Szczesniak5-74/+102
header files instead of composite.h rafal (This used to be commit 8cafbe7afedc90346cbd0cbedc2571143ae3dbc6)
2007-10-10r15919: - Create function checking prerequisites like valid domainRafal Szczesniak1-63/+175
opened and rpc pipe connected. Each user management routine calls the function before doing their job - Initial work on user modify functionality (does nothing yet) rafal (This used to be commit 51501cdeef0f253d52112a368a07815ef1fbccca)
2007-10-10r15858: - initialize s->r.outStefan Metzmacher1-13/+23
- don't check for mem_ctx, ctx and r, we should crash when they're wrong as it's a programmer error! - pass the error string to the caller metze (This used to be commit 5f65447f5dfafa6771a532c86fe2f87287c5467d)
2007-10-10r15857: don't clear the error string after setting itStefan Metzmacher1-4/+6
metze (This used to be commit d273d8ae52255170932405f488876510e02f5813)
2007-10-10r15850: another spot where r->out.error_string can be uninitialiedAndrew Tridgell1-0/+1
(This used to be commit 4898b29c32737b2cf425d5822da2f395f70ca6e2)
2007-10-10r15849: ensure we don't try to talloc_steal() an invalid error_string inAndrew Tridgell1-0/+1
r->out on error (This used to be commit 1d1d2aaeae643e01bfd51d69cba741557543e5bb)
2007-10-10r15726: Comments and a couple of minor formattings in the code.Rafal Szczesniak1-57/+121
rafal (This used to be commit 2ab8343e99a21bddd61492722bd1d249ab04a306)
2007-10-10r15667: Make sure the rpc pipe pointers are zeroed duringRafal Szczesniak1-0/+8
initialisation of libnet_context. This fixes a valgrind warning. rafal (This used to be commit b751eb1102f3169b8eb66bae465cf79a44597bbe)
2007-10-10r15666: Fix a silly typo.Rafal Szczesniak1-1/+1
rafal (This used to be commit dc93aef09a59b101ca6180fbc431500a6fd7da02)
2007-10-10r15663: Turn libnet_DeleteUser into async function and fix subtle bug probablyRafal Szczesniak2-82/+130
causing ejsnet test to segfault. Also, cleanup a bit and add monitor fn pointer to internal user delete libnet function. Time for some comments now. rafal (This used to be commit 89e9a887197380f13e0668e845d00e1050259331)
2007-10-10r15625: Partial commit of my current work. It makes libnet api functionsRafal Szczesniak8-61/+403
a bit more smart and more aware of what libnet_context can offer. The context is a help when some of the arguments are not passed (programmer counts on using sensible defaults) and stores some of results so that similar subsequent calls don't need to reopen some of policy handles, pipes, etc. again. It also helps to hide some of details the library user don't really want to know much about. Also, change domain open function to be part of public api, as it is going to be used in ejsnet interface. Note, this is work in progress. Comments are welcome. rafal (This used to be commit 1ed80c594c2f466e364a11194d6fdc30ac4a8f27)
2007-10-10r15504: Revert -r 15500 and -r 15503 until I'm awake, and can get my headAndrew Bartlett1-1/+1
around the mess that is composite functions... Async might be all the rage, but it's bloody painful to debug. Andrew Bartlett (This used to be commit 756e1dad7ce54b83f8170db3434bfcfc4afe7e65)
2007-10-10r15500: Add support for interactive prompting on bad passwords to the RPC ↵Andrew Bartlett1-1/+1
libraries. This support requires that the bind_ack and alter_ack recv functions also be send the DCE/RPC fault. This would be best done by having the ack run as a normal RPC reply callback, but this isn't easily possible for now. Andrew Bartlett (This used to be commit be6dde22fe728d64d47875699d3421c6d8d872a4)
2007-10-10r15489: Typo fixes.Rafal Szczesniak1-2/+2
rafal (This used to be commit 221907fc0d0141c6c73f10f2dc829879205b9bcb)
2007-10-10r15488: This structure is not needed any longer.Rafal Szczesniak1-25/+2
rafal (This used to be commit 45cd7bc4ec152c8623c134c6f33bcd3edbb1ff5e)
2007-10-10r15487: More comments and a few minor changes (not even fixes).Rafal Szczesniak1-13/+31
rafal (This used to be commit 12d0faf9bc4c97b61879e8f7bb0419f4553bb340)
2007-10-10r15459: Add forgotten guid retrieval among other data and thus preventRafal Szczesniak1-1/+4
from returning uninitialised structure member. Thank heavens for build farm and valgrind :) rafal (This used to be commit daca283990c7a8b6efc952c9308c43b68dd49f06)
2007-10-10r15439: Reorder the code a bit to be like in other calls. More commentsRafal Szczesniak1-142/+170
and comment-fixes. rafal (This used to be commit d35f1e07bed594dfae5421209c4318fe5e66a5aa)
2007-10-10r15435: Turn libnet_RpcConnectDCInfo into another level of libnet_RpcConnectRafal Szczesniak4-179/+296
and make it async. Also, update any other usages of old function. Build goes fine and so do tests, comments to follow. rafal (This used to be commit aef0a2de9d2f01a6f619e3fccc8715288f5c37a3)
2007-10-10r15426: Implement SPNEGO as the default RPC authentication mechanism. WhereAndrew Bartlett1-2/+2
this isn't supported, fallback to NTLM. Also, where we get a failure as 'logon failure', try and do a '3 tries' for the password, like we already do for CIFS. (Incomplete: needs a mapping between RPC errors and the logon failure NTSTATUS). Because we don't yet support Kerberos sign/seal to win2k3 SP1 for DCE/RPC, disable this (causing SPNEGO to negotiate NTLM) when kerberos isn't demanded. Andrew Bartlett (This used to be commit b3212d1fb91b26c1d326a289560106dffe1d2e80)
2007-10-10r15328: Move some functions around, remove dependencies.Jelmer Vernooij3-3/+1
Remove some autogenerated headers (which had prototypes now autogenerated by pidl) Remove ndr_security.h from a few places - it's no longer necessary (This used to be commit c19c2b51d3e1ad347120b06a22bda5ec586c22e8)
2007-10-10r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacementJelmer Vernooij1-1/+1
for REQUIRED_SUBSYSTEMS. (This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10r14983: fix an uninitialised varAndrew Tridgell1-1/+1
(This used to be commit 58ac1e4eb1a62029173118a7638dcbe7c0de1306)
2007-10-10r14860: create libcli/security/security.hStefan Metzmacher3-3/+3
metze (This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)
2007-10-10r14716: Remove username from debug message, it just causes valgrind assertions.Andrew Bartlett1-4/+2
Andrew Bartlett (This used to be commit c978fea2a14979d8431b2be9ff35ab47fc1a4a08)
2007-10-10r14591: More comments.Rafal Szczesniak1-1/+27
rafal (This used to be commit 44b89cd47a1eb635f09ef97e6a828c40962c2322)
2007-10-10r14572: Give libraries saner names, remove some .pc files, make some thingsJelmer Vernooij1-5/+1
subsystems in case a library doesn't make sense. (This used to be commit ed382873fd01457a53e0a1e1f5ba6753dfbc0646)
2007-10-10r14568: Remove unused function.Rafal Szczesniak1-10/+0
rafal (This used to be commit 473d6c8e685a0c730c57534cfa079e465de9b233)
2007-10-10r14566: Remove unnecessary headers.Rafal Szczesniak1-3/+0
rafal (This used to be commit 1ba4245fcbe808b4537eff74792d1bc7b94108b9)
2007-10-10r14560: Finally! Start working on async libnet_RpcConnect and otherRafal Szczesniak1-57/+273
rpc-related calls. rafal (This used to be commit 860f9bcb1ef76ccee59187aa182d4fb765ef5ecd)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij4-0/+4
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.Jelmer Vernooij1-1/+1
(This used to be commit 4682bc5ce047d81586447b9df82c91ed1fe677cf)
2007-10-10r14470: Remove some unnecessary headers.Jelmer Vernooij5-6/+0
(This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij13-4/+14
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij9-0/+10
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10r14383: Fix non-developer build.Jelmer Vernooij1-1/+1
(This used to be commit f4de155c94b89e586640d11992953a0d5fc0716d)
2007-10-10r14380: Reduce the size of structs.hJelmer Vernooij4-4/+8
(This used to be commit 1a16a6f1dfa66499af43a6b88b3ea69a6a75f1fe)
2007-10-10r14363: Remove credentials.h from the global includes.Jelmer Vernooij4-0/+4
(This used to be commit 98c4c3051391c6f89df5d133665f51bef66b1563)
2007-10-10r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:Jelmer Vernooij1-3/+2
- VERSION: should contain the current version. Will be made part of the filename. - SO_VERSION: should contain the latest version that this on is compatible to. Will be used for setting the soname of the shared library. Fix sonames and use them on platforms that support them Remove symlinking code. ldconfig will take care of creating the symlinks now that we set the soname. (This used to be commit 7871b07e21c85c63d0ecac4c31b98dc112d18af5)
2007-10-10r14063: libnet depends on dcerpcStefan Metzmacher1-1/+1
metze (This used to be commit 7fc2d08269a93dc3c38b08296dce41a0ae80ef82)
2007-10-10r14058: Try to make the continuation on the list of password set mechs clearer.Andrew Bartlett1-2/+5
Andrew Bartlett (This used to be commit 0aa7160a66ee6951311fd7076faa2d27e25d620d)
2007-10-10r13938: Around round of splitupsJelmer Vernooij1-0/+1
(This used to be commit 2d655f05285a86bb1bbb882e4dd843def15c9dfa)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij6-0/+8
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r13903: Don't generate prototypes for modules and binaries in include/proto.h byJelmer Vernooij1-0/+1
default. (This used to be commit c80a8f1102caf744b66c13bebde38fba74983dc4)