Pavel Roskin
76d78fb47c
* samba/lib/netmask.c: Include <stdlib.h> for exit() and
...
<string.h> for memcpy().
2005-11-15 21:32:07 +00:00
Pavel Roskin
89eb1e232b
* samba/lib/netmask.c: Add get_netmask() prototype for the dummy
...
version.
2005-11-11 06:19:08 +00:00
Pavel Roskin
9c11cf292f
* samba/lib/util_sock.c: Fix warnings on 64-bit systems.
2005-11-11 02:52:41 +00:00
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
040e26b5eb
* samba/: Added a const qualifier to setup_logging().
...
* smbfs.c: Removed dbghdr_wrapper. Removed all const_cast
instances.
2005-09-05 03:17:03 +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
Roland Illig
ba0cd89c75
* samba/lib/charcnv.c: Added const qualifiers.
2005-05-24 12:16:41 +00:00
Pavel Roskin
0ef41beb95
* samba/lib/util_sock.c: Fix gcc 4.0 warnings.
2005-05-11 20:03:41 +00:00
Pavel Roskin
b3bc70e73a
* samba/lib/debug.c (dbghdr): Constify arguments file and func.
2005-05-11 19:54:59 +00:00
Andrew V. Samoilov
b75b3a042a
amba/lib/util_str.c: Comment out strhasupper(), strhaslower(),
...
toktocliplist(), strncpyn(), strhex_to_str(), all_string_sub(),
strnorm(), strisnormal() 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-15 13:19:35 +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
9ca4fc2bc0
* samba/lib/netmask.c [HAVE_NETMASK_AIX && HAVE_UNISTD_H]: Include
...
<unistd.h> to fix gcc 3.3 warnings about undeclared close().
2005-02-11 23:39:58 +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
a7a42c3d8b
* samba/lib/username.c (map_username): Comment out.
...
(user_in_list): Ditto.
2005-02-01 12:02:34 +00:00
Andrew V. Samoilov
a1502a0a5f
Remove genrand.c and util_unistr.c.
2005-01-20 16:48:36 +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
eaca209b7c
* util_file.c: Comment out all but fgets_slash().
2005-01-20 15:06:29 +00:00
Andrew V. Samoilov
4ea1aba1e0
* samba/lib/util.c (remote_machine, local_machine): Make static const
...
char * instead of fstring.
2005-01-20 11:23:07 +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
Andrew V. Samoilov
6478efd184
* samba/lib/util.c (tmpdir): Use MC_TMPDIR environment variable.
...
(automount_lookup): More secure code.
2004-08-20 21:05:02 +00:00
Andrew V. Samoilov
b55db9788b
* samba/lib/debug.c (Debug1): Don't try to open/create logfile if debugf is empty string.
2004-03-07 06:40:28 +00:00
Pavel Roskin
26ce05dfa3
* samba/lib/doscalls.c: Remove. Remove all references to it.
2003-10-15 07:32:45 +00:00
Pavel Roskin
c037f013a3
* samba/include/smb.h: Remove unneeded includes.
...
* samba/include/ntdomain.h: Remove, it's unused.
* samba/include/rpc*.h: Likewise.
* samba/lib/util_unistr.c: Remove unused code.
* samba/include/proto.h: Regenerate.
* Makefile.am: Remove unused Samba headers.
2003-08-30 06:29:39 +00:00
Pavel Roskin
3bff4a829d
* samba/lib/system.c: Remove all unused code.
...
* samba/include/proto.h: Remove some unused prototypes.
* samba/include/includes.h: Don't include sys/capability.h,
it's not needed.
* samba/configure.in: Remove tests for capabilities and groups,
which are unused now. Also remove the trivial test.
* Makefile.am: Remove unused Samba tests.
2003-08-29 23:40:37 +00:00
Pavel Roskin
21bfde8acf
Minor warning fixes.
2002-11-15 17:02:44 +00:00
Andrew V. Samoilov
e7cf7313f8
* samba/lib/debug.c (debug_count): Removed.
...
(reopen_logs): Likewise.
(force_check_log_size): Likewise.
(check_log_size): Likewise. Adjust all dependencies.
2002-09-13 09:45:13 +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
03631a70f1
* (process_exists): Removed.
...
* (became_daemon): Removed.
* (yesno): Removed.
2002-08-02 08:32:14 +00:00
Andrew V. Samoilov
8f8add60bb
* samba/lib/util.c (reg_split_key): Ditto.
...
(reg_get_subkey): Ditto.
2002-07-31 13:52:04 +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
d3aceae9f7
* samba/lib/system.c (sys_ftruncate): Commented out.
...
* samba/lib/util.c (set_filelen): Likewise.
(setbuffer): Likewise.
2002-06-21 16:01:53 +00:00
Pavel Roskin
1c61b5e0ca
* samba/acconfig.h: Remove.
...
* Makefile.am: Remove references to samba/acconfig.h.
* samba/Makefile.in: Likewise.
* samba/aclocal.m4: Remove unused test AC_DIRENT_D_OFF.
* samba/configure.in: Add descriptions to AC_DEFINE calls.
Remove unused tests.
* samba/include/includes.h: Cleanup for the symbols that
samba/configure.in doesn't define.
* samba/lib/netmask.c: Likewise.
2002-05-01 03:17:56 +00:00
Pavel Roskin
f37f1f90f8
* samba/include/includes.h: Eliminate all references to
...
HAVE_EXPLICIT_LARGEFILE_SUPPORT.
* samba/lib/system.c: Likewise.
2002-05-01 02:07:37 +00:00
Andrew V. Samoilov
25f700675f
Removed.
2002-04-24 08:23:13 +00:00
Andrew V. Samoilov
f7c7879add
* samba/lib/signal.c: Remove.
...
* samba/lib/debug.c (sig_usr2): Commented out.
(sig_usr1): Likewise.
* samba/lib/util_file.c (gotalarm): Commented out.
(gotalarm_sig): Likewise.
(do_file_lock): Likewise.
(file_lock): Likewise.
(file_unlock): Likewise.
(startfilepwent): Likewise.
(endfilepwent): Likewise.
* samba/Makefile.in (SAMBAFILES): Remove lib/signal.o.
* Makefile.am (SAMBA_DIST): Remove lib/signal.c.
2002-04-24 08:07:56 +00:00
Andrew V. Samoilov
0924daa8f5
* samba/lib/debug.c: Remove syslog support.
2002-02-27 14:17:45 +00:00
Andrew V. Samoilov
fa2e4f6ec9
* samba/lib/charset.c (cp_850): Make const array.
...
(cp_932): Ditto.
(codepage_p): Likewise.
* samba/lib/debug.c (priority_map): Make const array.
* samba/lib/username.c (get_home_dir): Make pass auto.
* samba/lib/util.c (become_daemon): Commented out.
(yesno): Likewise.
2002-01-29 15:45:49 +00:00
Andrew V. Samoilov
4dd95908c0
* samba/lib/system.c (sys_chroot): Removed.
...
* samba/configure.in: Remove RUNPROG. Don't check
for chroot and execl functions.
Remove syslog logging support.
Add --with-codepagedir and --with-configdir from samba 2.2.2.
* samba/Makefile.in: Use configdir and codepagedir.
2001-11-13 11:42:53 +00:00
Andrew V. Samoilov
a802b107ae
* 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:31:52 +00:00
Pavel Roskin
689c3fb9ac
Replace "Can't" with "Cannot" everywhere.
2001-08-14 00:55:34 +00:00
Andrew V. Samoilov
0ec69ba605
* samba/lib/charcnv.c (unix2dos_format): Fix possible buffer overflow.
...
(dos2unix_format): Likewise.
2001-08-06 15:37:28 +00:00
Andrew V. Samoilov
7df26a45b5
* vfs/samba/lib/util_sock.c (socket_options): Made static const.
2001-06-01 13:38:04 +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