summaryrefslogtreecommitdiffstats
path: root/source3/utils
Commit message (Collapse)AuthorAgeFilesLines
* s3:utils/net_*registry: use c99 initializers which are supported by old gcc ↵Stefan Metzmacher2011-06-152-4/+8
| | | | | | | | | 2.95 compilers (bug #8226) metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jun 15 03:48:41 CEST 2011 on sn-devel-104
* s3-utils: fix crash in net cache getChristian Ambach2011-06-141-1/+1
| | | | | | | free the blob correctly Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Tue Jun 14 12:01:59 CEST 2011 on sn-devel-104
* s3:net conf addshare: do not stat-check the share path.Michael Adam2011-06-101-17/+0
| | | | | | | Allow paths with % macros and paths that do not (yet...) exist. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jun 10 17:38:07 CEST 2011 on sn-devel-104
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-0912-42/+42
| | | | | | | | 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-param Remove special case for global_scope()Andrew Bartlett2011-06-091-1/+1
| | | | | | | There is no reason this can't be a normal constant string in the loadparm system. (Past reasons were that we didn't have lp_set_cmdline()) Andrew Bartlett
* lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett2011-06-093-10/+10
| | | | | | | This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
* s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett2011-06-093-5/+5
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
* s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2011-06-092-4/+4
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
* s3-talloc Change TALLOC_P() to talloc()Andrew Bartlett2011-06-093-4/+4
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc.
* s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett2011-06-093-7/+7
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
* s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett2011-06-091-1/+1
| | | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
* s3: Make use of name_resolve_bcast in nmblookupVolker Lendecke2011-06-051-21/+3
|
* Fix const warnings.Jeremy Allison2011-06-021-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jun 2 01:02:53 CEST 2011 on sn-devel-104
* Fix const warning.Jeremy Allison2011-06-011-1/+1
|
* Fix const warning.Jeremy Allison2011-06-011-1/+1
|
* s3: fix more -Wunused-but-set-variable build warnings.Günther Deschner2011-06-011-3/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 1 00:29:30 CEST 2011 on sn-devel-104
* s3-utils: fix another -Wunused-but-set-variable build warning.Günther Deschner2011-05-311-3/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 31 05:18:42 CEST 2011 on sn-devel-104
* Improve documentation for net rpc trustSumit Bose2011-05-301-13/+16
| | | | | | | | | Add man pages entries and fix usage output. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 30 20:05:34 CEST 2011 on sn-devel-104
* s3:net: registry export: close key after recursion returnsGregor Beck2011-05-301-1/+3
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon May 30 18:53:28 CEST 2011 on sn-devel-104
* s3:net registry: polish output of net registry enumerate[_recursive]Michael Adam2011-05-301-11/+15
| | | | | so that net registry enumerate output is as before, and net registry enumerate_recursive is formatted more nicely
* s3:net: registry: use recursive implementation for enumerateGregor Beck2011-05-301-63/+41
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net: registry: add new command enumerate_recursiveGregor Beck2011-05-301-0/+107
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbcacls: fix parsing of multiple flagsGregor Beck2011-05-301-1/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Use cli_connect_nb in net_rpc_checkVolker Lendecke2011-05-281-8/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 28 21:57:04 CEST 2011 on sn-devel-104
* s3: Use cli_connect_nb in cli_servertimeVolker Lendecke2011-05-281-18/+2
|
* s3-testparm Warn about incorrect use of 'password server'Andrew Bartlett2011-05-251-4/+4
| | | | | | | This merges master with v3-6-test Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 25 05:20:57 CEST 2011 on sn-devel-104
* s3:testparm: don't return an error for a warning messageStefan Metzmacher2011-05-201-1/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri May 20 13:14:39 CEST 2011 on sn-devel-104
* s3-testparm Warn more on incorrect use of 'password server'Andrew Bartlett2011-05-181-2/+17
|
* lib/util/charset Don't allow invalid 'dos charset = utf8'Andrew Bartlett2011-05-181-0/+6
| | | | | | | No DOS client used UTF8, and this creates subtle, difficult to disagnose breakage of schannel (domain membership). Andrew Bartlett
* s3-lib Replace StrnCaseCmp() with strncasecmp_m()Andrew Bartlett2011-05-185-31/+31
| | | | | | | strncasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-1814-18/+18
| | | | | | | strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
* s3-net_rpc_printer.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-05-181-59/+57
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-net: fix potential crash bug in display_print_driver3().Günther Deschner2011-05-131-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 13 18:49:06 CEST 2011 on sn-devel-104
* libsmbconf: Convert smbconf_get_config() to sbcErr.Andreas Schneider2011-05-101-25/+18
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_transaction_*() to sbcErr.Andreas Schneider2011-05-101-37/+35
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_delete_includes() to sbcErr.Andreas Schneider2011-05-101-4/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_set_includes() to sbcErr.Andreas Schneider2011-05-101-6/+11
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_includes() to sbcErr.Andreas Schneider2011-05-101-4/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_delete_parameter() to sbcErr.Andreas Schneider2011-05-101-7/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_parameter() to sbcErr.Andreas Schneider2011-05-101-7/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_set_parameter() to sbcErr.Andreas Schneider2011-05-101-21/+21
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_delete_share() to sbcErr.Andreas Schneider2011-05-101-6/+7
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_share() to sbcErr.Andreas Schneider2011-05-101-8/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_create_share() to smbErr.Andreas Schneider2011-05-101-8/+12
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_share_names() to sbcErr.Andreas Schneider2011-05-101-4/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_drop() to sbcErr.Andreas Schneider2011-05-101-6/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_init() to sbcErr.Andreas Schneider2011-05-101-7/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-utils Set dyn_CONFIGFILE from -c on smbpasswd command lineAndrew Bartlett2011-05-081-0/+1
| | | | | | | | This is similar to the code in popt_common and allows the smb.conf to be re-loaded from this file later in the code (or for Samba4 plugins to attempt to parse the same smb.conf). Andrew Bartlett
* s3-includes: no need to globally include libads/ads_status.h.Günther Deschner2011-05-061-0/+1
| | | | Guenther
* s3-includes: finally only include client.h when libsmb is used.Günther Deschner2011-05-062-0/+3
| | | | Guenther