Michael Adam
ce8beb5133
s3:smbcontrol: use lp_load_global(): smbcontrol does not need to load the shares
2011-07-28 11:17:38 +02:00
Michael Adam
b608cfc8ec
s3:smbcacls: use lp_load_global()
2011-07-28 11:17:38 +02:00
Michael Adam
d4abfcc04b
s3:pdbedit: use lp_load_global()
2011-07-28 11:17:38 +02:00
Michael Adam
2a98ee0f83
s3:ntlm_auth: use lp_load_global()
2011-07-28 11:17:37 +02:00
Michael Adam
ac9a61bda8
s3:nmblookup: use lp_load_global()
2011-07-28 11:17:37 +02:00
Michael Adam
82202f99b3
s3:net: use lp_load_global()
2011-07-28 11:17:36 +02:00
Michael Adam
7557ba1eb2
s3:eventlogadm: use lp_load_global()
2011-07-28 11:17:36 +02:00
Michael Adam
1679fe5ca9
s3:dbwrap_torture: use lp_load_global()
2011-07-28 11:17:35 +02:00
Michael Adam
59a2f3d707
s3:dbwrap_tool: use lp_load_global()
2011-07-28 11:17:35 +02:00
Björn Baumbach
d409c0b97b
s3-utils/net_rpc_printer.c: fix error message
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Jul 24 19:01:47 CEST 2011 on sn-devel-104
2011-07-24 19:01:47 +02:00
Björn Baumbach
7302277e43
s3-utils/net_rpc.c: replace cli_query_secdesc_old()
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23 09:31:12 +02:00
Björn Baumbach
c436a7d812
s3-utils/net_rpc_printer.c: replace cli_query_secdesc_old()
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23 09:31:07 +02:00
Björn Baumbach
eacd555f70
s3-utils/smbcacls.c: replace cli_query_secdesc_old()
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23 09:31:02 +02:00
Björn Baumbach
768646c9a2
s3-libsmb: rename cli_query_secdesc() to cli_query_secdesc_old()
...
Will introduce new cli_query_secdesc() function
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23 09:18:56 +02:00
Björn Baumbach
ebc53c3575
s3-utils/net_rpc_printer.c: print more info on write error
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23 09:18:54 +02:00
Björn Baumbach
fd7631c633
s3-utils/net_rpc_printer.c: return on read error in net_copy_file()
...
replace cli_read_old() with cli_read()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23 09:18:46 +02:00
Stefan Metzmacher
e0a38c3a36
s3:net_util: use server_name instead of cli->desthost
...
They should be the same.
metze
2011-07-22 17:06:10 +02:00
Stefan Metzmacher
4fb03b4edd
s3:net_rpc_registry: use pipe_hnd->desthost instead of cli->desthost
...
metze
2011-07-22 17:06:10 +02:00
Stefan Metzmacher
1f1ca59a04
s3:net_rpc_printer: make use of cli_state_remote_name()
...
metze
2011-07-22 17:06:10 +02:00
Stefan Metzmacher
419eb293f7
s3:net_rpc_join: make use of cli_state_remote_name()
...
metze
2011-07-22 17:06:10 +02:00
Stefan Metzmacher
7ca20eadf4
s3:net_rpc_join: use pipe_hnd->desthost instead of cli->desthost
...
metze
2011-07-22 17:06:10 +02:00
Stefan Metzmacher
27c38dfb44
s3:net_rpc: make use of cli_state_remote_name()
...
metze
2011-07-22 17:06:10 +02:00
Stefan Metzmacher
f88723ab27
s3:net_rpc: use netr->desthost instead of cli->desthost
...
metze
2011-07-22 17:06:10 +02:00
Stefan Metzmacher
3d675f1219
s3:net_rap: make use of cli_state_remote_name()
...
metze
2011-07-22 17:06:10 +02:00
Stefan Metzmacher
cc4b2a6dc3
s3:net_rpc_printer: make use of cli_state_remote_sockaddr()
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
9b40092cbd
s3:net_rpc: make use of cli_state_remote_sockaddr()
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
a46b265563
s3:net_rpc_join: make use of cli_state_remote_sockaddr()
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
f0c1b5dad2
s3:net_rpc_join: pass const sockaddr_storage to net_rpc_join_ok()
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
e91797689b
s3:net_util: pass const sockaddr_storage to net_make_ipc_connection_ex()
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
f7cd20d43c
s3:net_util: add some const to sockaddr_storage
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
552164c7bc
s3:smbcquotas: pass down NULL instead of a zero sockaddr_storage
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
d60a1b4bb0
s3:smbcacls: pass down NULL instead of a zero sockaddr_storage
...
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
6cc61d6341
s3:net_time: expect const sockaddr_storage in cli_servertime()
...
We don't want to modify the value.
metze
2011-07-22 17:06:08 +02:00
Stefan Metzmacher
5bd80b20a1
s3:smbtree: try to fix completely broken logic in get_workgroups()
...
metze
2011-07-22 17:06:07 +02:00
Christian Ambach
410c4deefe
s3:utils fix a compiler warning
...
fix a compiler warning about missing prototypes
2011-07-21 14:57:10 +02:00
Christian Ambach
9779af85d6
s3:utils/net_afs fix compiler warnings
2011-07-21 14:55:01 +02:00
Christian Ambach
3b231e6a12
s3:lib/afs fix the build with --with-fake-kaserver
...
This fixes one piece of Bug #8263
2011-07-21 14:51:28 +02:00
Björn Baumbach
9b168e128a
s3-libsmb: replace cli_read() with cli_read_old()
...
Will introduce new cli_read() function.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-20 22:09:25 +02:00
Stefan Metzmacher
8f41e54d53
s3:libsmb: move cli->cnum to cli->smb1.tid and hide it behind cli_state_[g|s]et_tid()
...
metze
2011-07-20 15:56:27 +02:00
Günther Deschner
3af3e4843f
lsa: rename auth info argument in lsa_CreateTrustedDomainEx2
...
Guenther
2011-07-15 17:55:20 +02:00
Volker Lendecke
70da27838b
s3: Avoid leaking http_timestring in print_registry_key
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jul 15 09:44:05 CEST 2011 on sn-devel-104
2011-07-15 09:44:05 +02:00
Andrew Bartlett
fad3c763f7
s3-param Remove lp_set_passdb_backend()
2011-07-08 11:23:23 +02:00
Stefan Metzmacher
9a350ca3b6
s3:utils: avoid cli_nt_error()/cli_errstr() if we already have the status
...
metze
2011-07-07 19:16:27 +02:00
Günther Deschner
cfc3b6e5f7
s3-printing: make sure to first migrate the printers then the security descriptor.
...
Guenther
Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07 18:06:02 +02:00
Günther Deschner
57bbb32c64
s3-printing: remove spoolss pipe from migration library, only using winreg finally.
...
Guenther
Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07 18:06:02 +02:00
Gregor Beck
cd83c1d958
s3:testparm: avoid spurious warnings about dos mode mapping and create mask 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-07 12:49:00 +02:00
Volker Lendecke
26782fbbf3
s3: make cli_resolve_path return NTSTATUS
...
This looks larger than it is. No parameters needed changing.
2011-07-06 08:35:27 +02:00
Günther Deschner
ff94539f27
s3-printing: open up a winreg pipe handle for the migration code.
...
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-04 15:06:41 +02:00
Andrew Bartlett
d4ef70a764
param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()
...
Jermey started this in 1997 with 0aa493cc03
(avoiding the duplicate function makes it easier to generate the
struct loadparm_globals).
Andrew Bartlett
2011-07-02 12:31:34 +10:00
Günther Deschner
bafd7212eb
s3-net: use printing_migrate library, and eliminate duplicate code.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jul 1 17:57:09 CEST 2011 on sn-devel-104
2011-07-01 17:57:09 +02:00
David Disseldorp
a36ce0735f
s3-printing: fill devicemode size in migrate_printer()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-06-30 09:40:50 +02:00
Andrew Bartlett
489f528857
param: Merge param headers into lib/param/loadparm.h
...
This defines a common table format, so we can in future define a
common table.
Andrew Bartlett
2011-06-29 15:44:09 +10:00
Andrew Bartlett
4d2c56c4b1
s3-net: Bind our gettext results to 'unix charset'
...
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-23 13:47:27 +02:00
Rusty Russell
d925b327f4
tdb_compat: Higher level API fixes.
...
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-20 11:18:35 +02:00
Rusty Russell
3a8faefd66
tdb_compat: use tdb_firstkey_compat/tdb_nextkey_compat everywhere.
...
Note that tdb_nextkey_compat frees the old key for us.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20 11:18:35 +02:00
Rusty Russell
5a7874e119
tdb_traverse/tdb_traverse_read: check returns for negative, not -1.
...
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-20 11:18:35 +02:00
Rusty Russell
058c4f8492
tdb_fetch_compat: use instead of tdb_fetch.
...
This is a noop for tdb1.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20 11:18:35 +02:00
Stefan Metzmacher
5d736d8777
s3:utils/net_*registry: use c99 initializers which are supported by old gcc 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-15 03:48:41 +02:00
Christian Ambach
7639684f27
s3-utils: fix crash in net cache get
...
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-14 12:01:59 +02:00
Michael Adam
730ea92208
s3:net conf addshare: do not stat-check the share path.
...
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-10 17:38:07 +02:00
Andrew Bartlett
74eed8f3ed
s3-param Remove special case for global_myname(), rename to lp_netbios_name()
...
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-09 12:40:09 +02:00
Andrew Bartlett
f348d148b4
s3-param Remove special case for global_scope()
...
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-09 12:40:09 +02:00
Andrew Bartlett
16b1c77644
lib/util Bring procid_str() into lib/util as server_id_string()
...
This is needed for OpenChange, which prints Samba struct server_id
values in debug messages.
Andrew Bartlett
2011-06-09 12:40:09 +02:00
Andrew Bartlett
5e26e94092
s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_ZERO_ARRAY isn't standard talloc.
2011-06-09 12:40:08 +02:00
Andrew Bartlett
ad0a07c531
s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_ZERO_P isn't standard talloc.
2011-06-09 12:40:08 +02:00
Andrew Bartlett
d5e6a47f06
s3-talloc Change TALLOC_P() to talloc()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_P isn't standard talloc.
2011-06-09 12:40:08 +02:00
Andrew Bartlett
3d15137653
s3-talloc Change TALLOC_ARRAY() to talloc_array()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_ARRAY isn't standard talloc.
2011-06-09 12:40:08 +02:00
Andrew Bartlett
73b377432c
s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_REALLOC_ARRAY isn't standard talloc.
Andrew Bartlett
2011-06-09 12:40:08 +02:00
Volker Lendecke
10f5fa8a1e
s3: Make use of name_resolve_bcast in nmblookup
2011-06-05 14:08:01 +02:00
Jeremy Allison
c06a31dd65
Fix const warnings.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Jun 2 01:02:53 CEST 2011 on sn-devel-104
2011-06-02 01:02:53 +02:00
Jeremy Allison
cbfe8029a4
Fix const warning.
2011-06-01 23:53:07 +02:00
Jeremy Allison
24ce9d52a6
Fix const warning.
2011-06-01 23:53:07 +02:00
Günther Deschner
f103e0c39f
s3: fix more -Wunused-but-set-variable build warnings.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Jun 1 00:29:30 CEST 2011 on sn-devel-104
2011-06-01 00:29:30 +02:00
Günther Deschner
4ac4ad2108
s3-utils: fix another -Wunused-but-set-variable build warning.
...
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-31 05:18:42 +02:00
Sumit Bose
e10f27d575
Improve documentation for net rpc trust
...
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-30 20:05:34 +02:00
Gregor Beck
723ba6024c
s3:net: registry export: close key after recursion returns
...
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-30 18:53:28 +02:00
Michael Adam
0d746f653e
s3:net registry: polish output of net registry enumerate[_recursive]
...
so that net registry enumerate output is as before, and
net registry enumerate_recursive is formatted more nicely
2011-05-30 17:42:27 +02:00
Gregor Beck
5ec479fa0c
s3:net: registry: use recursive implementation for enumerate
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30 17:42:27 +02:00
Gregor Beck
22011ddc9e
s3:net: registry: add new command enumerate_recursive
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30 17:42:27 +02:00
Gregor Beck
c967e8fae5
s3:smbcacls: fix parsing of multiple flags
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30 17:42:27 +02:00
Volker Lendecke
797316ae97
s3: Use cli_connect_nb in net_rpc_check
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat May 28 21:57:04 CEST 2011 on sn-devel-104
2011-05-28 21:57:04 +02:00
Volker Lendecke
54970f90f6
s3: Use cli_connect_nb in cli_servertime
2011-05-28 20:50:10 +02:00
Andrew Bartlett
ee0ee5e925
s3-testparm Warn about incorrect use of 'password server'
...
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-25 05:20:57 +02:00
Stefan Metzmacher
1e472f1534
s3:testparm: don't return an error for a warning message
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri May 20 13:14:39 CEST 2011 on sn-devel-104
2011-05-20 13:14:38 +02:00
Andrew Bartlett
06435acf3b
s3-testparm Warn more on incorrect use of 'password server'
2011-05-18 16:12:08 +02:00
Andrew Bartlett
3c8de7dd66
lib/util/charset Don't allow invalid 'dos charset = utf8'
...
No DOS client used UTF8, and this creates subtle, difficult to
disagnose breakage of schannel (domain membership).
Andrew Bartlett
2011-05-18 16:12:08 +02:00
Andrew Bartlett
da662b82b8
s3-lib Replace StrnCaseCmp() with strncasecmp_m()
...
strncasecmp_m() never needs to call to talloc, and via next_codepoint()
still has an ASCII fast-path bypassing iconv() calls.
Andrew Bartlett
2011-05-18 16:12:08 +02:00
Andrew Bartlett
c615ebed6e
s3-lib Replace StrCaseCmp() with strcasecmp_m()
...
strcasecmp_m() never needs to call to talloc, and via next_codepoint()
still has an ASCII fast-path bypassing iconv() calls.
Andrew Bartlett
2011-05-18 16:12:08 +02:00
Björn Baumbach
25f1583b9f
s3-net_rpc_printer.c: Fix cli_errstr() usage (part of bug #7864 )
...
Convert cli_errstr() to nt_errstr()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-05-18 10:53:45 +02:00
Günther Deschner
3d100216b8
s3-net: fix potential crash bug in display_print_driver3().
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri May 13 18:49:06 CEST 2011 on sn-devel-104
2011-05-13 18:49:06 +02:00
Andreas Schneider
4d391d29f8
libsmbconf: Convert smbconf_get_config() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:22 +02:00
Andreas Schneider
e1f0b91c5f
libsmbconf: Convert smbconf_transaction_*() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:22 +02:00
Andreas Schneider
72d15f0c03
libsmbconf: Convert smbconf_delete_includes() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:22 +02:00
Andreas Schneider
d911bafea6
libsmbconf: Convert smbconf_set_includes() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:22 +02:00
Andreas Schneider
9f9711490a
libsmbconf: Convert smbconf_get_includes() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
e19c4f278b
libsmbconf: Convert smbconf_delete_parameter() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
ff5838d97a
libsmbconf: Convert smbconf_get_parameter() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
ddc28a683f
libsmbconf: Convert smbconf_set_parameter() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
fbd7626656
libsmbconf: Convert smbconf_delete_share() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
7f355e05f9
libsmbconf: Convert smbconf_get_share() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
7af2876e45
libsmbconf: Convert smbconf_create_share() to smbErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Andreas Schneider
823cd472b4
libsmbconf: Convert smbconf_get_share_names() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Andreas Schneider
720ba8e7e7
libsmbconf: Convert smbconf_drop() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Andreas Schneider
29eea4b09a
libsmbconf: Convert smbconf_init() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Andrew Bartlett
c3bb5b04e2
s3-utils Set dyn_CONFIGFILE from -c on smbpasswd command line
...
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
2011-05-08 10:56:27 +02:00
Günther Deschner
1e208a7057
s3-includes: no need to globally include libads/ads_status.h.
...
Guenther
2011-05-06 16:37:22 +02:00
Günther Deschner
675573d54b
s3-includes: finally only include client.h when libsmb is used.
...
Guenther
2011-05-06 16:37:22 +02:00
Günther Deschner
27022587e3
s3-libsmb: move protos to libsmb/proto.h
...
Guenther
2011-05-06 16:37:18 +02:00
Günther Deschner
d8cfca3a9b
s3: only include tdb headers where needed.
...
Guenther
2011-05-06 10:48:10 +02:00
Jeremy Allison
7d6ebe0de7
More const fixes. Remove CONST_DISCARD.
2011-05-06 01:44:07 +02:00
Jeremy Allison
9eee6e2fd2
More const fixes... getting near the end now.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104
2011-05-06 00:57:00 +02:00
Jeremy Allison
f85e095dd2
More simple const fixups.
2011-05-05 23:56:08 +02:00
Jeremy Allison
8380835fc6
Fix warning messages caused by addition of null check in fstrcpy macro.
2011-05-04 12:12:15 -07:00
Jeremy Allison
017e0c8d95
Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.
2011-05-04 12:12:13 -07:00
Günther Deschner
0bb4701a74
s3: remove various references to server side dcerpc structs (which are not needed).
...
Guenther
2011-05-02 15:03:44 +02:00
Andrew Bartlett
0eca33bbf6
s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIR
...
This means we use just one constant for this file attribute.
Andrew Bartlett
2011-04-29 16:38:13 +10:00
Andrew Bartlett
0a3c84b554
s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEM
...
This means we use just one constant for this file attribute.
Andrew Bartlett
2011-04-29 16:38:13 +10:00
Andrew Bartlett
317e19aeb3
s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDEN
...
This means we use just one constant for this file attribute.
Andrew Bartlett
2011-04-29 16:38:12 +10:00
Andrew Bartlett
818ec32d0c
s3-libads Pass a struct sockaddr_storage to cldap routines
...
This avoids these routines doing a DNS lookup that has already been
done, and ensures that the emulated DNS lookup isn't thrown away.
Andrew Bartlett
2011-04-28 05:30:20 +02:00
Volker Lendecke
0226428eb9
s3: Use cli_writeall instead of cli_write
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26 12:22:55 -07:00
Günther Deschner
633dbabe91
s3-utils: Fix Bug #8106 . Fix the build of smbget on HP NonStop.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Apr 26 16:41:17 CEST 2011 on sn-devel-104
2011-04-26 16:41:17 +02:00
Günther Deschner
6768b65123
s3-waf: try to fix the non-ldap-but-krb5 build.
...
Guenther
2011-04-15 12:37:55 +02:00
Volker Lendecke
53f50c2268
s3: Fix bug 8066, wrong output in smbget
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Apr 15 09:32:55 CEST 2011 on sn-devel-104
2011-04-15 09:32:55 +02:00
Günther Deschner
165521e20d
s3: only include smb profiling where needed.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104
2011-04-14 01:31:39 +02:00
Günther Deschner
9824e2e5ee
s3-rpc_client: add and use rpc_client/rpc_client.h.
...
Guenther
2011-04-13 22:23:59 +02:00
Andrew Bartlett
d309499b9e
s3-build Remove distinct LOCALEDIR subsystem
...
This is no different to the rest of dynconfig, and so should be dealt
with there.
Andrew Bartlett
2011-04-13 15:51:52 +10:00
Volker Lendecke
feb3cdee36
s3: Retry the join with the short name
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-12 13:24:24 +02:00
Michael Adam
58a0c8a9e0
s3:net idmap check: fix output of an invalid record
...
Only print the value number for hwm, version and seqnum keys.
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Apr 8 17:29:31 CEST 2011 on sn-devel-104
2011-04-08 17:29:31 +02:00
Gregor Beck
6db4fc15df
s3-net: "idmap check" ignore __db_sequence_number__
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-04-08 16:44:57 +02:00
Michael Adam
9705dab835
s3:net rpc trust: fix two C++ implicit void * cast warnings
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Apr 7 17:52:28 CEST 2011 on sn-devel-104
2011-04-07 17:52:28 +02:00
Michael Adam
838e2dd1f1
s3:net idmap check: fix a couple of c++ implicit void * cast warnings
2011-04-07 17:08:16 +02:00
Gregor Beck
7d040434dc
s3-net: fix the usage output of "net idmap check"
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-04-07 13:13:27 +02:00
Sumit Bose
2bafb4ccbb
s3-net: Add delete op for net trust utility
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06 12:25:46 +02:00
Sumit Bose
11c342724f
s3-net: Add net trust utility
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06 12:25:42 +02:00
Sumit Bose
afdc9055b5
s3-net: add IPA provision
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06 11:53:56 +02:00
Gregor Beck
a217ec64ec
s3-net: add command "net idmap check"
...
This is a tool to check the consistency of an idmap tdb database.
The default mode is to scan the database and list invalid entries,
e.g. records with an invalid format, or records which are valid
but for which the reverse mapping entry is missing.
With the "--repair" switch, one can enter an interactive
repair mode which will prompt for each invalid entry found
with the option to delete, skip or edit the record.
There is also a non-interactive repair mode triggered by "--auto"
which will remove all records with invalid content and fill up
mappings which are missing the reverse entry.
The "--test" parameter lets "net idmap check" only list the
changes that would be written and not actually commit them to
the database.
The "--lock" option allows to lock the database already in the
first reading traverse, in order to remove the race when the
database has to be closed and reopened again before writing
the changes.
Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Apr 4 18:21:09 CEST 2011 on sn-devel-104
2011-04-04 18:21:09 +02:00
Volker Lendecke
d9b03cb4f0
s3: Fix Coverity ID 1136: CONSTANT_EXPRESSION_RESULT
2011-04-01 08:50:06 +02:00
Sumit Bose
34ea813553
s3-net: Do not use uninitialized value
...
s3-net: Do not use uninitialized value
Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Mar 31 18:09:57 CEST 2011 on sn-devel-104
2011-03-31 18:09:57 +02:00
Günther Deschner
c2d6260f10
s3: only include lib/privileges.h where needed.
...
This finally removes the global lsa.h inclusion.
Guenther
2011-03-30 01:13:10 +02:00
Günther Deschner
643b08dd25
s3: include ../librpc/gen_ndr/lsa.h where needed.
...
Guenther
2011-03-30 01:13:10 +02:00
Günther Deschner
6e3f0d28a4
s3-includes: only include ntdomain.h where needed.
...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
ab36d597e7
s3-messages: make ndr_messaging.h part of messages.h.
...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
b2af281e50
s3-messages: only include messages.h where needed.
...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
2473c2fb1b
s3-libsmb: put namequery headers to nmblib.h
...
We might find a better name for it and merge other namequery related things as
well here...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
2377039738
s3-locking: move locking prototypes out of proto.h.
...
Will later become part of locking.h
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
235f148590
s3-passdb: use passdb headers where needed.
...
Guenther
2011-03-30 01:13:08 +02:00
Günther Deschner
2f36ef7225
s3-passdb: add passdb.h where needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
0a250f4946
registry: create and use shared libcli/registry/util_reg.h header.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
49ccae1c20
s3-includes: no point in including all security headers globally.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
0e771263ee
s3-includes: only include system/filesys.h when needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
49fcf653b1
s3-includes: only include system/passwd.h when needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
d85f140826
s3-winbind: remove global inclusion of libwbclient.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
96487959e9
lib/util/util_pw: share more code between lib/util/util_pw.c and source3/lib/username.c
...
Guenther
2011-03-30 01:13:06 +02:00
Volker Lendecke
6bee354377
s3: Fix Coverity ID 2228: RESOURCE_LEAK
...
Holger, please check!
2011-03-27 22:22:11 +02:00
Andrew Tridgell
15e84a9a09
charcnv: removed the allow_badcharcnv and allow_bad_conv options to convert_string*()
...
we shouldn't accept bad multi-byte strings, it just hides problems
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-24 01:47:26 +01:00
Günther Deschner
48c604a3b7
s3-smbta-util: fix some buildwarnings.
...
Guenther
2011-03-23 19:24:35 +01:00
Volker Lendecke
e88b9df78b
s3: Fix Coverity ID 2202, NULL_RETURNS
2011-03-23 12:19:57 +01:00
Andrew Tridgell
c8297073db
s3-fault: removed the cont_fn from fault_setup()
...
cont_fn() was supposed to be a way to continue after a seg fault. It
could never be called however, as smb_panic() from fault_report()
could never return, as dump_core() never returns at the end of
smb_panic()
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Mar 22 05:07:58 CET 2011 on sn-devel-104
2011-03-22 05:07:58 +01:00
Günther Deschner
5def6f0eca
s3-net: make sure we set correct default user flags in rap_user_add().
...
Guenther
2011-03-18 01:24:07 +01:00
Günther Deschner
faf8becf22
s3-utils: run minimal_includes.pl over utils/*.c
...
Guenther
2011-03-18 01:24:06 +01:00
Sumit Bose
4562a7914d
s3:net Find uid before using it
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-17 13:57:28 +01:00
Günther Deschner
3aa9d3005a
s3-build: only include asn1 headers where actually needed.
...
Guenther
2011-03-16 23:46:18 +01:00
Volker Lendecke
2581cb7ada
s3: Fix Coverity ID 1402: PASS_BY_VALUE
...
There's no point in passing GROUP_MAP on the stack
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Mar 16 21:58:08 CET 2011 on sn-devel-104
2011-03-16 21:58:08 +01:00
Günther Deschner
e1f84330ba
libcli/security: move display_sec headers to own header file and add to
...
security.h grouping header.
Guenther
2011-03-16 10:11:08 +01:00
Günther Deschner
7a91282c9f
s3-libsmb: only include rap client when needed.
...
Guenther
2011-03-15 21:16:35 +01:00
Volker Lendecke
4f34955e2c
s3: Fix Coverity ID 2290: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_DeleteKey.
2011-03-15 11:10:42 +01:00
Günther Deschner
af2538d16f
s3-build: remove -I../lib/addns.
...
Guenther
2011-03-10 23:25:04 +01:00
Volker Lendecke
c97ea5976c
s3-net: Use wbcSidToStringBuf
2011-03-05 14:29:32 +01:00
Günther Deschner
ea29261186
s3-sessionid: avoid global include of sessionid.h
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Mar 2 12:58:12 CET 2011 on sn-devel-104
2011-03-02 12:58:12 +01:00
Günther Deschner
8643683dd8
s3-server_id: only include server_id where needed.
...
Guenther
2011-03-02 12:12:31 +01:00
Jelmer Vernooij
59a077d8f5
Fix some types
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
2011-02-28 23:30:06 +01:00
Andreas Schneider
bf18403c81
s3-rpc_client: Move client pipe functions to own header.
2011-02-28 18:15:04 +01:00
Volker Lendecke
89d81b310e
s3: Eliminate sys_select_intr from smbfilter
2011-02-28 16:40:19 +01:00
Gregor Beck
58081884f7
s3: smbcontrol to notify smbd about idmap changes
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Feb 28 14:07:23 CET 2011 on sn-devel-104
2011-02-28 14:07:23 +01:00
Volker Lendecke
fec0baacb6
s3: Make is_zero_addr take a sockaddr_storage
...
All callers had to cast this anyway
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
2011-02-27 11:02:53 +01:00
Günther Deschner
66e040ee0a
s3-printing: isolate print notification prototypes better.
...
Guenther
2011-02-22 21:52:18 +01:00
Volker Lendecke
943aac2e36
s3: Add "len" to pdb_set_hours
2011-02-19 11:32:49 +01:00
Andrew Bartlett
09c4a5cd9b
s3-cluster Always fill in the clustering vnn element
...
This avoids this structure being partially uninitialised.
Adnrew Bartlett
2011-02-17 16:02:19 +01:00
Michael Adam
fbfa5c62b8
s3:net: fix usage for "net rpc registry export"
2011-02-16 12:56:40 +01:00
Günther Deschner
ca574482b8
s3: no need to globally include intl.h.
...
Guenther
2011-02-15 12:09:22 +01:00
Christian Ambach
d8a90b499b
s3:utils enable sharesec for registry shares
...
Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 9 16:41:31 CET 2011 on sn-devel-104
2011-02-09 16:41:31 +01:00
Gregor Beck
927102790e
s3:net idmap: implement net idmap delete
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 9 15:06:06 CET 2011 on sn-devel-104
2011-02-09 15:06:06 +01:00
Michael Adam
a6d45d0ad8
s3:net idmap dump: report correct database file when failed to open idmap db.
2011-02-09 14:00:35 +01:00
Gregor Beck
59ccfac211
s3:net idmap dump: use net_idmap_dbfile
2011-02-09 14:00:35 +01:00
Michael Adam
79307cf006
s3:net idmap restore: correctly abort operation if dbfile could not be determined
2011-02-09 14:00:34 +01:00
Michael Adam
92f856c513
s3:net idmap: fix error reporting in net_idmap_dbfile()
...
The last case which results in dbfile == NULL is not an
out of memory case but means no --db has been specified
and the idmap backend is not supported for auto-determining
the idmap tdb file.
2011-02-09 14:00:34 +01:00
Gregor Beck
e2795f5664
s3:net factor out net_idmap_dbfile
2011-02-09 14:00:34 +01:00
Gregor Beck
1f1a165ea9
s3:net idmap restore: fix segfault on missing input file
2011-02-09 14:00:34 +01:00
Gregor Beck
47f499abf6
s3:net add option --db
2011-02-09 14:00:34 +01:00
Michael Adam
872d913fa2
s3:testparm: add "--option" to testparm
...
This way one can test the --option feature with testparm.
E.g.:
testparm -s -v --option="parameter=value" | grep parameter
should print "parameter = value"
2011-02-09 14:00:34 +01:00
Jeremy Allison
a674a56a97
Add fdopendir to the VFS. We will use this to reuse a directory fd already open by NtCreateX.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb 9 00:55:22 CET 2011 on sn-devel-104
2011-02-09 00:55:22 +01:00
Volker Lendecke
5a0ee95b95
s3: Fix some nonempty blank lines and some typos
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb 9 00:01:45 CET 2011 on sn-devel-104
2011-02-09 00:01:45 +01:00
Gregor Beck
01d3da3c7c
s3:net: remove unused net_idmap_help
...
Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue Feb 8 11:50:37 CET 2011 on sn-devel-104
2011-02-08 11:50:37 +01:00
Michael Adam
3bccd2f3f3
s3:net conf: fix a comment typo
2011-02-07 18:37:42 +01:00
Andreas Schneider
34e8a50e5a
s3-util: Moved eventlog_add_source to admin util.
...
This function is only used in the admin util.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Günther Deschner
00478b0559
s3-net: prefer dcerpc_lsa_X functions in "net rpc".
...
Guenther
2011-02-02 19:03:36 +01:00
Günther Deschner
eab00491f3
s3-net: prefer dcerpc_lsa_X functions in "net rpc rights".
...
Guenther
2011-02-02 19:03:26 +01:00
Günther Deschner
8055bc82b0
s3-net: use status variable in "net rpc rights".
...
Guenther
2011-02-02 19:03:20 +01:00
Günther Deschner
32064346f0
s3-net: prefer dcerpc_lsa_X functions in net_util.c
...
Guenther
2011-02-02 19:03:13 +01:00
Günther Deschner
63de60c2bc
s3-net: prefer dcerpc_lsa_X functions in "net rpc join".
...
Guenther
2011-02-02 19:03:06 +01:00
Günther Deschner
61d18b7f08
s3-net: prefer dcerpc_lsa_X functions in "net rpc audit".
...
Guenther
2011-02-02 19:03:00 +01:00
Günther Deschner
d38d743166
s3-net: use status variable in "net rpc audit".
...
Guenther
2011-02-02 19:02:54 +01:00
Günther Deschner
50170d7fd5
s3-net: prefer dcerpc_samr_X functions in net_rpc_join_newstyle.
...
Guenther
2011-02-02 18:11:19 +01:00
Günther Deschner
b53c0c8c85
s3-net: use status variable in net_rpc_join_newstyle.
...
Guenther
2011-02-02 18:11:19 +01:00
Günther Deschner
91e6dad749
s3-dssync-passdb: add basic routines and net function.
...
Guenther
2011-02-02 15:45:20 +01:00
Stefan Metzmacher
1c1aebae82
s3:net: make some net_rpc_samsync.c functions static
...
metze
2011-02-02 15:45:20 +01:00
Stefan Metzmacher
0313969aed
s3:net: "net rpc vampire" is an alias for "net rpc vampire passdb"
...
The should use exactly the same code path for both.
metze
2011-02-02 15:45:20 +01:00
Volker Lendecke
a62d67e639
s3: Fix a typo
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb 2 14:58:52 CET 2011 on sn-devel-104
2011-02-02 14:58:52 +01:00
Günther Deschner
a19c1cbb8d
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_list.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 2 00:21:19 CET 2011 on sn-devel-104
2011-02-02 00:21:19 +01:00
Günther Deschner
c7b1432b6e
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_del_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
95ee07d8ab
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_add_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
49f08d1d7c
s3-net: prefer dcerpc_samr_X functions in rpc_aliaslist_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
37f2f518be
s3-net: prefer dcerpc_samr_X functions in rpc_fetch_domain_aliases.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
bf10bbc074
s3-net: prefer dcerpc_samr_X functions in rpc_group_members_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
20edb2d48b
s3-net: prefer dcerpc_samr_X functions in rpc_list_alias_members.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
2a63433e94
s3-net: prefer dcerpc_samr_X functions in rpc_list_group_members.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
d280a52fdd
s3-net: prefer dcerpc_samr_X functions in rpc_group_list_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
84e3d14f7a
s3-net: prefer dcerpc_samr_X functions in rpc_del_aliasmem.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
b9b2325f45
s3-net: prefer dcerpc_samr_X functions in rpc_del_groupmem.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
55e042a4f2
s3-net: prefer dcerpc_samr_X functions in rpc_add_aliasmem.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
f8147fbb14
s3-net: prefer dcerpc_samr_X functions in rpc_add_groupmem.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
e14c214ab3
s3-net: prefer dcerpc_samr_X functions in rpc_group_delete_internals.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
54b74c781d
s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_flag_edit_internals.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
1d3b378001
s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_str_edit_internals.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
a87a9fc9ce
s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_show_internals.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
021e0b4cda
s3-net: prefer dcerpc_samr_X functions in rpc_sh_handle_user.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
f140e892f6
s3-net: prefer dcerpc_samr_X functions in rpc_info_internals.
...
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
e3aafb2a7f
s3-net: prefer dcerpc_samr_X functions in net_rpc_sh_acct.c.
...
Guenther
2011-02-01 23:29:12 +01:00
Günther Deschner
753094d5d2
s3-net: add net_scan_dc non-ad variant.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 1 17:48:40 CET 2011 on sn-devel-104
2011-02-01 17:48:40 +01:00
Michael Adam
e57d4c41d7
s3:net registry: ignore WERR_BADFILE when --force is given in deletekey[_recursive]
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sun Jan 30 14:53:13 CET 2011 on sn-devel-104
2011-01-30 14:53:13 +01:00
Michael Adam
e81ddbcade
s3:net registry: fix a debug message.
2011-01-30 14:09:04 +01:00
Michael Adam
3649798bee
s3:net registry: fix a debug message.
2011-01-30 14:09:04 +01:00
Günther Deschner
fc16baaf91
s3-net: use struct based dcerpc_spoolss_EnumPrinterData_r() call.
...
This is a workaround for a string issue we currently have with argument based
generated dcerpc client code (see bug #7804 for details).
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jan 28 22:05:20 CET 2011 on sn-devel-104
2011-01-28 22:05:20 +01:00
Günther Deschner
1232fb5a1e
s3-rpc_client: remove some more obsolete cli_X.h header files.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jan 28 11:18:44 CET 2011 on sn-devel-104
2011-01-28 11:18:44 +01:00
Andreas Schneider
efde1d870b
s3-utils: Fixed a resource leak in net_afs.
...
s3-utils: Fixed a resource leak in net_afs.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Jan 27 00:12:47 CET 2011 on sn-devel-104
2011-01-27 00:12:47 +01:00
Andreas Schneider
4fc75c755d
s3-utils: Fixed a resource leak in smbta-util.
...
s3-utils: Fixed a resource leak in smbta-util.
2011-01-26 14:20:37 -08:00
Andreas Schneider
f419c2b091
s3-utils: Fixed possible resource leak in net_usershare.
...
s3-utils: Fixed possible resource leak in net_usershare.
2011-01-26 14:20:37 -08:00
Andreas Schneider
de4ef101c1
s3-utils: Fixed possible resource leak in smbget.
...
s3-utils: Fixed possible resource leak in smbget.
2011-01-26 14:20:37 -08:00
Andreas Schneider
08dc51d3ca
s3-utils: Fixed possible resource leak in smbfilter.
...
s3-utils: Fixed possible resource leak in smbfilter.
2011-01-26 14:20:37 -08:00
Andreas Schneider
089c25cbbb
s3-rpc_client: Rename get_query_dispinfo_params.
2011-01-21 14:34:18 +01:00
Stefan Metzmacher
81443447a1
s3:net: use dcerpc_spoolss_X() functions
...
metze
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-21 12:30:22 +01:00
Olly Betts
f8f1711f61
Fix "net usersidlist" not to skip every other user
...
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
2011-01-19 01:34:29 +01:00
Günther Deschner
430664d769
s3-net: use correct spoolss header in net rpc.
...
Guenther
2011-01-18 23:54:31 +01:00
Günther Deschner
66bc2f9127
s3-net: use correct spoolss header in net_ads.c.
...
Guenther
2011-01-18 23:54:30 +01:00
Volker Lendecke
5dee39b5bf
s3: Move dump_ntquota* to smbcquotas.c
2011-01-17 08:03:41 +01:00
Volker Lendecke
a1f541723d
s3: Convert cli_set_fs_quota_info to cli_trans
2011-01-17 08:03:41 +01:00
Volker Lendecke
797c027cc8
s3: Convert cli_get_fs_quota_info to cli_trans
2011-01-17 08:03:41 +01:00
Volker Lendecke
483e0447f5
s3: Convert cli_list_user_quota to cli_trans
2011-01-17 08:03:41 +01:00
Volker Lendecke
eb7db50f60
s3: Convert cli_set_user_quota to cli_trans
2011-01-17 08:03:41 +01:00
Volker Lendecke
e2a96711d7
s3: Convert cli_get_user_quota to cli_trans
2011-01-17 08:03:41 +01:00