summaryrefslogtreecommitdiffstats
path: root/source3/utils/net_rpc_join.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-net: use libnetjoin for "net rpc join" newstyle.Günther Deschner2013-08-051-554/+0
| | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* s3-net: use libnetjoin for "net rpc testjoin".Günther Deschner2013-08-051-29/+0
| | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* s3-rpc_cli: pass down ndr_interface_table to cli_rpc_pipe_open_noauth().Günther Deschner2013-08-051-3/+3
| | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* s3-rpc_cli: pass down ndr_interface_table to ↵Günther Deschner2013-08-051-2/+2
| | | | | | | | | | cli_rpc_pipe_open_schannel_with_key(). Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* s3: use generate_random_password() instead of generate_random_str()Stefan Metzmacher2013-02-041-1/+3
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* Correctly check for errors in strlower_m() returns.Jeremy Allison2012-08-091-1/+4
|
* Check error returns from strupper_m() (in all reasonable places).Jeremy Allison2012-08-091-1/+4
|
* s3:utils/net_rpc*: make use of cli_get_session_key()Stefan Metzmacher2012-08-011-1/+10
| | | | metze
* s3:libsmb: get rid of cli_state_remote_nameLuk Claes2012-05-281-3/+3
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_*_sockaddrLuk Claes2012-05-281-1/+2
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:net_rpc_join: make use of cli_state_remote_name()Stefan Metzmacher2011-07-221-3/+3
| | | | metze
* s3:net_rpc_join: use pipe_hnd->desthost instead of cli->desthostStefan Metzmacher2011-07-221-1/+1
| | | | metze
* s3:net_rpc_join: make use of cli_state_remote_sockaddr()Stefan Metzmacher2011-07-221-1/+2
| | | | metze
* s3:net_rpc_join: pass const sockaddr_storage to net_rpc_join_ok()Stefan Metzmacher2011-07-221-3/+4
| | | | metze
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-091-5/+5
| | | | | | | | 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
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* More const fixes... getting near the end now.Jeremy Allison2011-05-061-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-281-0/+1
|
* s3-net: prefer dcerpc_lsa_X functions in "net rpc join".Günther Deschner2011-02-021-6/+8
| | | | Guenther
* s3-net: prefer dcerpc_samr_X functions in net_rpc_join_newstyle.Günther Deschner2011-02-021-42/+80
| | | | Guenther
* s3-net: use status variable in net_rpc_join_newstyle.Günther Deschner2011-02-021-34/+34
| | | | Guenther
* s3-lsa: separate out init_lsa headers.Günther Deschner2010-08-251-0/+1
| | | | Guenther
* 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-1/+1
| | | | | | | | | | 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 init_samr.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-rpc_client: move protos to cli_netlogon.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3: only include gen_ndr headers where needed.Günther Deschner2010-05-061-0/+1
| | | | | | | | | | | | | | | | | This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
* s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner2009-11-261-0/+2
| | | | | | samba. Guenther
* s3-net: fix build warning (missing default in switch).Günther Deschner2009-10-161-0/+4
| | | | Guenther
* s3: use enum netr_SchannelType all over the place.Günther Deschner2009-10-131-1/+1
| | | | Guenther
* s3-dcerpc: use dcerpc_AuthLevel and remove duplicate set of flags.Günther Deschner2009-09-151-2/+2
| | | | Guenther
* s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_schannel().Günther Deschner2009-09-111-2/+3
| | | | Guenther
* s3 net: i18n support for net rpc joinKai Blin2009-08-101-14/+18
|
* Revert "net: Use samba default command line arguments."Kai Blin2009-07-221-2/+1
| | | | | | | | | | 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-1/+2
| | | | | | | | | | | | | | | | | | 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-2/+2
| | | | Guenther
* Fix to use modified cli_rpc_pipe_open_schannel_with_key APIAndrew Bartlett2009-04-201-1/+1
|
* Merge commit 'origin/master' into libcli-auth-merge-without-netlogondAndrew Bartlett2009-04-201-1/+1
|\
| * Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison2009-04-151-1/+1
| | | | | | | | | | | | | | What a difference a name makes... :-). Just because something is missnamed SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN, don't automatically use it for a security check in _samr_OpenDomain(). Jeremy.
* | Remove use of talloc_reference in cli_rpc_pipe_open_schannel_with_key()Andrew Bartlett2009-04-201-1/+1
| |
* | Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett2009-04-141-0/+1
|/ | | | | | | | | | | This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
* s3: remove POLICY_HND.Günther Deschner2009-03-181-1/+1
| | | | Guenther
* Fix Coverity ID 742 (RESOURCE_LEAK)Volker Lendecke2009-02-131-6/+3
|
* s3: Fix 'net rpc join' for users with the SeMachineAccountPrivilege.Volker Lendecke2009-02-031-2/+5
|
* s3-samr: avoid all init_samr_user* functions.Günther Deschner2009-01-061-2/+2
| | | | Guenther
* s3-samr: fix init_samr_user_info{23,24} callers.Günther Deschner2008-11-281-1/+2
| | | | Guenther
* Add TALLOC_CTX pointer to generate_random_str(), for consistency withJelmer Vernooij2008-10-191-7/+3
| | | | Samba 4.
* rpc_client: use init_samr_CryptPassword(Ex) in client tools.Günther Deschner2008-07-311-6/+5
| | | | | Guenther (This used to be commit 97f7f9f21f17e8414de15953cf4eaa9959dc6f75)
* Refactoring: Change calling conventions for cli_rpc_pipe_open_schannel_with_keyVolker Lendecke2008-07-201-11/+10
| | | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 78e9c937ff2d2e1b70cfed4121e17feb6efafda1)