Commit Graph

77 Commits

Author SHA1 Message Date
Andrew V. Samoilov
7197808ece Remove LOCKDIR support 2002-11-12 16:03:16 +00:00
Andrew V. Samoilov
9740d2a810 (string_initial): Commented out.
(init_locals): Define as do nothing macro. Printing is not supported.
2002-10-03 17:00:23 +00:00
Andrew V. Samoilov
b9b33a4a39 Remove SMBRUN support 2002-10-02 11:03:08 +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
c772e84710 * loadparm.c (lp_smbrun): Removed 2002-09-12 14:28:21 +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
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
134fd952bf Add nmfns.txt and nmused.txt 2002-07-31 12:04:32 +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
3e982cf3fc * samba/configure.in: Don't check for union semun.
* samba/include/includes.h [!HAVE_UNION_SEMUN]: Don't
declare union semun.
2002-07-29 15:19:36 +00:00
Pavel Roskin
a2f136fdc3 s/ommited/omitted/ 2002-07-14 06:36:07 +00:00
Pavel Roskin
23ef3d3a9d * Makefile.am: Add samba to SUBDIRS. Forcedly set DISTDIRS to
extfs.  Remove parts that are now handled by samba/Makefile.
* samba/Makefile.in: Add more empty targets for Automake
compatibility.
2002-07-02 23:10:15 +00:00
Andrew V. Samoilov
8583c24ea4 * samba/lib/system.c (sys_ftruncate): Commented out.
* samba/lib/util.c (set_filelen): Likewise.
(setbuffer): Likewise.

* Makefile.am (SAMBA_DIST): Remove tests/ftruncate.c
* samba/tests/ftruncate.c: Removed.
* samba/configure.in: Don't check if ftruncate() can
extend a file.
2002-06-21 16:31:20 +00:00
Andrew V. Samoilov
6b843b1b44 * samba/configure.in: Don't check if ftruncate() can extend a file. 2002-06-21 16:28:45 +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
Andrew V. Samoilov
05a0bd1240 * samba/include/includes.h: Eliminate all references to
HAVE_LIBREADLINE.
2002-05-17 11:38:05 +00:00
Andrew V. Samoilov
1f557447b9 Don't check setreuid, setregid, setegid and setluid. 2002-05-11 12:12:53 +00:00
Andrew V. Samoilov
f2912b052c * samba/configure.in: Add AC_SYS_LARGEFILE.
Don't check atexit.
2002-05-11 12:03:05 +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
Pavel Roskin
8ef801e873 * samba/configure.in: Use explicit AC_CONFIG_AUX_DIR because
this setting is not inherited from the top-level configure.
2002-01-03 00:56:57 +00:00
Andrew V. Samoilov
9d4e2fcd1c * samba/acconfig.h: Remove WITH_SYSLOG. 2001-11-13 12:19:57 +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
b3f9ba7f98 * smbfs.c (smbfs_add_dots): New function. Insert a "." and ".."
entries into the linked list.
(smbfs_loaddir): Call smbfs_add_dots for shares or servers.
(smbfs_get_free_bucket): Eliminate utime.
(fake_share_stat): Make path const.

* samba/configure.in: Don't check whether getpass
should be replaced.
2001-11-05 13:16:17 +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
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
0ff4b8ae77 * samba/configure.in: Don't check readline.h, history.h and
libreadline.
2001-10-18 09:24:28 +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
d08e77f86d * samba/acconfig.h: Only leave symbols required by Autoconf-2.52. 2001-09-30 19:50:38 +00:00
Pavel Roskin
05f725e4ee Remove zombie files 2001-08-26 14:55:05 +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
1c07145e0f * samba/libsmb/clientgen.c (cli_chkpath): Fix possible buffer overflow. 2001-08-03 10:14:18 +00:00
Pavel Roskin
ced1d864e8 Add *.cache. 2001-07-31 18:27:52 +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
Andrew V. Samoilov
94fc1dd4e3 .cvsignore: config.cache added 2001-04-23 13:24:44 +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
Pavel Roskin
bafc61e43e * samba/Makefile.in: Make *clean targets Automake-compatible.
Don't ignore errors from `rm'.
2001-03-15 01:35:07 +00:00
Pavel Roskin
d92beac560 * samba/configure.in: Use AC_CHECK_TOOL to find AR.
* samba/Makefile.in: Remove useless rules, including defunct
dependency tracking. Create libsamba.a from the object files.
2001-03-15 01:25:51 +00:00
Pavel Roskin
53a4e96313 * samba/configure.in: Remove more useless tests.
* samba/tests/crypttest.c: Remove.
* samba/tests/fcntl_lock.c: Likewise.
* samba/tests/shared_mmap.c: Likewise.
* samba/tests/sysv_ipc.c: Likewise.
* samba/samba-files: Likewise.
* samba/smbadduser: Likewise.
* Make-mc.in: Adjust for the above.
* samba/include/includes.h: Removed definitions related to the
above tests.
2001-02-09 20:46:46 +00:00