summaryrefslogtreecommitdiff
path: root/source3/utils/net_util.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-281-0/+1
|
* s3: Make is_zero_addr take a sockaddr_storageVolker Lendecke2011-02-271-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
* s3-net: prefer dcerpc_lsa_X functions in net_util.cGünther Deschner2011-02-021-13/+16
| | | | Guenther
* s3-net: add net_scan_dc non-ad variant.Günther Deschner2011-02-011-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
* s3:net: use ndr_dssetup_c.h instead of cli_dssetup.hStefan Metzmacher2011-01-111-1/+1
| | | | metze
* s3:net_utils: use dcerpc_dssetup_DsRoleGetPrimaryDomainInformation()Stefan Metzmacher2011-01-041-2/+8
| | | | metze
* s3: Remove unused "retry" from cli_full_connectionVolker Lendecke2010-12-201-3/+3
|
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-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
* s3-secrets: only include secrets.h when needed.Günther Deschner2010-08-051-0/+1
| | | | Guenther
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-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>
* s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3: Add --use-ccache to netVolker Lendecke2010-01-241-0/+4
|
* s3 net: Fix compile warningsKai Blin2010-01-191-2/+2
|
* s3/net: split up some printable stings to ease i18nBjörn Jacke2010-01-181-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.
* s3 net: Add a few missing gettext calls.Kai Blin2010-01-051-4/+4
| | | | | Many many thanks to Adi Roiban from #ubuntu-translators for helping me find and fix my problems with the translations.
* s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner2009-11-261-0/+2
| | | | | | samba. Guenther
* Ensure all callers to the rpc_client/cli_pipe functions correctlyJeremy Allison2009-11-121-1/+1
| | | | | initialize return variables. Jeremy.
* s3 net: i18n support for net utility functionsKai Blin2009-08-111-26/+29
|
* Added prefer_ipv4 bool parameter to resolve_name().Jeremy Allison2009-07-281-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.
* Revert "net: Use samba default command line arguments."Kai Blin2009-07-221-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.
* net: Use samba default command line arguments.Kai Blin2009-05-251-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>
* s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.Günther Deschner2009-04-211-1/+1
| | | | Guenther
* s3:net: add --request-timeout optionStefan Metzmacher2009-04-171-0/+2
| | | | metze
* s3: remove POLICY_HND.Günther Deschner2009-03-181-1/+1
| | | | Guenther
* Fix all warnings in source3 with gcc4.3.Jeremy Allison2008-12-311-2/+1
| | | | Jeremy.
* s3-net: add net_scan_dc function.Günther Deschner2008-11-181-0/+38
| | | | Guenther
* Use sockaddr_storage only where we rely on the size, use sockaddrJelmer Vernooij2008-10-231-2/+2
| | | | | otherwise (to clarify we can also pass in structs smaller than sockaddr_storage, such as sockaddr_in).
* net: Make share type lookup a function.Kai Blin2008-09-261-0/+12
|
* Fix broken net rpc join message when DC can't be found. Ensure we pass in a ↵Jeremy Allison2008-08-211-2/+3
| | | | | | | domain name. Jeremy. (This used to be commit 33019fe2b5f521c143fc79edb915eca69b9ed98d)
* net: add "-k" switch for kerberos authentication (in preparation for #5416).Günther Deschner2008-07-311-3/+13
| | | | | Guenther (This used to be commit 4cce94d464b16d29b638da3a581d98a237959b63)
* Refactoring: connect_dst_pipe uses ndr_syntax_id instead of pipe_idxVolker Lendecke2008-07-211-2/+3
| | | | (This used to be commit 0f77746f36b98acc5171727fa3fc236af9fd2000)
* Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke2008-07-201-4/+6
| | | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
* net: Don't crash on invalid command line options.Kai Blin2008-06-211-7/+0
| | | | | | | This backs out the workaround Jerry added in 4c3bfea9f8d238f9100eaa264b9b2941dff5a6dd. Thanks for the catch. (This used to be commit 20e0bb4800938863cb0aac1a19473748132043fc)
* net: Fix crash when specifying invalid options on the command lineroot2008-06-191-0/+8
| | | | (This used to be commit 4c3bfea9f8d238f9100eaa264b9b2941dff5a6dd)
* net: Rename functable3 to functable, get rid of old functablesKai Blin2008-06-101-51/+2
| | | | (This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
* net: Add net_display_usage_from_functable()Kai Blin2008-06-101-0/+7
| | | | (This used to be commit de0e15b35ea46cfcdd82f45eb3329c44d7aacb90)
* net: Use functable2 to give a short help text for top-level functions.Kai Blin2008-06-101-0/+3
| | | | (This used to be commit e9be24a2cbbd9bc7075c0fe75d44d51184f84dba)
* net: Add net_run_function3Kai Blin2008-06-101-0/+27
| | | | (This used to be commit ba1108f06ae5860c8f418dc383b027068780abf9)
* net: Move net_run_function/net_run_function2 to net_util.cKai Blin2008-06-101-0/+46
| | | | (This used to be commit 73fb5f392dbc1966ec34217e39d565200e071aaf)
* net: Move more utility functions into net_util.cKai Blin2008-05-201-0/+466
| | | | (This used to be commit 0f5ebdf0bc5610bf93a4db67c9f9513683306c66)
* net: Use true/false instead of True/False.Kai Blin2008-05-201-1/+1
| | | | (This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)
* net: Remove globalsKai Blin2008-05-101-1/+2
| | | | (This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
* Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_structVolker Lendecke2008-04-201-1/+1
| | | | (This used to be commit 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf)
* Move is_valid_policy_hnd() out of net.Günther Deschner2008-04-081-7/+0
| | | | | Guenther (This used to be commit aae4d91e726ef8dcad173cdd1d6f719d94462948)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-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)
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().Günther Deschner2007-10-101-1/+1
| | | | | Guenther (This used to be commit e9a7512a9f630340004913f1379452eea8a9b6ae)
* r18747: replace rpccli_lsa_close() with rpccli_lsa_Close()Gerald Carter2007-10-101-1/+1
| | | | (This used to be commit 50d74ce0488a9bd0980cdc6d523a210f6238ef74)
* r18271: Big change:Gerald Carter2007-10-101-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)