| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
|
|
|
|
|
|
| |
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
|
|
|
|
|
|
| |
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
|
|
|
|
|
|
| |
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
|
|
|
|
|
|
| |
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
|
|
|
|
|
|
| |
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
|
|
|
|
|
|
|
|
|
|
| |
Move the num_requests field out of the smb1 struct into the generic
struct smbd_server_connection struct. Use it to count SMB2 requests
as well as SMB1 and ensure that check_log_size() is called every 50
SMB2 requests.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Jul 8 01:14:53 CEST 2011 on sn-devel-104
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For all requests which don't operate on a tcon, we should call
change_to_root_user(), to match the SMB1 behavior.
For SMB1 we do the following operations without AS_USER:
/* 0x70 */ { "SMBtcon",reply_tcon,0},
/* 0x71 */ { "SMBtdis",reply_tdis,DO_CHDIR},
/* 0x72 */ { "SMBnegprot",reply_negprot,0},
/* 0x73 */ { "SMBsesssetupX",reply_sesssetup_and_X,0},
/* 0x74 */ { "SMBulogoffX",reply_ulogoffX, 0}, /* ulogoff doesn't give a valid TID */
/* 0x75 */ { "SMBtconX",reply_tcon_and_X,0},
...
/* 0x2b */ { "SMBecho",reply_echo,0},
...
/* 0xa4 */ { "SMBntcancel",reply_ntcancel, 0 },
For SMB2tdis we still call smbd_smb2_request_check_tcon()
as close_cnum() calls change_to_root_user() when needed.
metze
Signed-off-by: Jeremy Allison <jra@samba.org>
|
|
|
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jul 7 20:29:13 CEST 2011 on sn-devel-104
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
|
|
|
| |
Use nt_errstr() instead of cli_errstr() for error handling on
cli_unlink() calls.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
|
|
|
| |
Check if the server produced the expected dos or nt error code like
check_error(), but without a cli_state struct.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
| |
plaintext password
This makes sure we push the string always in DOS charset.
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
We should use this and get rid of clistr_push().
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
|
| |
WERR_INVALID_PRINTER_NAME only needed to be handled when printing tdb
migration used spoolss, with winreg such errors are no longer possible.
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Jul 7 19:15:34 CEST 2011 on sn-devel-104
|
|
|
|
|
|
|
|
| |
descriptor.
Guenther
Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
|
|
|
|
|
| |
Also fix possibly uninitialised status return from
printing_tdb_migrate_printer().
|
|
|
|
|
|
|
|
| |
finally.
Guenther
Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
|
|
|
|
|
|
| |
Guenther
Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
|
|
|
|
|
|
|
|
| |
binding_handles.
Guenther
Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
|
|
|
|
|
|
| |
Guenther
Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
|
|
|
|
|
|
| |
Guenther
Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
|
|
|
|
|
|
|
|
| |
srv_spoolss_util.c.
Guenther
Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
|
|
|
|
|
|
| |
Guenther
Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
|
|
|
|
|
|
| |
Guenther
Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
|
|
|
|
|
|
| |
Guenther
Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
|
|
|
|
|
|
| |
Guenther
Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
|
|
|
|
|
|
| |
Guenther
Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
|
|
|
|
|
| |
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Jul 7 18:04:26 CEST 2011 on sn-devel-104
|
|
|
|
|
|
|
|
| |
As auth_util.c is linked several times the static variables have
different address on different calls. This leads to segfaults.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Jul 7 16:50:05 CEST 2011 on sn-devel-104
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Signed-off-by: Kai Blin <kai@samba.org>
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Jul 7 02:29:53 CEST 2011 on sn-devel-104
|
|
|
|
| |
Signed-off-by: Kai Blin <kai@samba.org>
|
|
|
|
|
|
|
| |
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jul 6 19:07:42 CEST 2011 on sn-devel-104
|