summaryrefslogtreecommitdiff
path: root/source3/utils/net_util.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-06-10net: Move net_run_function/net_run_function2 to net_util.cKai Blin1-0/+46
(This used to be commit 73fb5f392dbc1966ec34217e39d565200e071aaf)
2008-05-20net: Move more utility functions into net_util.cKai Blin1-0/+466
(This used to be commit 0f5ebdf0bc5610bf93a4db67c9f9513683306c66)
2008-05-20net: Use true/false instead of True/False.Kai Blin1-1/+1
(This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)
2008-05-10net: Remove globalsKai Blin1-1/+2
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-04-20Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_structVolker Lendecke1-1/+1
(This used to be commit 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf)
2008-04-08Move is_valid_policy_hnd() out of net.Günther Deschner1-7/+0
Guenther (This used to be commit aae4d91e726ef8dcad173cdd1d6f719d94462948)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-1/+1
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().Günther Deschner1-1/+1
Guenther (This used to be commit e9a7512a9f630340004913f1379452eea8a9b6ae)
2007-10-10r18747: replace rpccli_lsa_close() with rpccli_lsa_Close()Gerald Carter1-1/+1
(This used to be commit 50d74ce0488a9bd0980cdc6d523a210f6238ef74)
2007-10-10r18271: Big change:Gerald Carter1-2/+2
* autogenerate lsa ndr code * rename 'enum SID_NAME_USE' to 'enum lsa_SidType' * merge a log more security descriptor functions from gen_ndr/ndr_security.c in SAMBA_4_0 The most embarassing thing is the "#define strlen_m strlen" We need a real implementation in SAMBA_3_0 which I'll work on after this code is in. (This used to be commit 3da9f80c28b1e75ef6d46d38fbb81ade6b9fa951)
2007-10-10r16644: Fix bug #3887 reported by jason@ncac.gwu.eduJeremy Allison1-1/+1
by converting the lookup_XX functions to correctly return SID_NAME_TYPE enums. Jeremy. (This used to be commit ee2b2d96b60c668e37592c79e86c2fd851e15f69)
2007-10-10r13316: Let the carnage begin....Gerald Carter1-0/+89
Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)