Andrew V. Samoilov
8491ac0c7d
* samba/lib/util.c (tab_depth): Remove.
...
* samba/include/byteorder.h: Remove all macroces with tab_depth().
* vfs/samba/lib/util_sock.c: Comment out read_smb_length(),
send_null_session_msg(), send_one_packet(), send_smd()
and read_smb_length().
* vfs/samba/libsmb/nmblib.c: Comment out copy_nmb_packet(),
copy_dgram_packet(), copy_packet() and nmb_name_equal().
2005-09-15 12:07:17 +00:00
Roland Illig
5ddb6be28e
* samba/*: Added many const qualifiers to properly fix the
...
warnings emitted by gcc with -Wwrite-strings.
* smbfs.c: Likewise.
2005-09-07 07:33:39 +00:00
Roland Illig
e132a00192
Added const qualifiers and type casts for <ctype.h> functions.
2005-07-31 21:09:29 +00:00
Roland Illig
ee4987bb5d
* samba: Added some const qualifiers to reduce the number of gcc
...
warnings.
2005-07-31 21:01:26 +00:00
Pavel Roskin
1f60f44145
Update postal address of Free Software Foundation.
2005-05-27 03:35:10 +00:00
Andrew V. Samoilov
999e265b23
* samba/lib/util_str.c: Comment out strhasupper(), strhaslower(),
...
toktocliplist(), strncpyn(), strhex_to_str(), all_string_sub()
and split_at_last_component().
* samba/lib/time.c: Comment out http_timestring().
* samba/lib/util.c: Comment out Protocol, trans_num, case_sensitive,
case_preserve, use_mangled_map, short_case_preserve, case_mangle,
my_netbios_names.
Make sam_logon_in_ssb and case_default const.
(samlogon_user): Make char* instead of pstring.
* samba/libsmb/clientgen.c: Comment out cli_api_pipe(),
cli_NetWkstaUserLogon(), cli_tdis(), cli_nt_create(), cli_ulogoff(),
cli_lock(), cli_unlock(), cli_message_start(), cli_message_text()
and cli_message_end().
* samba/libsmb/namequery.c (global_in_nmbd): Make const.
(find_master_ip): Comment out.
* samba/libsmb/nmblib.c: Comment out matching_bits(), sort_ip,
name_query_comp() and sort_query_replies().
2005-02-14 13:14:01 +00:00
Andrew V. Samoilov
94b71a6339
* samba/include/proto.h: Adjust for the last changes.
...
* samba/lib/util.c: Comment out unused ra_type, in_group(),
get_numlist(), Atoic(), dns_to_netbios_name(), name_interpret(),
directory_exist(), file_size(), unix_format(), dos_format(),
close_low_fds(), name_ptr(), name_extract(), unix_do_match(),
unix_mask_match(), do_match(), mask_match(),
interpret_protocol(), readdirname(), is_in_path(),
set_namearray(), free_namearray(), fcntl_lock(), is_myname(),
set_remote_arch(), get_remote_arch(). align2(), out_ascii() and
out_data().
(reg_get_subkey): Remove.
(reg_split_key): Remove.
* samba/lib/system.c: Comment out sys_lstat(), sys_fseek(),
sys_ftell(), sys_readdir(), sys_getwd(), sys_chown(), sys_random()
and sys_srandom().
* samba/libsmb/clientgen.c (cli_qpathinfo): Comment out.
(cli_qpathinfo2): Comment out.
(cli_printjob_del): Remove.
(cli_print_queue): Remove.
(cli_dskattr): Comment out.
2005-02-02 12:52:33 +00:00
Andrew V. Samoilov
1ed4f8c110
* samba/libsmb/clientgen.c (cli_oem_change_password): Removed.
...
* samba/libsmb/smbencrypt.c (make_oem_passwd_hash): Removed.
* samba/lib/util_sock.c (reset_globals_after_fork): Removed.
2005-01-20 16:32:23 +00:00
Andrew V. Samoilov
43414d8182
* samba/lib/util.c: Comment out some more unused functions.
...
(global_myworkgroup): Remove unused variable.
(def_finfo): Make const.
(remote_proto, remote_arch): Make const char * instead of
fstring.
* samba/libsmb/clientgen.c (interpret_long_filename): Fix
def_finfo declaration.
2005-01-20 08:57:22 +00:00
Pavel Roskin
ecce86674c
* samba/libsmb/namequery.c (_interpret_node_status): Comment
...
out.
2003-09-10 00:21:52 +00:00
Pavel Roskin
31ed57778b
* samba/tests/summary.c: Remove. The test is now included ...
...
* samba/configure.in: ... here.
* samba/tests/README: Remove, it's irrelevant.
* samba/architecture.doc: Likewise.
* samba/include/dlinklist.h: Remove, it's unused. Adjust
dependencies.
* samba/libsmb/namequery.c (name_status): Remove, it's unused.
* Makefile.am: Remove unused Samba files.
2003-08-30 07:14:54 +00:00
Andrew V. Samoilov
e2ae450cf0
* samba/libsmb/clientgen.c (cli_session_setup): Convert
...
username from Unix to DOS codepage before sending.
2003-03-13 14:45:48 +00:00
Andrew V. Samoilov
8e1af10110
* samba/libsmb/clientgen.c (cli_NetServerEnum): Add void*
...
parameter to (*fn)() and void *state parameter.
(cli_list): Likewise.
(cli_RNetShareEnum): Likewise. Return int.
* samba/include/proto.h: Adjust declarations.
* smbfs.c: Adjust all helpers and dependencies.
From Samba patchsets.
2002-09-11 16:43:41 +00:00
Andrew V. Samoilov
019c16b047
* samba/param/loadparm.c: Add global_scope variable.
...
(parm_table): Add netbios scope parameter.
* samba/lib/util.c: Remove scope variable. Use global_scope instead.
* samba/libsmb/nmblib.c (make_nmb_name): Remove scope parameter and
use global_scope instead.
* samba/libsmb/namequery.c: Adjust make_nmb_name() calls.
* samba/include/proto.h: Adjust make_nmb_name() declaration.
From samba 2.0.7 patchset.
* samba/param/loadparm.c (lp_adduser_script): Commented out.
(lp_deluser_script): Likewise.
(lp_add_printer): Likewise.
(lp_add_one_printer): Likewise.
* samba/lib/util.c (reduce_name): Likewise.
(transfer_file): Likewise.
* smbfs.c (smbfs_do_connect): Adjust make_nmb_name() calls.
2002-09-01 06:51:24 +00:00
Andrew V. Samoilov
4fa385b62e
* clientgen.c (fix_char_ptr): Commented out
2002-08-16 11:00:48 +00:00
Andrew V. Samoilov
7e6893ed6c
(cli_printjob_del): Commented out.
...
(cli_print_queue): Ditto.
* samba/lib/system.c (sys_waitpid): Ditto.
2002-07-31 12:03:02 +00:00
Andrew V. Samoilov
423e57ef8d
* samba/libsmb/clientgen.c (cli_send_tconX): Add missed
...
unix_to_dos() call.
2002-07-31 11:41:16 +00:00
Andrew V. Samoilov
ddcd0ee421
* samba/smblib/pwd_cache.c (pwd_read): Commented out.
...
* samba/Makefile.in (SAMBAFILES): Remove lib/getsmbpass.o.
* samba/lib/getsmbpass.c: Removed.
2001-11-01 13:12:24 +00:00
Andrew V. Samoilov
b7339b590f
* samba/libsmb/clientgen.c (cli_RNetShareEnum): Fix Win2k
...
"out of server memory" error. From samba 2.0.7 patchset.
2001-10-16 07:02:32 +00:00
Pavel Roskin
689c3fb9ac
Replace "Can't" with "Cannot" everywhere.
2001-08-14 00:55:34 +00:00
Andrew V. Samoilov
1c07145e0f
* samba/libsmb/clientgen.c (cli_chkpath): Fix possible buffer overflow.
2001-08-03 10:14:18 +00:00
Andrew V. Samoilov
6e8cfd807f
* samba/includes/proto.h, samba/libsmb/nterr.c (get_nt_error): return
...
NULL when appropriative error message can't be found as it is expected
in cli_errstr(). Return type changed to const char *
* smbfs.c (smbfs_fill_names): implemented
(smbfs_stat): unneeded g_strdup/g_free calls removed
(smbfs_loaddir): memory leaking fixed
* samba/libsmb/clientgen.c (rap_errmap, prots): constified
2001-04-09 12:12:20 +00:00
Andrew V. Samoilov
0d20e2fa8a
* samba/includes/proto.h, samba/libsmb/nterr.c (get_nt_error): return
...
NULL when appropriative error message can't be found as it is expected
in cli_errstr(). Return type changed to const char *
* smbfs.c (smbfs_fill_names): implemented
(smbfs_stat): unneeded g_strdup/g_free calls removed
(smbfs_loaddir): memory leaking fixed
2001-04-09 11:34:15 +00:00
Andrew V. Samoilov
b7b5c71de3
* samba/libsmb/smbdes.c: undefine uchar before redefine it
...
* smbfs.c (smbfs_close): honour changed semantics for return value
(on error -1 is expected).
* (fs): it is at least strange use char * for counter. Changed to int
2001-03-15 18:19:23 +00:00
Andrew V. Samoilov
49afc747d1
nmb_header_opcode_names constified, lookup_opcode_names rewritten to avoid warnings
2000-10-22 15:37:33 +00:00
Andrew V. Samoilov
75928247d3
2000-10-22 Andrew V. Samoilov <sav@bcs.zp.ua>
...
* samba/libsmb/nterr.c (nt_errs): constified
* samba/libsmb/smberr.c (dos_msgs, server_msgs, hard_msgs,
err_classes): ditto
(smb_errstr): err constified to avoid warnings
2000-10-22 15:04:41 +00:00
Miguel de Icaza
2a8730b21c
1999-06-01 Robert Brady <rwb197@ecs.soton.ac.uk>
...
* file.c (move_dir_dir): Give an error when an attempt is made to
move an empty directory into itself.
1999-06-14 Wayne Roberts <wroberts1@cx983858-b.orng1.occa.home.com>
* vfs/smbfs.c: New file. Implements the Samba-based file system.
* vfs/vfs.h: Declare vfs_smbfs_ops, vfs_file_is_smb.
* vfs/vfs.c (vfs_file_is_smb): implemented.
(vfs_init) register smbfs.
* vfs/samba: Incorporate SAMBA source code required for smbfs
1999-05-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
* Make.common.in (confdir): Define confdir as sysconfdir. This
should fix the problem we had with FSSTND distributions.
1999-06-22 19:56:36 +00:00