summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-08s3:libsmb: remove unused cli->inbuf and cli->bufsizeStefan Metzmacher3-22/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 8 15:21:46 CEST 2011 on sn-devel-104
2011-07-08s3:client: use an inbuf on the stack in readline_callback()Stefan Metzmacher1-2/+3
metze
2011-07-08s3:libsmb: clistr_pull_talloc() doesn't need base_ptr and flags2 with STR_ASCIIStefan Metzmacher1-2/+2
interpret_short_filename() always parses OEM_Strings (in DOS charset). metze
2011-07-08s3:libsmb: remove unused smb_dos_errstr()Stefan Metzmacher2-43/+0
metze
2011-07-08s3:libsmb/smberr: make global const arrays staticStefan Metzmacher1-4/+4
metze
2011-07-08s3:libsmb: don't use the cli->inbuf to store the last errorStefan Metzmacher5-104/+41
We keep the raw error in cli->raw_status now, until we fixed all caller to get the NTSTATUS from the function calls. metze
2011-07-08s3:torture: use cli_is_nt/dos_error() in run_error_map_extract()Stefan Metzmacher1-12/+10
Callers should avoid using cli->inbuf directly! metze
2011-07-08s3:libsmb: don't call cli_set_error() in cli_echo()Stefan Metzmacher1-3/+0
cli_smb_recv() already does it. metze
2011-07-08s3:libsmb: remove unused enum smb_read_errors infrastructureStefan Metzmacher7-134/+10
metze
2011-07-08s3:client: close the socket if receive_smb_raw() failsStefan Metzmacher1-0/+5
metze
2011-07-08s3:client: use cli_nt_error() in order to avoid cli_errstr()Stefan Metzmacher1-3/+8
metze
2011-07-08s3:client: avoid cli_errstr() where we already have an NTSTATUSStefan Metzmacher1-39/+67
metze
2011-07-08s3:clitar: avoid usage of cli_errstr()Stefan Metzmacher1-1/+2
metze
2011-07-08s3:libsmb: remove use of cli_errstr() in SMBC_server_internal()Stefan Metzmacher1-3/+8
metze
2011-07-08s3:auth_server: use cli->is_guestlogin instead of parsing cli->inbuf.Stefan Metzmacher1-1/+1
cli->inbuf is not the valid response buffer of the session setup response. metze
2011-07-08s3:auth: remove unused variableStefan Metzmacher1-1/+0
metze
2011-07-08s3:auth_unix: remove unused varStefan Metzmacher1-1/+0
metze
2011-07-08s3:smb2_server: add some comments about change_to_user() and ↵Stefan Metzmacher1-2/+98
change_to_root_user() metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 8 13:45:46 CEST 2011 on sn-devel-104
2011-07-08lib/param: Merge struct loadparm_service into commonAndrew Bartlett13-210/+233
This is handled by a common header and a .c file that is included into both loadparm.c files. In the process, _lp functions were renamed to lp__ to allow the common function definition declarations to be used by source3 and source4 (which have different macro definitions). The only parameter to change type is 'strict_locking' which was a bool, and is now an int, to accommodate the 'Auto' value from source3. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 8 12:35:56 CEST 2011 on sn-devel-104
2011-07-08s3-param use common struct parmlist_entry to hold parametric optionsAndrew Bartlett3-41/+33
This will allow struct loadparm_service to be shared in future. Andrew Bartlett
2011-07-08param: Move per-share parameters into a seperate file, to share with s3Andrew Bartlett5-37/+43
This will allow the struct loadparm_service to be in common between the two loadparm implementations in the tree. Andrew Bartlett
2011-07-08s4-param Remove offset != -1 checksAndrew Bartlett1-7/+2
No offset values are set to -1 in the parameter table Andrew Bartlett
2011-07-08s4-param change to struct bitmap to match s3-paramAndrew Bartlett2-16/+17
2011-07-08s4-param Also check the p_class matches when comparing offsetAndrew Bartlett1-1/+3
2011-07-08s3-param check for aliases with both p_class and offsetAndrew Bartlett1-6/+17
This bug was found when comparing with the source4 loadparm code. Andrew Bartlett
2011-07-08lib/util Move bitmap.c to lib/utilAndrew Bartlett15-23/+51
2011-07-08param: Add hooks to s3 parm_struct and the parameters void * pointerAndrew Bartlett7-31/+78
This is to that the pyparam hooks can use the hooks to connect with the s3 loadparm system. This now also includes per-service parameters. Andrew Bartlett
2011-07-08s3-lib use True and False in bitmap.cAndrew Bartlett1-7/+7
2011-07-08s3-param: calculate default_server_announce at runtimeAndrew Bartlett1-15/+5
2011-07-08s3-param Remove lp_set_passdb_backend()Andrew Bartlett3-7/+1
2011-07-08s3-zfsacl: Fix a debug messageVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jul 8 11:22:55 CEST 2011 on sn-devel-104
2011-07-08s3:wscript_build: remove unused variableStefan Metzmacher1-2/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 8 02:43:22 CEST 2011 on sn-devel-104
2011-07-08s3:selftest: run SMB2-BASICStefan Metzmacher1-1/+1
metze
2011-07-08s3:torture: add SMB2-BASICStefan Metzmacher5-2/+153
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add smb2cli_query_directory*()Stefan Metzmacher4-0/+207
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add smb2cli_write*()Stefan Metzmacher4-0/+156
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add smb2cli_read*()Stefan Metzmacher4-0/+187
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add smb2cli_flush*()Stefan Metzmacher4-0/+128
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add smb2cli_close*()Stefan Metzmacher4-0/+129
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add smb2cli_create*()Stefan Metzmacher4-1/+285
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add smb2cli_tcon*() and smb2cli_tdis*()Stefan Metzmacher5-0/+249
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add smb2cli_sesssetup*() and smb2cli_logoff*()Stefan Metzmacher4-0/+405
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add smb2cli_negprot*()Stefan Metzmacher5-0/+205
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add basic smb2 client infrastructureStefan Metzmacher5-0/+587
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08Fix bug #8293 - SMB2 doesn't rotate the log files often enough.Jeremy Allison3-3/+21
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
2011-07-07s3:smb2_server: call change_to_root_user() or smbd_smb2_request_check_tcon()Stefan Metzmacher1-3/+26
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>
2011-07-07libcli: remove duplicate of #define NT_STATUS_NO_SUCH_JOBBjörn Baumbach1-1/+0
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
2011-07-07s3-client: Remove use of cli_errstr()Björn Baumbach1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-07s3-libsmb: Remove use of cli_errstr()Björn Baumbach1-3/+8
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-07s3-torture: run_shortname_test: Remove uses of cli_errstr()Björn Baumbach1-3/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>