1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

1271 Commits

Author SHA1 Message Date
Günther Deschner
fe6c5353a0 s3-rpcclient: prefer dcerpc_lsa_X functions.
Guenther
2011-02-02 19:02:48 +01:00
Günther Deschner
204eeacfc5 s3-rpcclient: prefer dcerpc_lsa_X functions.
Guenther
2011-02-02 19:02:41 +01:00
Günther Deschner
36cd79f14b s3-rpcclient: prefer dcerpc_lsa_X functions.
Guenther
2011-02-02 19:02:35 +01:00
Günther Deschner
707d572f62 s3-rpcclient: use status variable.
Guenther
2011-02-02 19:02:29 +01:00
Günther Deschner
50be0b2c1e s3: Remove superfluous ;
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  2 15:44:21 CET 2011 on sn-devel-104
2011-02-02 15:44:21 +01:00
Stefan Metzmacher
ff0f63329a s3:rpcclient/cmd_samr: remove useless ';'
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Feb  1 19:19:24 CET 2011 on sn-devel-104
2011-02-01 19:19:24 +01:00
Stefan Metzmacher
5e4691e70e s3:rpcclient/cmd_netlogon: fix netr_DELTA_* display
metze
2011-02-01 18:35:22 +01:00
Günther Deschner
a51ab04cce s3-rpcclient: prefer dcerpc_samr_X functions.
Guenther
2011-02-01 16:00:22 +01:00
Günther Deschner
d4414f08cb s3-rpcclient: use struct based dcerpc_spoolss_EnumPrinterData_r() call.
This is a workaround for a string issue we currently have with argument based
generated dcerpc client code (see bug #7804 for details).

Guenther
2011-01-28 21:16:46 +01:00
Günther Deschner
1232fb5a1e s3-rpc_client: remove some more obsolete cli_X.h header files.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jan 28 11:18:44 CET 2011 on sn-devel-104
2011-01-28 11:18:44 +01:00
Günther Deschner
99437614fa s3-rpcclient: allow to define validation level for samlogon.
Guenther
2011-01-24 16:56:00 +01:00
Günther Deschner
cf7a78b64f s3-rpcclient: prefer dcerpc_spoolss_X functions.
Guenther
2011-01-21 15:20:22 +01:00
Andreas Schneider
089c25cbbb s3-rpc_client: Rename get_query_dispinfo_params. 2011-01-21 14:34:18 +01:00
Günther Deschner
621fb88e33 s3-rpcclient: rename duplicate enumkey command to winreg_enumkey.
Guenther
2011-01-21 10:58:20 +01:00
Stefan Metzmacher
85db5c9f8f s3:rpcclient: use dcerpc_echo_X() functions
metze
2011-01-17 08:48:25 +01:00
Günther Deschner
d97eb89c2a s3-rpcclient: prefer dcerpc_winreg_X functions.
Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13 14:14:28 +01:00
Günther Deschner
bded49f5d6 s3-rpcclient: prefer dcerpc_srvsvc_X functions.
Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13 14:13:46 +01:00
Günther Deschner
5e4b327c4f s3-rpcclient: prefer dcerpc_netr_X functions.
Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13 14:09:18 +01:00
Björn Baumbach
f5af66e67d s3-rpcclient: Fix bug #7880: cmd_spoolss_deletedriver() returned without checking all architectures.
Continues now with next architecture if no driver is available.

Because of the broken behavior of the rpccli_*() functions,
we need special error code handling.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-01-12 17:25:53 +01:00
Günther Deschner
1cd7f6c0e1 s3-drsuapi: fix error handling after converting to dcerpc_drsuapi_X functions.
Guenther
2011-01-12 13:41:16 +01:00
Günther Deschner
4f057230ca s3-drsuapi: prefer dcerpc_drsuapi_X functions.
Guenther
2011-01-11 22:18:02 +01:00
Günther Deschner
fe2b89edee s3-eventlog: prefer dcerpc_eventlog_X functions.
Guenther
2011-01-11 17:12:03 +01:00
Günther Deschner
4920390913 s3-wkssvc: prefer dcerpc_wkssvc_X functions.
Guenther
2011-01-11 17:09:25 +01:00
Stefan Metzmacher
f2044d0d11 s3:rpcclient: use ndr_dssetup_c.h instead of cli_dssetup.h
metze
2011-01-11 13:40:51 +01:00
Stefan Metzmacher
f936cfe505 s3:rpcclient: use ndr_dfs_c.h instead of cli_dfs.h
metze
2011-01-11 13:40:43 +01:00
Günther Deschner
7888108e89 s3-rpcclient: use dcerpc_dfs_X functions.
Guenther
2011-01-06 14:35:18 +01:00
Stefan Metzmacher
c6aedc9750 s3:rpcclient: use dcerpc_binding_handle based client stubs in cmd_dssetup.c
metze
2011-01-04 21:28:59 +01:00
Stefan Metzmacher
6dd5ccd041 s3:rpcclient: improve "epmmap" output
metze
2011-01-04 21:28:56 +01:00
Stefan Metzmacher
697d4ea8ff s3:rpcclient: use dcerpc_binding_handle bases client stubs in cmd_epmapper.c
metze
2011-01-04 21:28:54 +01:00
Stefan Metzmacher
d99e9c389b s3:rpcclient: use dcerpc_binding_handle client stubs in cmd_ntsvcs.c
metze
2011-01-04 16:37:19 +01:00
Volker Lendecke
d096de56b1 s3: Remove unused "retry" from cli_full_connection 2010-12-20 17:10:58 +01:00
Günther Deschner
b432a3ba19 s3-rpcclient: exit early in cmd_spoolss_enum_data() when there is a failure.
Guenther
2010-11-17 15:20:14 +01:00
Andrew Bartlett
d9f67eebf6 s3-debug Remove last direct assignements to DEBUGLEVEL
All future assignments of the debug level should go via
lp_set_cmdline("log level", "x") because this will ensure the value is
not overwritten in an smb.conf load.

Andrew Bartlett
2010-11-02 04:36:04 +00:00
Andrew Bartlett
9da4ace1d9 s3-debug Impove setup_logging() to specify logging to stderr
This change improves the setup_logging() API so that callers which
wish to set up logging to stderr can simply ask for it, rather than
directly modify the dbf global variable.

Andrew Bartlett
2010-11-02 04:36:04 +00:00
Andrew Bartlett
f768b32e37 libcli/security Provide a common, top level libcli/security/security.h
This will reduce the noise from merges of the rest of the
libcli/security code, without this commit changing what code
is actually used.

This includes (along with other security headers) dom_sid.h and
security_token.h

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-10-12 05:54:10 +00:00
Günther Deschner
12112d545c s3-rpcclient: add openprinter_ex command.
Guenther
2010-10-07 17:26:00 +02:00
Günther Deschner
b7683a2c9d samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Oct  7 12:04:32 UTC 2010 on sn-devel-104
2010-10-07 12:04:32 +00:00
Günther Deschner
0ff7e0c998 samba: share readline wrappers among all buildsystems.
Guenther
2010-10-01 22:30:22 +02:00
Simo Sorce
d10e192b83 s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_data
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:23 -07:00
Günther Deschner
102a70e809 s3-util: use shared dom_sid_dup.
Guenther
2010-09-20 14:05:07 -07:00
Günther Deschner
9e058c6e72 s3-rpcclient: add some winreg commands.
Guenther
2010-09-19 02:47:11 +02:00
Volker Lendecke
7fddf9c89e s3: Fix bug 7688, rpcclient command line completion crashing
We've grown more than 100 rpcclient commands by now, so this would overwrite
the array of 100 completions. There's nicer ways to fix this problem, but 1000
rpcclient commands should be at least a bit away.
2010-09-18 07:44:23 -07:00
Volker Lendecke
252e8c27eb s3: Fix some nonempty blank lines 2010-09-18 07:44:17 -07:00
Andrew Bartlett
4bf783d4d6 s3-auth Change type of num_sids to uint32_t
size_t is overkill here, and in struct security_token in the num_sids
is uint32_t.

This includes a change to the prototype of add_sid_to_array()
and add_sid_to_array_unique(), which has had a number of
consequnetial changes as I try to sort out all the callers using
a pointer to the number of sids.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:05 +10:00
Simo Sorce
43d0ef1175 rpcclient: support starting sign/seal with krb5/spnego
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:26:02 +02:00
Günther Deschner
e978a3d3f4 s3-lsa: separate out init_lsa headers.
Guenther
2010-08-25 22:50:39 +02:00
Stefan Metzmacher
d6eb42cc61 s3:rpcclient: we also need some ndr_pull functions
metze
2010-08-08 11:05:18 +02:00
Andreas Schneider
ce2a086119 s3-popt: Only include popt-common.h when needed. 2010-08-05 12:08:31 +02:00
Günther Deschner
c136b84f0d s3-secrets: only include secrets.h when needed.
Guenther
2010-08-05 10:12:25 +02:00
Günther Deschner
813fbbd68c s3-build: avoid to globally include printing and spoolss headers.
This shrinks precompiled headers by 3MB and will slightly speed up any build.

Guenther
2010-07-31 00:50:31 +02:00