summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2011-01-15s3: Avoid some calls to cli_errstrVolker Lendecke1-18/+24
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 15 17:18:54 CET 2011 on sn-devel-104
2011-01-15s3: Convert cli_set_secdesc to cli_transVolker Lendecke2-6/+10
2011-01-15s3: Fix some nonempty blank linesVolker Lendecke1-4/+4
2011-01-13s3-net_registry: prefer dcerpc_winreg_X functions.Günther Deschner1-100/+273
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: prefer dcerpc_winreg_X functions.Günther Deschner1-7/+18
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: prefer dcerpc_srvsvc_X functions.Günther Deschner1-13/+44
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-smbtree: prefer dcerpc_srvsvc_X functions.Günther Deschner1-2/+5
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: prefer dcerpc_netr_X functions.Günther Deschner1-5/+13
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: remove some pointless fstrings in "net rpc service".Günther Deschner1-12/+3
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: restructure "net rpc service" and add open_scm().Günther Deschner1-123/+59
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: restructure "net rpc service" and add open_service().Günther Deschner1-75/+49
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-svcctl: prefer dcerpc_svcctl_X functions.Günther Deschner1-68/+254
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-12s3-net: fix query_service_state() error handling.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 12 15:22:56 CET 2011 on sn-devel-104
2011-01-12s3-net: add missing breaks in switch statement in get_share_info().Günther Deschner1-0/+6
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 12 14:31:05 CET 2011 on sn-devel-104
2011-01-11s3-initshutdown: prefer dcerpc_initshutdown_X functions.Günther Deschner1-12/+20
Guenther
2011-01-11s3:net: use ndr_dssetup_c.h instead of cli_dssetup.hStefan Metzmacher1-1/+1
metze
2011-01-07s3: Make name_query use /tmp/.nmbd/unexpectedVolker Lendecke1-5/+6
2011-01-07s3: Make node_status_query use /tmp/.nmbd/unexpectedVolker Lendecke1-6/+4
2011-01-06s3-net: Fix bug #7690: retry DNS updates when connection to one nameserver ↵Günther Deschner1-6/+21
has failed. Initial patch from Patrik Martinsson <patrik.martinsson@smhi.se>. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Jan 6 17:29:11 CET 2011 on sn-devel-104
2011-01-04s3:net_utils: use dcerpc_dssetup_DsRoleGetPrimaryDomainInformation()Stefan Metzmacher1-2/+8
metze
2011-01-03s3:net_rpc_vampire_keytab: don't return -1 on success (bug #7899)Stefan Metzmacher1-1/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 3 19:05:11 CET 2011 on sn-devel-104
2011-01-02s3:net: make idmap_store_secret static.Michael Adam2-6/+4
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sun Jan 2 13:41:07 CET 2011 on sn-devel-104
2011-01-02s3:net: fix the usage for net idmap secret (removing alloc)Michael Adam1-5/+4
2011-01-02s3:net: remove alloc parameter from idmap_store_secret() (net idmap store).Michael Adam2-8/+4
2010-12-30s3: Fix two uninitialized variablesVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 30 12:52:47 CET 2010 on sn-devel-104
2010-12-28s3: Make name_query return NTSTATUSVolker Lendecke1-10/+13
Also use talloc for the result Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 28 18:21:05 CET 2010 on sn-devel-104
2010-12-28s3: Make node_status_query return NTSTATUSVolker Lendecke1-7/+9
Also make the result talloc'ed Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 28 13:46:59 CET 2010 on sn-devel-104
2010-12-28s3: Remove an ancient typedefVolker Lendecke1-1/+1
2010-12-22Fix a warning message.Jeremy Allison1-1/+2
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 22 03:59:18 CET 2010 on sn-devel-104
2010-12-20s3: Remove unused "retry" from cli_full_connectionVolker Lendecke5-10/+7
2010-12-17s3:net ads dns register: use "cluster addresses" option if configured (bug ↵Stefan Metzmacher1-3/+11
#7871) metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 17 16:49:14 CET 2010 on sn-devel-104
2010-12-17s3:net ads dns register: add support for specifying addresse on the ↵Michael Adam1-3/+40
commandline (bug #7871) In the clustering case, this is also made the only possiblity to do dns updates, since the list addresses on the local interfaces is not suitable in that case. This fixes the "net ads dns register" part of bug #7871. It might be extended by a parsing of the "cluster addresses" setting. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-12-17s3:net: add net_update_dns_ext() that accepts a list of addresses as ↵Michael Adam1-12/+27
parameter (bug# 7871) This generalized form of net_update_dns() will be used to add support for specifying a list of addresses on the commandline of "net ads dns register". This prepares the "net ads dns register" part of the fix for bug #7871. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-12-17s3:net: disable dynamic dns updates at the end of "net ads join" in a ↵Michael Adam1-0/+19
cluster (bug #7871) In a clustered environment, registering the set of ip addresses that are assigned to the interfaces of the node that performs the join does usually not have the desired effect, since the local interfaces do not carry complete set of the cluster's public IP addresses. And it can also contain internal addresses that should not be visible to the outside at all. In order to do dns updates in a clustererd setup, use net ads dns register. This fixes the net ads join part of bug #7871. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-12-17s3-net: fix net sid type build warning.Günther Deschner1-1/+1
Guenther
2010-12-17s3/net: tz argument should be NULL of courseBjörn Jacke1-1/+1
Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Fri Dec 17 01:48:40 CET 2010 on sn-devel-104
2010-12-15Fix bug 7866 - "net" in v3-6-test broken.Jeremy Allison3-3/+22
Someone wasn't careful about testing when not running as root :-). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 15 20:45:25 CET 2010 on sn-devel-104
2010-12-14s3/net: don't use external "date" to make "net time set" more portableBjörn Jacke1-14/+10
the "date" syntax is different for example on *BSD Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue Dec 14 15:31:03 CET 2010 on sn-devel-104
2010-12-13As we handle missing sendfile() inside lib/sendfile.c, remove the ↵Jeremy Allison1-2/+0
WITH_SENDFILE ifdefs. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Dec 13 23:47:07 CET 2010 on sn-devel-104
2010-12-10s3-net Allow 'net ads dns register' to take an optional hostname argumentAndrew Bartlett1-6/+10
This allows the administrator to more carefully chose what name to register. Andrew Bartlett
2010-12-07s3:ntlm_auth: support clients which offer a spnego mechs we don't supportStefan Metzmacher1-110/+169
Before we rejected the authentication if we don't support the first spnego mech the client offered. We now negotiate the first mech we support. This fix works arround problems, when a client sends the NEGOEX (1.3.6.1.4.1.311.2.2.30) oid, which we don't support. metze
2010-12-07s3:ntlm_auth: free session key, as we don't use it (at least for now)Stefan Metzmacher1-1/+2
metze
2010-12-07s3:ntlm_auth: fix memory leak in the raw ntlmssp code pathStefan Metzmacher1-0/+2
metze
2010-11-28s3: Properly print binary values "net cache"Volker Lendecke1-7/+21
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Nov 28 15:03:26 CET 2010 on sn-devel-104
2010-11-27s3: Use localtime_r, libreplace defines itVolker Lendecke1-11/+9
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Nov 27 20:50:27 CET 2010 on sn-devel-104
2010-11-24s3-netapi Add libnetapi_net_init(), don't double-init common Samba subsystemsAndrew Bartlett3-7/+10
The issue here is that libnet and net were both trying to load the smb.conf files, the case tables and set the debug levels. The set of the debug levels caused problems, because it would force the level to 0, not (say) 10 as requested on the command line. This regression was apparently introduced in cf4de8ec2c8df2ceabbe3d836d296b058e7b19fb when eliminating AllowDebugChange. Andrew Bartlett
2010-11-22s3-net: use dns_errstr() when dns commands fail.Günther Deschner1-1/+4
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Nov 22 12:31:33 CET 2010 on sn-devel-104
2010-11-18Make 'net rpc printer driver' behave the same as rpcclient enumdriversJoerg Pulz1-2/+8
when dealing with unsupported architectures. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Nov 18 21:40:40 CET 2010 on sn-devel-104
2010-11-14s3: string_to_sid does thorough syntax checkingVolker Lendecke2-4/+4
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Nov 14 14:07:29 UTC 2010 on sn-devel-104
2010-11-14s3: Avoid two calls cli_errstrVolker Lendecke1-4/+9