1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-23 20:59:10 +03:00
Commit Graph

36 Commits

Author SHA1 Message Date
1c62cac7f2 s3-libnetapi: add libnetapi_set_logfile()
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2021-07-14 16:49:30 +00:00
3f3093933a s3:netapi: Remove use_ccache from 'struct libnetapi_ctx'
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2021-03-24 00:55:32 +00:00
67d49ac148 s3:netapi: Remove use_kerberos from struct libnetapi_ctx
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2021-03-24 00:55:32 +00:00
dd7adbfa8f s3:netapi: Remove workgroup from 'struct libnetapi_ctx'
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2021-03-24 00:55:32 +00:00
51d5bebcc1 s3:netapi: Remove password from 'struct libnetapi_ctx'
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2021-03-24 00:55:32 +00:00
d94053f9d8 s3:netapi: Remove username from 'struct libnetapi_ctx'
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2021-03-24 00:55:32 +00:00
7bb70f701e s3:netapi: Add a cli_credentials pointer to struct libnetapi_ctx
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2021-03-24 00:55:32 +00:00
517f94f5bf s3:netapi: Remove unused ctx->krb5_cc_env
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2021-03-24 00:55:32 +00:00
e79b067e23 s3:netapi: Make 'struct libnetapi_ctx' opaque
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2021-03-24 00:55:32 +00:00
c9222ab838 s3:netapi: Implement public libnetapi_get_(username|password) functions
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2021-03-24 00:55:32 +00:00
2d47c2b7a1 s3-netapi: Fix format-nonliteral warning
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12168

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-08-24 01:33:50 +02:00
77f7f2a976 s3-libnetapi: pass down ndr_interface_table to libnetapi_open_pipe().
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2013-08-05 10:29:59 +02:00
fa37bbd9d0 s3-libnetapi: pass down ndr_interface_table to libnetapi_get_binding_handle().
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2013-08-05 10:29:59 +02:00
bc781bf7d9 s3-proto: remove duplicate prototypes.
Guenther
2011-04-29 21:01:05 +02:00
0eece6202c s3-netapi: add libnetapi_get_binding_handle().
Guenther
2011-04-12 12:20:43 +02:00
88d020ade0 s3-netapi Add libnetapi_net_init(), don't double-init common Samba subsystems
The issue here is that libnet and net were both trying to load the
smb.conf files, the case tables and set the debug levels.  The set of
the debug levels caused problems, because it would force the level to
0, not (say) 10 as requested on the command line.

This regression was apparently introduced in
cf4de8ec2c when eliminating
AllowDebugChange.

Andrew Bartlett
2010-11-24 08:37:04 +01:00
ffdfcfb514 s3-dsgetdcname: always pass in messaging context.
Volker, please check.

Guenther
2010-09-23 10:26:25 -07:00
2cf1f05860 s3: Remove a global variable in bugfix for bug 7665
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-21 16:13:58 -07:00
6a650d7d16 Revert "s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table"
This reverts commit 5fc9d93408.
2009-11-08 19:43:46 +01:00
5fc9d93408 s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table 2009-11-08 13:12:16 +01:00
a9542ddcb7 libnetapi_open_pipe does not need to return cli_state
The user session key is also available in rpccli->auth->user_session_key

Guenther, please check!

Thanks,

Volker
2009-01-18 20:10:06 +01:00
35c96827b4 netapi: make add_GROUP_USERS_INFO_X_buffer non-static.
Guenther
(This used to be commit 87fc15d9b5)
2008-09-11 14:28:19 +02:00
fcd10d26a4 netapi: make libnetapi_open_ipc_connection static.
Guenther
(cherry picked from commit 0259914f8f)
(This used to be commit 7edc671cc1)
2008-08-14 12:22:11 +02:00
87b9c9ade2 netapi: make non-implemented local calls default to remote "localhost" calls.
Guenther
(cherry picked from commit aa70e58880)
(This used to be commit 9927ac6eec)
2008-08-14 12:22:02 +02:00
798b56edae Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idx
(This used to be commit 726e56c72f)
2008-07-21 14:36:27 +02:00
352d40c066 netapi: add libnetapi_samr_free().
Guenther
(This used to be commit 3228088a09)
2008-07-18 16:52:42 +02:00
bbdf38d1d7 netapi: use private samr structure in libnetapi_samr_open_builtin().
Guenther
(This used to be commit 538ac493b7)
2008-07-18 16:52:34 +02:00
6fa58fdc07 netapi: use private samr structure in libnetapi_samr_open_domain().
Guenther
(This used to be commit 3c63ebfc00)
2008-07-18 16:52:26 +02:00
4704864338 netapi: add libnetapi_samr_close_builtin_handle().
Guenther
(This used to be commit 05cad0d8b4)
2008-07-18 16:52:05 +02:00
3b667f90aa netapi: add libnetapi_samr_close_domain/connect_handle.
Guenther
(This used to be commit b042787ec6)
2008-07-18 16:51:57 +02:00
3f0da66d5c netapi: add libnetapi_private_ctx and init function.
Guenther
(This used to be commit 45fff2d37a)
2008-07-18 16:51:48 +02:00
56bdfad87f netapi: add libnetapi_samr_open_builtin_domain().
Guenther
(This used to be commit f15a7f9ab1)
2008-06-03 01:27:50 +02:00
b652e5b475 netapi: let libnetapi_samr_open_domain return WERROR.
Guenther
(This used to be commit 3d037a07e0)
2008-06-03 01:27:49 +02:00
31c185011f netapi: add libnetapi_samr_open_domain().
Guenther
(This used to be commit a99906f661)
2008-06-03 01:27:45 +02:00
3d5aecd2b9 Add libnetapi_open_pipe, inspired by the cli_cm_ interface.
Guenther
(This used to be commit 87d8fc338f)
2008-04-10 22:42:07 +02:00
8ab9696bfb Split out private headers in libnetapi.
Guenther
(This used to be commit dd6251d514)
2008-04-10 21:52:03 +02:00