summaryrefslogtreecommitdiffstats
path: root/source3/utils
Commit message (Collapse)AuthorAgeFilesLines
* s3-utils: Fixed possible resource leak in smbfilter.Andreas Schneider2011-01-261-0/+1
| | | | s3-utils: Fixed possible resource leak in smbfilter.
* s3-rpc_client: Rename get_query_dispinfo_params.Andreas Schneider2011-01-211-2/+2
|
* s3:net: use dcerpc_spoolss_X() functionsStefan Metzmacher2011-01-212-64/+155
| | | | | | metze Signed-off-by: Andreas Schneider <asn@samba.org>
* Fix "net usersidlist" not to skip every other userOlly Betts2011-01-191-1/+0
| | | | | | | | | Remove double increment from for loop over users in get_user_tokens(), left over from when this used to be a while loop. Bug was introduced in 1e39a619. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 19 01:34:29 CET 2011 on sn-devel-104
* s3-net: use correct spoolss header in net rpc.Günther Deschner2011-01-181-1/+1
| | | | Guenther
* s3-net: use correct spoolss header in net_ads.c.Günther Deschner2011-01-181-1/+1
| | | | Guenther
* s3: Move dump_ntquota* to smbcquotas.cVolker Lendecke2011-01-171-0/+99
|
* s3: Convert cli_set_fs_quota_info to cli_transVolker Lendecke2011-01-171-4/+8
|
* s3: Convert cli_get_fs_quota_info to cli_transVolker Lendecke2011-01-171-10/+20
|
* s3: Convert cli_list_user_quota to cli_transVolker Lendecke2011-01-171-2/+5
|
* s3: Convert cli_set_user_quota to cli_transVolker Lendecke2011-01-171-2/+5
|
* s3: Convert cli_get_user_quota to cli_transVolker Lendecke2011-01-171-4/+10
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-01-172-8/+6
|
* s3: Avoid some calls to cli_errstrVolker Lendecke2011-01-151-18/+24
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 15 17:18:54 CET 2011 on sn-devel-104
* s3: Convert cli_set_secdesc to cli_transVolker Lendecke2011-01-152-6/+10
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-01-151-4/+4
|
* s3-net_registry: prefer dcerpc_winreg_X functions.Günther Deschner2011-01-131-100/+273
| | | | | | Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-net: prefer dcerpc_winreg_X functions.Günther Deschner2011-01-131-7/+18
| | | | | | Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-net: prefer dcerpc_srvsvc_X functions.Günther Deschner2011-01-131-13/+44
| | | | | | Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-smbtree: prefer dcerpc_srvsvc_X functions.Günther Deschner2011-01-131-2/+5
| | | | | | Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-net: prefer dcerpc_netr_X functions.Günther Deschner2011-01-131-5/+13
| | | | | | Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-net: remove some pointless fstrings in "net rpc service".Günther Deschner2011-01-131-12/+3
| | | | | | Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-net: restructure "net rpc service" and add open_scm().Günther Deschner2011-01-131-123/+59
| | | | | | Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-net: restructure "net rpc service" and add open_service().Günther Deschner2011-01-131-75/+49
| | | | | | Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-svcctl: prefer dcerpc_svcctl_X functions.Günther Deschner2011-01-131-68/+254
| | | | | | Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-net: fix query_service_state() error handling.Günther Deschner2011-01-121-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
* s3-net: add missing breaks in switch statement in get_share_info().Günther Deschner2011-01-121-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
* s3-initshutdown: prefer dcerpc_initshutdown_X functions.Günther Deschner2011-01-111-12/+20
| | | | Guenther
* s3:net: use ndr_dssetup_c.h instead of cli_dssetup.hStefan Metzmacher2011-01-111-1/+1
| | | | metze
* s3: Make name_query use /tmp/.nmbd/unexpectedVolker Lendecke2011-01-071-5/+6
|
* s3: Make node_status_query use /tmp/.nmbd/unexpectedVolker Lendecke2011-01-071-6/+4
|
* s3-net: Fix bug #7690: retry DNS updates when connection to one nameserver ↵Günther Deschner2011-01-061-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
* s3:net_utils: use dcerpc_dssetup_DsRoleGetPrimaryDomainInformation()Stefan Metzmacher2011-01-041-2/+8
| | | | metze
* s3:net_rpc_vampire_keytab: don't return -1 on success (bug #7899)Stefan Metzmacher2011-01-031-1/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 3 19:05:11 CET 2011 on sn-devel-104
* s3:net: make idmap_store_secret static.Michael Adam2011-01-022-6/+4
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sun Jan 2 13:41:07 CET 2011 on sn-devel-104
* s3:net: fix the usage for net idmap secret (removing alloc)Michael Adam2011-01-021-5/+4
|
* s3:net: remove alloc parameter from idmap_store_secret() (net idmap store).Michael Adam2011-01-022-8/+4
|
* s3: Fix two uninitialized variablesVolker Lendecke2010-12-301-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 30 12:52:47 CET 2010 on sn-devel-104
* s3: Make name_query return NTSTATUSVolker Lendecke2010-12-281-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
* s3: Make node_status_query return NTSTATUSVolker Lendecke2010-12-281-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
* s3: Remove an ancient typedefVolker Lendecke2010-12-281-1/+1
|
* Fix a warning message.Jeremy Allison2010-12-221-1/+2
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 22 03:59:18 CET 2010 on sn-devel-104
* s3: Remove unused "retry" from cli_full_connectionVolker Lendecke2010-12-205-10/+7
|
* s3:net ads dns register: use "cluster addresses" option if configured (bug ↵Stefan Metzmacher2010-12-171-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
* s3:net ads dns register: add support for specifying addresse on the ↵Michael Adam2010-12-171-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>
* s3:net: add net_update_dns_ext() that accepts a list of addresses as ↵Michael Adam2010-12-171-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>
* s3:net: disable dynamic dns updates at the end of "net ads join" in a ↵Michael Adam2010-12-171-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>
* s3-net: fix net sid type build warning.Günther Deschner2010-12-171-1/+1
| | | | Guenther
* s3/net: tz argument should be NULL of courseBjörn Jacke2010-12-171-1/+1
| | | | | Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Fri Dec 17 01:48:40 CET 2010 on sn-devel-104
* Fix bug 7866 - "net" in v3-6-test broken.Jeremy Allison2010-12-153-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