summaryrefslogtreecommitdiff
path: root/source3/utils/net_util.c
AgeCommit message (Collapse)AuthorFilesLines
2013-08-05s3-rpc_cli: pass down ndr_interface_table to cli_rpc_pipe_open_noauth().Günther Deschner1-4/+4
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-05s3-net: pass down ndr_interface_table to connect_dst_pipe().Günther Deschner1-2/+2
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2012-12-03net: Use samba_getpass() function in net util.Andreas Schneider1-3/+7
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2012-02-24Remove unused function.Jeremy Allison1-21/+0
2012-02-23s3-utils: Remove unused connect_to_ipc_krb5()Andrew Bartlett1-53/+0
Found by callcatcher. Andrew Bartlett
2011-11-03s3:utils: s/Undefined/SMB_SIGNING_DEFAULT/Stefan Metzmacher1-3/+4
metze
2011-07-22s3:net_util: use server_name instead of cli->desthostStefan Metzmacher1-1/+1
They should be the same. metze
2011-07-22s3:net_util: pass const sockaddr_storage to net_make_ipc_connection_ex()Stefan Metzmacher1-1/+1
metze
2011-07-22s3:net_util: add some const to sockaddr_storageStefan Metzmacher1-8/+8
metze
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-2/+2
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett1-1/+1
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider1-0/+1
2011-02-27s3: Make is_zero_addr take a sockaddr_storageVolker Lendecke1-2/+2
All callers had to cast this anyway Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
2011-02-02s3-net: prefer dcerpc_lsa_X functions in net_util.cGünther Deschner1-13/+16
Guenther
2011-02-01s3-net: add net_scan_dc non-ad variant.Günther Deschner1-1/+67
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 1 17:48:40 CET 2011 on sn-devel-104
2011-01-11s3:net: use ndr_dssetup_c.h instead of cli_dssetup.hStefan Metzmacher1-1/+1
metze
2011-01-04s3:net_utils: use dcerpc_dssetup_DsRoleGetPrimaryDomainInformation()Stefan Metzmacher1-2/+8
metze
2010-12-20s3: Remove unused "retry" from cli_full_connectionVolker Lendecke1-3/+3
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-0/+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-08-05s3-secrets: only include secrets.h when needed.Günther Deschner1-0/+1
Guenther
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-2/+2
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 cli_lsarpc.hGünther Deschner1-0/+1
Guenther
2010-01-24s3: Add --use-ccache to netVolker Lendecke1-0/+4
2010-01-19s3 net: Fix compile warningsKai Blin1-2/+2
2010-01-18s3/net: split up some printable stings to ease i18nBjörn Jacke1-2/+2
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-05s3 net: Add a few missing gettext calls.Kai Blin1-4/+4
Many many thanks to Adi Roiban from #ubuntu-translators for helping me find and fix my problems with the translations.
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+2
samba. Guenther
2009-11-12Ensure all callers to the rpc_client/cli_pipe functions correctlyJeremy Allison1-1/+1
initialize return variables. Jeremy.
2009-08-11s3 net: i18n support for net utility functionsKai Blin1-26/+29
2009-07-28Added prefer_ipv4 bool parameter to resolve_name().Jeremy Allison1-4/+4
W2K3 DC's can have IPv6 addresses but won't serve krb5/ldap or cldap on those addresses. Make sure when we're asking for DC's we prefer IPv4. If you have an IPv6-only network this prioritizing code will be a no-op. And if you have a mixed network then you need to prioritize IPv4 due to W2K3 DC's. Jeremy.
2009-07-22Revert "net: Use samba default command line arguments."Kai Blin1-18/+91
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-91/+18
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-04-21s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.Günther Deschner1-1/+1
Guenther
2009-04-17s3:net: add --request-timeout optionStefan Metzmacher1-0/+2
metze
2009-03-18s3: remove POLICY_HND.Günther Deschner1-1/+1
Guenther
2008-12-31Fix all warnings in source3 with gcc4.3.Jeremy Allison1-2/+1
Jeremy.
2008-11-18s3-net: add net_scan_dc function.Günther Deschner1-0/+38
Guenther
2008-10-23Use sockaddr_storage only where we rely on the size, use sockaddrJelmer Vernooij1-2/+2
otherwise (to clarify we can also pass in structs smaller than sockaddr_storage, such as sockaddr_in).
2008-09-26net: Make share type lookup a function.Kai Blin1-0/+12
2008-08-21Fix broken net rpc join message when DC can't be found. Ensure we pass in a ↵Jeremy Allison1-2/+3
domain name. Jeremy. (This used to be commit 33019fe2b5f521c143fc79edb915eca69b9ed98d)
2008-07-31net: add "-k" switch for kerberos authentication (in preparation for #5416).Günther Deschner1-3/+13
Guenther (This used to be commit 4cce94d464b16d29b638da3a581d98a237959b63)
2008-07-21Refactoring: connect_dst_pipe uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-2/+3
(This used to be commit 0f77746f36b98acc5171727fa3fc236af9fd2000)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke1-4/+6
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
2008-06-21net: Don't crash on invalid command line options.Kai Blin1-7/+0
This backs out the workaround Jerry added in 4c3bfea9f8d238f9100eaa264b9b2941dff5a6dd. Thanks for the catch. (This used to be commit 20e0bb4800938863cb0aac1a19473748132043fc)
2008-06-19net: Fix crash when specifying invalid options on the command lineroot1-0/+8
(This used to be commit 4c3bfea9f8d238f9100eaa264b9b2941dff5a6dd)
2008-06-10net: Rename functable3 to functable, get rid of old functablesKai Blin1-51/+2
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
2008-06-10net: Add net_display_usage_from_functable()Kai Blin1-0/+7
(This used to be commit de0e15b35ea46cfcdd82f45eb3329c44d7aacb90)
2008-06-10net: Use functable2 to give a short help text for top-level functions.Kai Blin1-0/+3
(This used to be commit e9be24a2cbbd9bc7075c0fe75d44d51184f84dba)
2008-06-10net: Add net_run_function3Kai Blin1-0/+27
(This used to be commit ba1108f06ae5860c8f418dc383b027068780abf9)