summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/getdc.c
AgeCommit message (Collapse)AuthorFilesLines
2013-08-05s3-libnetapi: pass down ndr_interface_table to libnetapi_get_binding_handle().Günther Deschner1-3/+3
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2011-10-21s3-netapi: use NetApiBufferAllocate() for returned buffer in getdc calls.Günther Deschner1-2/+30
Guenther
2011-04-12s3-netapi: use libnetapi_get_binding_handle().Günther Deschner1-18/+9
Guenther
2011-01-13s3-libnetapi: prefer dcerpc_netr_X functions.Günther Deschner1-6/+16
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2010-10-02s3: Attempt to fix bug 7665Volker Lendecke1-2/+2
Quite a few of our internal routines put stuff on talloc_tos() these days. In top-level netapi routines, properly allocate a stackframe and clean it again. Also, don't leak memory in the rpccli_ callers onto the libnetapi context.
2010-09-23s3-dsgetdcname: always pass in messaging context.Günther Deschner1-1/+5
Volker, please check. Guenther
2010-09-15s3-libnetapi: try using netr_DsRGetDCNameEx() in DsGetDcName().Günther Deschner1-0/+13
Guenther
2010-08-06s3-netlogon: remove global include of netlogon.h.Günther Deschner1-1/+1
This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner1-1/+0
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+1
samba. Guenther
2009-11-08Revert "s3: Make libnetapi_open_pipe take strings instead of a ↵Volker Lendecke1-3/+3
ndr_interface_table" This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe.
2009-11-08s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_tableVolker Lendecke1-3/+3
2009-01-18libnetapi_open_pipe does not need to return cli_stateVolker Lendecke1-6/+0
The user session key is also available in rpccli->auth->user_session_key Guenther, please check! Thanks, Volker
2008-10-05Fix some missing error handlingsVolker Lendecke1-0/+4
2008-08-14netapi: make libnetapi_open_ipc_connection static.Günther Deschner1-18/+9
Guenther (cherry picked from commit 0259914f8ff04514a8395d8e1af61aadd50c5efb) (This used to be commit 7edc671cc1007ae216e7efdbcdb9cfa1e547dca5)
2008-08-14netapi: make non-implemented local calls default to remote "localhost" calls.Günther Deschner1-2/+2
Guenther (cherry picked from commit aa70e588803e3767796dc958b139f4ee464d8626) (This used to be commit 9927ac6eec9fe1fecfedb97b61c4f93379fc8722)
2008-07-21Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idxVolker Lendecke1-3/+6
(This used to be commit 726e56c72fdb685ab5eddefd2fd8b043dc38d6ad)
2008-05-09dsgetdcname: use existing messaging_context if possible.Günther Deschner1-0/+1
Guenther (This used to be commit 7889516a384c155a9045aad4409c041fddd0d98d)
2008-04-10Use libnetapi_open_pipe in netapi functions.Günther Deschner1-13/+7
Guenther (This used to be commit 5804d8b112e1da022988c635284eb4799974d4c7)
2008-04-10Use libnetapi_open_ipc_connection in libnetapi.Günther Deschner1-49/+6
Guenther (This used to be commit d9f19fc61586d606393368799dee9757c169d602)
2008-04-10Split out private headers in libnetapi.Günther Deschner1-0/+1
Guenther (This used to be commit dd6251d51472a96bfc5ba3d62ea788c8924d4c6b)
2008-04-08Try to use kerberos in libnetapi.Günther Deschner1-3/+12
Guenther (This used to be commit 9cfce2229508c2145c3527074ac76520544e5d25)
2008-04-08Add DsGetDcName call to libnetapi library.Günther Deschner1-0/+76
Guenther (This used to be commit 27780e984152e38c8f80e1c67ddf13b73a2b220d)
2008-04-08Restructure inner workings of libnetapi a bit.Günther Deschner1-123/+19
Guenther (This used to be commit a4e3bc2bade8bf74696e1c6ced74da563ff2df7b)
2008-01-31Re-run make idl.Günther Deschner1-2/+2
Guenther (This used to be commit b658270518140c457536b0c7db06a646d7077529)
2008-01-18Cosmetics and error string reporting for libnetapi.Günther Deschner1-2/+28
Guenther (This used to be commit 4ca33928512bd71268bafd41d2b608e814a7295f)
2008-01-17Use new pidl-generated netlogon client calls in NetApi GetDcName().Günther Deschner1-36/+6
Guenther (This used to be commit 733e07a06ce3c903ff5837df6a5119f6d6e3eccb)
2007-12-21Add basic remote NetGetDCName and NetGetAnyDCName versions to libnetapi.Günther Deschner1-0/+243
Guenther (This used to be commit 5bc49546a32abb4524133b9f2916cdd51d4eb462)