Commit Graph

96 Commits

Author SHA1 Message Date
Andrew V. Samoilov
ae73b0a065 * configure.ac: Remove AC_STRUCT_ST_RDEV and AC_CHECK_FUNCS (strpbrk). 2004-03-07 06:45:31 +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
8db3838b57 * samba/configure.in: Rename to ...
* samba/configure.ac: ... this.  Adjust dependencies.
2004-01-22 06:30:30 +00:00
Pavel Roskin
5a0b2b0806 * mcserv.c: Don't use HAVE_CRYPT from extraonf.h.
* samba/include/includes.h: Likewise.
2003-10-25 22:37:08 +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
ecce86674c * samba/libsmb/namequery.c (_interpret_node_status): Comment
out.
2003-09-10 00:21:52 +00:00
Pavel Roskin
c68d1ab16a Fix incorrect commit. Run proto.h through uniq, not "sort -u". 2003-09-04 16:14:52 +00:00
Pavel Roskin
0e77501e9c * samba/include/charset.h: Remove declaration already present in
proto.h.
* samba/include/proto.h: Run through uniq.
2003-09-03 19:21:41 +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
Pavel Roskin
a64b930445 * 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 (): Remove, it's unused.
* Makefile.am: Remove unused Samba files.
2003-08-30 07:14:54 +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
349d70c8cf Typos. 2003-06-02 19:47:30 +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
30caf4ab5e (kernel_oplocks_available): Comment out.
(lp_set_kernel_oplocks): Likewise.
(lp_kernel_oplocks): Likewise.
2003-03-06 10:38:38 +00:00
Andrew V. Samoilov
488f984e02 Remove SWATDIR definition 2002-11-29 06:57:36 +00:00
Pavel Roskin
21bfde8acf Minor warning fixes. 2002-11-15 17:02:44 +00:00
Andrew V. Samoilov
3fbf9adabe * samba/param/loadparm.c: Remove PASSWD_PROGRAM, SMB_PASSWD_FILE
and DEFAULT_PASSWD_CHAT support.
* samba/Makefile.in: Likewsise. Remove PRIVATEDIR, PASSWD_FLAGS,
CODEPAGELIST and SCRIPTS variables and yodldocs target.
* samba/configure.in: Remove --with-privatedir.
2002-11-14 12:32:41 +00:00
Andrew V. Samoilov
8ce50e28d7 Remove SMBLOGFILE, NMBLOGFILE and MANDIR 2002-11-13 07:25:46 +00:00
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