summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-13s3-net: prefer dcerpc_winreg_X functions.Günther Deschner1-7/+18
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: prefer dcerpc_srvsvc_X functions.Günther Deschner1-13/+44
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: prefer dcerpc_netr_X functions.Günther Deschner1-5/+13
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-12s3-net: add missing breaks in switch statement in get_share_info().Günther Deschner1-0/+6
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 12 14:31:05 CET 2011 on sn-devel-104
2011-01-11s3-initshutdown: prefer dcerpc_initshutdown_X functions.Günther Deschner1-12/+20
Guenther
2010-12-17s3-net: fix net sid type build warning.Günther Deschner1-1/+1
Guenther
2010-11-24s3-netapi Add libnetapi_net_init(), don't double-init common Samba subsystemsAndrew Bartlett1-5/+6
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 cf4de8ec2c8df2ceabbe3d836d296b058e7b19fb when eliminating AllowDebugChange. Andrew Bartlett
2010-10-29Fix bug #7700 - Improvement of return code of smbclientJeremy Allison1-15/+18
Based on an initial patch from H Hasegawa <hasegawa.hiroyuki@fujixerox.co.jp>. Convert cli_list and associated functions to take calls that return NTSTATUS. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 29 19:40:16 UTC 2010 on sn-devel-104
2010-10-14s3 Replace is_sid_in_token() with security_token_has_sid() from common codeAndrew Bartlett1-1/+1
The two routines are identical, so there is no need to keep both. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-1/+1
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-07samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.Günther Deschner1-2/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Oct 7 12:04:32 UTC 2010 on sn-devel-104
2010-09-20s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner1-1/+2
Guenther
2010-09-11s3:auth Remove NT_USER_TOKENAndrew Bartlett1-7/+7
The all UPPER case typedef is no longer the preferred Samba style and this makes it easier to see that this is the IDL-derivied structure Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-08-31s3-auth Rename NT_USER_TOKEN user_sids -> sidsAndrew Bartlett1-12/+12
This is closer to the struct security_token from security.idl
2010-08-25s3-lsa: separate out init_lsa headers.Günther Deschner1-0/+1
Guenther
2010-08-06s3-net: only include netapi header when needed.Günther Deschner1-0/+1
Guenther
2010-08-05s3-secrets: only include secrets.h when needed.Günther Deschner1-0/+1
Guenther
2010-08-04s3: Convert cli_list() to return NTSTATUSVolker Lendecke1-2/+5
If needed, the callback functions can count themselves
2010-07-27s3: Remove a typedef (struct file_info)Volker Lendecke1-1/+1
2010-07-26s3: fix a typoVolker Lendecke1-1/+1
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-63/+63
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-rpc_client: move protos to init_samr.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_samr.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner1-2/+2
Guenther
2010-05-10s3-net: Fix Bug #7417. 'net rpc user password' can set the wrong password.Günther Deschner1-1/+4
Guenther
2010-04-26s3: Implement "net rpc user setprimarygroup"Volker Lendecke1-0/+59
2010-01-24s3: Add --use-ccache to netVolker Lendecke1-0/+3
2010-01-19s3 net: Fix compile warningsKai Blin1-93/+169
2010-01-19s3 net/i18n: Use only one spelling for "Usage:"Kai Blin1-8/+8
2010-01-18s3/net: split up some printable stings to ease i18nBjörn Jacke1-90/+90
If we put strings like "Usage:" into separate _() macros and not the whole "Usage:..." string we can cover much more messages by only one single translation. The drawback is that the message in the sources looks less pretty.
2010-01-14Fix bug #7036 - net rpc getsid fails in hardened windows environments.Jeremy Allison1-1/+7
Fix suggested by Dave.Daugherty@Centrify.com.
2010-01-10s3: Replace most calls to sid_append_rid() by sid_compose()Volker Lendecke1-4/+3
2010-01-03s3: Convert cli_tdis to the async APIVolker Lendecke1-2/+8
2009-11-30Fix bug 6546: Avoid accessing buf[-1] if NUL byte comes from fgetsVolker Lendecke1-1/+2
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+7
samba. Guenther
2009-11-22s3: Fix bug 6338 -- net rpc trustdom list always display "none"Volker Lendecke1-10/+23
2009-11-08Revert "s3: Make run_rpc_command take strings instead of a ndr_interface_table"Volker Lendecke1-140/+86
This reverts commit 53f2a1595e76db9fe1b42db65b51895b73365993.
2009-11-08s3: Make run_rpc_command take strings instead of a ndr_interface_tableVolker Lendecke1-86/+140
2009-11-07s3: get_pipe_name_from_iface -> get_pipe_name_from_syntaxVolker Lendecke1-1/+2
2009-10-28s3:net: fix output of net rpc trustdom listBjörn Jacke1-3/+5
Move some messages from stderr to stdout. When some trusting DCs were unreachable we lacked \n's on stdout which screwed up whole the output.
2009-10-14s3:net simplify padding to single printf callBjörn Jacke1-8/+2
2009-10-13s3:net: Fix a segfault in "net rpc trustdom list" for overlong domain namesVolker Lendecke1-8/+2
That was a complicated way to say "%-20.s"... But that code was from 2002 ...
2009-10-13s3: use enum netr_SchannelType all over the place.Günther Deschner1-1/+1
Guenther
2009-10-13s3-netlogon: pass down account name to remote password set functions.Günther Deschner1-0/+1
Guenther
2009-10-12ѕ3: fix domain trust documentation confusionBjörn Jacke1-11/+11
fix some trusted/trusting mixups, make documentation more precise and man page more verbose.
2009-10-05s3-net: print error when "net rpc changetrustpw" has failed.Günther Deschner1-1/+9
Guenther
2009-09-15s3-dcerpc: use dcerpc_AuthLevel and remove duplicate set of flags.Günther Deschner1-2/+2
Guenther
2009-09-11s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_schannel().Günther Deschner1-1/+1
Guenther
2009-09-11s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_spnego_ntlmssp ↵Günther Deschner1-0/+2
and cli_rpc_pipe_open_ntlmssp. Guenther