summaryrefslogtreecommitdiffstats
path: root/source3/lib/netapi/getdc.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-libnetapi: pass down ndr_interface_table to libnetapi_get_binding_handle().Günther Deschner2013-08-051-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>
* s3-netapi: use NetApiBufferAllocate() for returned buffer in getdc calls.Günther Deschner2011-10-211-2/+30
| | | | Guenther
* s3-netapi: use libnetapi_get_binding_handle().Günther Deschner2011-04-121-18/+9
| | | | Guenther
* s3-libnetapi: prefer dcerpc_netr_X functions.Günther Deschner2011-01-131-6/+16
| | | | | | Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* s3: Attempt to fix bug 7665Volker Lendecke2010-10-021-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.
* s3-dsgetdcname: always pass in messaging context.Günther Deschner2010-09-231-1/+5
| | | | | | Volker, please check. Guenther
* s3-libnetapi: try using netr_DsRGetDCNameEx() in DsGetDcName().Günther Deschner2010-09-151-0/+13
| | | | Guenther
* s3-netlogon: remove global include of netlogon.h.Günther Deschner2010-08-061-1/+1
| | | | | | | This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
* s3: only include gen_ndr headers where needed.Günther Deschner2010-05-061-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
* s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner2009-11-261-0/+1
| | | | | | samba. Guenther
* Revert "s3: Make libnetapi_open_pipe take strings instead of a ↵Volker Lendecke2009-11-081-3/+3
| | | | | | ndr_interface_table" This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe.
* s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_tableVolker Lendecke2009-11-081-3/+3
|
* libnetapi_open_pipe does not need to return cli_stateVolker Lendecke2009-01-181-6/+0
| | | | | | | | | | The user session key is also available in rpccli->auth->user_session_key Guenther, please check! Thanks, Volker
* Fix some missing error handlingsVolker Lendecke2008-10-051-0/+4
|
* netapi: make libnetapi_open_ipc_connection static.Günther Deschner2008-08-141-18/+9
| | | | | | Guenther (cherry picked from commit 0259914f8ff04514a8395d8e1af61aadd50c5efb) (This used to be commit 7edc671cc1007ae216e7efdbcdb9cfa1e547dca5)
* netapi: make non-implemented local calls default to remote "localhost" calls.Günther Deschner2008-08-141-2/+2
| | | | | | Guenther (cherry picked from commit aa70e588803e3767796dc958b139f4ee464d8626) (This used to be commit 9927ac6eec9fe1fecfedb97b61c4f93379fc8722)
* Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idxVolker Lendecke2008-07-211-3/+6
| | | | (This used to be commit 726e56c72fdb685ab5eddefd2fd8b043dc38d6ad)
* dsgetdcname: use existing messaging_context if possible.Günther Deschner2008-05-091-0/+1
| | | | | Guenther (This used to be commit 7889516a384c155a9045aad4409c041fddd0d98d)
* Use libnetapi_open_pipe in netapi functions.Günther Deschner2008-04-101-13/+7
| | | | | Guenther (This used to be commit 5804d8b112e1da022988c635284eb4799974d4c7)
* Use libnetapi_open_ipc_connection in libnetapi.Günther Deschner2008-04-101-49/+6
| | | | | Guenther (This used to be commit d9f19fc61586d606393368799dee9757c169d602)
* Split out private headers in libnetapi.Günther Deschner2008-04-101-0/+1
| | | | | Guenther (This used to be commit dd6251d51472a96bfc5ba3d62ea788c8924d4c6b)
* Try to use kerberos in libnetapi.Günther Deschner2008-04-081-3/+12
| | | | | Guenther (This used to be commit 9cfce2229508c2145c3527074ac76520544e5d25)
* Add DsGetDcName call to libnetapi library.Günther Deschner2008-04-081-0/+76
| | | | | Guenther (This used to be commit 27780e984152e38c8f80e1c67ddf13b73a2b220d)
* Restructure inner workings of libnetapi a bit.Günther Deschner2008-04-081-123/+19
| | | | | Guenther (This used to be commit a4e3bc2bade8bf74696e1c6ced74da563ff2df7b)
* Re-run make idl.Günther Deschner2008-01-311-2/+2
| | | | | Guenther (This used to be commit b658270518140c457536b0c7db06a646d7077529)
* Cosmetics and error string reporting for libnetapi.Günther Deschner2008-01-181-2/+28
| | | | | Guenther (This used to be commit 4ca33928512bd71268bafd41d2b608e814a7295f)
* Use new pidl-generated netlogon client calls in NetApi GetDcName().Günther Deschner2008-01-171-36/+6
| | | | | Guenther (This used to be commit 733e07a06ce3c903ff5837df6a5119f6d6e3eccb)
* Add basic remote NetGetDCName and NetGetAnyDCName versions to libnetapi.Günther Deschner2007-12-211-0/+243
Guenther (This used to be commit 5bc49546a32abb4524133b9f2916cdd51d4eb462)