summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc.c
AgeCommit message (Collapse)AuthorFilesLines
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
2009-08-07s3 net: i18n support for net rpcKai Blin1-560/+617
2009-07-22Revert "net: Use samba default command line arguments."Kai Blin1-49/+25
This reverts commit fb262f79fab00374023e59476e8d05a1015a7041 and related commits c36031778e1983ddb11d3e1fcab35e738dbf94bc 72fd5fa6bb78a054fad5e5ebe19a0c0387a7d45b and 38cd0e086f50ce54d88a19aa5a6803469af90489 This change caused more trouble than it solved. We need to do this differently. Reverting so we don't accidently release this.
2009-05-25net: Use samba default command line arguments.Kai Blin1-25/+49
Attention: The meaning of the -N flag changed. To get the old meaning for net groupmap set, use the long option --ntname The long option for using kerberos changed from --kerberos to --use-kerberos net rpc commands will now prompt for a password if none is given. As a benefit, net will now accept an authentication file like other samba command line tools. So no need to specify the password on the command line in scripts anymore. This should fix bug #6357 Signed-off-by: Kai Blin <kai@samba.org>
2009-05-13s3-net: Fix bug 6340: don't segfault when cleartext trustdom pwd could not ↵Günther Deschner1-1/+1
be retrieved. Guenther
2009-05-11Fix a bunch of compiler warnings about wrong format types.Jeremy Allison1-2/+2
Should make Solaris 10 builds look cleaner. Jeremy.
2009-05-03Fix some warnings due to uint16_t!=-1 always being trueVolker Lendecke1-1/+1
2009-04-30Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison1-4/+3
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions. This is smaller than it looks, it just fixes a lot of old code. Next up, ensure all cli_XX functions return NTSTATUS. Jeremy.
2009-04-28s3-net: make sure to call libnetapi init functions at the top of "net rpc" ↵Günther Deschner1-0/+13
command. Without the initialization "net rpc password" will prompt twice for passwords and will not allow to define the name of the connection admin user. In the long run we should probably only have one place where to initialize libnetapi. Kai, please check. Guenther
2009-04-21s3-secdesc: move all winreg access bits to IDL.Günther Deschner1-3/+3
Guenther
2009-04-21s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.Günther Deschner1-4/+4
Guenther
2009-04-20Merge commit 'origin/master' into libcli-auth-merge-without-netlogondAndrew Bartlett1-10/+9