summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2011-07-21s3:utils fix a compiler warningChristian Ambach1-0/+1
fix a compiler warning about missing prototypes
2011-07-21s3:utils/net_afs fix compiler warningsChristian Ambach1-2/+3
2011-07-21s3:lib/afs fix the build with --with-fake-kaserverChristian Ambach1-0/+2
This fixes one piece of Bug #8263
2011-07-20s3-libsmb: replace cli_read() with cli_read_old()Björn Baumbach1-1/+1
Will introduce new cli_read() function. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-20s3:libsmb: move cli->cnum to cli->smb1.tid and hide it behind ↵Stefan Metzmacher2-6/+6
cli_state_[g|s]et_tid() metze
2011-07-15lsa: rename auth info argument in lsa_CreateTrustedDomainEx2Günther Deschner1-1/+1
Guenther
2011-07-15s3: Avoid leaking http_timestring in print_registry_keyVolker Lendecke1-4/+12
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jul 15 09:44:05 CEST 2011 on sn-devel-104
2011-07-08s3-param Remove lp_set_passdb_backend()Andrew Bartlett1-1/+1
2011-07-07s3:utils: avoid cli_nt_error()/cli_errstr() if we already have the statusStefan Metzmacher1-2/+2
metze
2011-07-07s3-printing: make sure to first migrate the printers then the security ↵Günther Deschner1-0/+12
descriptor. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: remove spoolss pipe from migration library, only using winreg ↵Günther Deschner1-16/+2
finally. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3:testparm: avoid spurious warnings about dos mode mapping and create mask ↵Gregor Beck1-19/+27
if store dos attributes is set Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 7 12:49:01 CEST 2011 on sn-devel-104
2011-07-06s3: make cli_resolve_path return NTSTATUSVolker Lendecke1-2/+4
This looks larger than it is. No parameters needed changing.
2011-07-04s3-printing: open up a winreg pipe handle for the migration code.Günther Deschner1-0/+16
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jul 4 15:06:41 CEST 2011 on sn-devel-104
2011-07-02param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()Andrew Bartlett1-1/+1
Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett
2011-07-01s3-net: use printing_migrate library, and eliminate duplicate code.Günther Deschner1-415/+6
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jul 1 17:57:09 CEST 2011 on sn-devel-104
2011-06-30s3-printing: fill devicemode size in migrate_printer()David Disseldorp1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-06-29param: Merge param headers into lib/param/loadparm.hAndrew Bartlett2-0/+2
This defines a common table format, so we can in future define a common table. Andrew Bartlett
2011-06-23s3-net: Bind our gettext results to 'unix charset'Andrew Bartlett1-0/+10
This ensures that the translations and any embedded strings are in the same charset. It won't be the one from the user's locale (we no longer auto-detect that), but it will be self-consistent. Thanks to Steve Langasek for pointing this function out! Andrew Bartlett
2011-06-20tdb_compat: Higher level API fixes.Rusty Russell1-2/+2
My previous patches fixed up all direct TDB callers, but there are a few utility functions and the db_context functions which are still using the old -1 / 0 return codes. It's clearer to fix up all the callers of these too, so everywhere is consistent: non-zero means an error. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_compat: use tdb_firstkey_compat/tdb_nextkey_compat everywhere.Rusty Russell1-6/+6
Note that tdb_nextkey_compat frees the old key for us. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_traverse/tdb_traverse_read: check returns for negative, not -1.Rusty Russell3-4/+4
TDB2 returns a negative error number on failure. This is compatible if we always check for < 0 instead of == -1. Also, there's no tdb_traverse_read in TDB2: we don't try to make traverse reliable any more, so there are no write locks anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_fetch_compat: use instead of tdb_fetch.Rusty Russell1-2/+2
This is a noop for tdb1. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-15s3:utils/net_*registry: use c99 initializers which are supported by old gcc ↵Stefan Metzmacher2-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
2011-06-14s3-utils: fix crash in net cache getChristian Ambach1-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
2011-06-10s3:net conf addshare: do not stat-check the share path.Michael Adam1-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
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett12-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
2011-06-09s3-param Remove special case for global_scope()Andrew Bartlett1-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
2011-06-09lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett3-10/+10
This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
2011-06-09s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett3-5/+5
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2-4/+4
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_P() to talloc()Andrew Bartlett3-4/+4
Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett3-7/+7
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
2011-06-05s3: Make use of name_resolve_bcast in nmblookupVolker Lendecke1-21/+3
2011-06-02Fix const warnings.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jun 2 01:02:53 CEST 2011 on sn-devel-104
2011-06-01Fix const warning.Jeremy Allison1-1/+1
2011-06-01Fix const warning.Jeremy Allison1-1/+1
2011-06-01s3: fix more -Wunused-but-set-variable build warnings.Günther Deschner1-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
2011-05-31s3-utils: fix another -Wunused-but-set-variable build warning.Günther Deschner1-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
2011-05-30Improve documentation for net rpc trustSumit Bose1-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
2011-05-30s3:net: registry export: close key after recursion returnsGregor Beck1-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
2011-05-30s3:net registry: polish output of net registry enumerate[_recursive]Michael Adam1-11/+15
so that net registry enumerate output is as before, and net registry enumerate_recursive is formatted more nicely
2011-05-30s3:net: registry: use recursive implementation for enumerateGregor Beck1-63/+41
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30s3:net: registry: add new command enumerate_recursiveGregor Beck1-0/+107
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30s3:smbcacls: fix parsing of multiple flagsGregor Beck1-1/+6
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-28s3: Use cli_connect_nb in net_rpc_checkVolker Lendecke1-8/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 28 21:57:04 CEST 2011 on sn-devel-104
2011-05-28s3: Use cli_connect_nb in cli_servertimeVolker Lendecke1-18/+2
2011-05-25s3-testparm Warn about incorrect use of 'password server'Andrew Bartlett1-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
2011-05-20s3:testparm: don't return an error for a warning messageStefan Metzmacher1-1/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri May 20 13:14:39 CEST 2011 on sn-devel-104