Andrew Tridgell [Mon, 5 Oct 1998 02:55:53 +0000 (02:55 +0000)]
removed requirement of having a smb.conf for smbwrapper to work.
(This used to be commit
af58bf2ff8ddbf974dbafa36cf1b679226371e09)
Andrew Tridgell [Mon, 5 Oct 1998 02:45:50 +0000 (02:45 +0000)]
handle ENOTDIR errno in cli_error()
(This used to be commit
f1d82e02ff7f2201de5fb13af4cadec648765017)
Andrew Tridgell [Mon, 5 Oct 1998 02:31:39 +0000 (02:31 +0000)]
- added pread pread64 pwrite pwrite64 and open64
- fixed utime() for null tbuf
(This used to be commit
9047bf59b402de40e520bfc2afa1cbfad5508f72)
Alexandre Oliva [Mon, 5 Oct 1998 02:19:09 +0000 (02:19 +0000)]
added 64-bit file support
(This used to be commit
43ec91ac1fbf22f9a0150e1eadec5709a7d21050)
Andrew Tridgell [Mon, 5 Oct 1998 02:14:19 +0000 (02:14 +0000)]
added pread pread64 pwrite pwrite64 and open64
(This used to be commit
2087e0ce89e113d3989deefdf79b22b2757e008b)
Andrew Tridgell [Mon, 5 Oct 1998 01:57:03 +0000 (01:57 +0000)]
added a function set_maxfiles() to set our file rlimit to the max
possible and return the max.
(This used to be commit
7a7b5ee1689b6be57752d176c7b77a2f1b453486)
Andrew Tridgell [Mon, 5 Oct 1998 01:42:46 +0000 (01:42 +0000)]
this gets smbwrapper working under Solaris 2.6. Not tested much yet.
(This used to be commit
6a1b346d98c10688f0995a6ab8fd155a77ead258)
Andrew Tridgell [Mon, 5 Oct 1998 01:25:39 +0000 (01:25 +0000)]
tests for readdir64
(This used to be commit
bdf02378c634e0d18f4f2de7a74b2f2fc5965e9a)
Andrew Tridgell [Mon, 5 Oct 1998 00:50:41 +0000 (00:50 +0000)]
reran autoconf
(This used to be commit
32695b1606c6198aca294ebe1436c98d2d698095)
Andrew Tridgell [Mon, 5 Oct 1998 00:48:59 +0000 (00:48 +0000)]
some tests for stat64() and friends
(This used to be commit
16e7b196344457218b4902a198e28751311973a7)
Alexandre Oliva [Mon, 5 Oct 1998 00:43:48 +0000 (00:43 +0000)]
Speed up directory creation for the common case (i.e., it exists already)
Link $(LIBS) in when creating smbwrapper.so
rm -rf bin in distclean
rm smbwrapper files in realclean
remove .h from .SUFFIXES
(This used to be commit
a38e7ea04ad74996c91cb1a4f9ed07ba98752a9b)
Andrew Tridgell [Mon, 5 Oct 1998 00:32:09 +0000 (00:32 +0000)]
don't define creat() under linux until we get the CREAT_BITS stuff
sorted out.
(This used to be commit
86b66d92772d4a72b7b8c7f2d8d793533d7f6130)
Andrew Tridgell [Sun, 4 Oct 1998 23:47:02 +0000 (23:47 +0000)]
we need to use __readdir() in preference to SYS_readdir for systems
that use getdents.
(This used to be commit
c63ad1b69859653d67d4711b700015860680efff)
Alexandre Oliva [Sun, 4 Oct 1998 22:42:05 +0000 (22:42 +0000)]
bin/cvsignore: deleted, so that bin can be removed from the repository
.cvsignore: added bin; it is no longer part of the source tree
smbwrapper/smbsh: now auto-generated from smbsh.in
smbwrapper/.cvsignore: added smbsh
configure.in: generate @builddir@
configure, include/stamp-h.in: regen
Makefile.in: new target `smbwrapper'; sped up directory creation
(This used to be commit
8f95ee8fc32d74f20cca489ecd3f7e34e773db2f)
Alexandre Oliva [Sun, 4 Oct 1998 20:54:05 +0000 (20:54 +0000)]
Avoid the message `make: [.deps/.P] Error 1 (ignored)'
(This used to be commit
9ba19d19ad348bc3be2fc9a2b7ac35b895c0d143)
Andrew Tridgell [Sun, 4 Oct 1998 16:03:32 +0000 (16:03 +0000)]
drat. We can't include sys/fcntl.h because that gives
conflicts. Instead use "01101" for O_CREAT|O_WRONLY|O_TRUNC.
uggh.
(This used to be commit
cfc06af0b770d6638ba131501f9ea5a5c28cec3b)
Andrew Tridgell [Sun, 4 Oct 1998 15:54:04 +0000 (15:54 +0000)]
more solaris 2.5 fixups. It now seems to be working pretty well.
(This used to be commit
c4e450817886b40474cebdfc50c0c16fb4646baf)
Andrew Tridgell [Sun, 4 Oct 1998 15:02:32 +0000 (15:02 +0000)]
ignore .po files
(This used to be commit
269a7938fcf7eddc68c40e3a8d3d47bdac48704d)
Andrew Tridgell [Sun, 4 Oct 1998 15:02:15 +0000 (15:02 +0000)]
warn user if LIBDIR isn't set right
(This used to be commit
70c2eb1ed93f4691e73e8ab32d81f50ea8785e2c)
Andrew Tridgell [Sun, 4 Oct 1998 14:56:19 +0000 (14:56 +0000)]
fixed some stuff for Linux that porting to Solaris broke
(This used to be commit
ee349bb329498e6f5852c1bf21c48563d076dc88)
Andrew Tridgell [Sun, 4 Oct 1998 14:07:18 +0000 (14:07 +0000)]
don't list the IPC$ share in directory listings (it causes infinite
recursion)
(This used to be commit
8d74f7bfdc217e95a7e300d06c3bf4e8d4877a6a)
Andrew Tridgell [Sun, 4 Oct 1998 14:02:50 +0000 (14:02 +0000)]
started basic support for solaris 2.5 in smbwrapper.
(This used to be commit
e5c7cabae4826bde819b94a48bc4674dcd69da21)
Andrew Tridgell [Sun, 4 Oct 1998 12:00:40 +0000 (12:00 +0000)]
- modified resolve_name() to take a name_type
- cleaned up resolve_name() (split into separate functions for each resolver)
- if can't find local master then use #1B name
- support listing of foreign workgroups in /smb/
(This used to be commit
a4e607c17d1119925c9d0e1d05e0fe81e9a2d1aa)
Andrew Tridgell [Sun, 4 Oct 1998 11:25:06 +0000 (11:25 +0000)]
support NetServerEnum in smbwrapper. You can now do a ls in /smb/ and
it will list all servers in your workgroup. You can set your workgroup
with the SMBW_WORKGROUP environment variable.
(This used to be commit
64699810e2d94e8648a0a3341b1cc826d4e8bfd9)
Andrew Tridgell [Sun, 4 Oct 1998 10:48:31 +0000 (10:48 +0000)]
support using #xx at end of netbios name to connect to the specified name type
(This used to be commit
bf409a40e21e44ec653d4d8fd34b52d0e7b64aed)
Andrew Tridgell [Sun, 4 Oct 1998 10:46:52 +0000 (10:46 +0000)]
use *SMBSERVER convention in smbwrapper to allow us to connect to
servers that we don't know the netbios name of.
(This used to be commit
147d49dade3901835b5d60b02c495bea544ff5e9)
Andrew Tridgell [Sun, 4 Oct 1998 10:14:21 +0000 (10:14 +0000)]
add support for unlink() on printer shares in smbwrapper. unlink()
will remove the job from the pirnt queue.
(This used to be commit
7bd738c30a09a211fd14a8544309efeec17c66f5)
Andrew Tridgell [Sun, 4 Oct 1998 09:42:51 +0000 (09:42 +0000)]
added support for printing via smbwrapper
You can print using "cp filename /smb/SERVER/PRINTER/jobname"
You can list the current printqueue using ls
(This used to be commit
080fb61b69620e26e8122705383dc2bd0468a519)
Andrew Tridgell [Sun, 4 Oct 1998 07:52:00 +0000 (07:52 +0000)]
add support for dup() and dup2()
(This used to be commit
c5210cb0fffd406ef1809db8644b299bb661df4d)
Andrew Tridgell [Sun, 4 Oct 1998 07:51:34 +0000 (07:51 +0000)]
use CLI_BUFFER_SIZE instead of BUFFER_SIZE
(This used to be commit
98f9bb94fcdd0195158eba0deaebe4679baea44c)
Andrew Tridgell [Sun, 4 Oct 1998 07:50:44 +0000 (07:50 +0000)]
set a default 16k client buffer size
(This used to be commit
cc1a0cf82b25e259c35f8accbb948814cc28a9ba)
Richard Sharpe [Sun, 4 Oct 1998 07:09:38 +0000 (07:09 +0000)]
Added E Jay Berkenbilt's fixes
(This used to be commit
fcdc9bc2089822b02b30cd55054a60ed4e696e70)
Andrew Tridgell [Sun, 4 Oct 1998 06:44:20 +0000 (06:44 +0000)]
refuse symlinks to or from a smb path
(This used to be commit
83e93d2a4493546cb481f5c8187c64207b5901d1)
Andrew Tridgell [Sun, 4 Oct 1998 06:43:41 +0000 (06:43 +0000)]
fix an error code in cli_error()
(This used to be commit
bbc891727e57172bf6200e10c32498776a77510b)
Andrew Tridgell [Sun, 4 Oct 1998 06:22:08 +0000 (06:22 +0000)]
modified cli_read() and cli_write() to issue multiple outstanding
read/write requests for large reads. up to max_mux requests may be
outstanding. This gives _much_ better throughput and should allow
smbsh to saturate just about any network.
this is an implementation of the "fast SMB" method I described on the
CIFS list a couple of months back.
(This used to be commit
c728d1c5d6e4626d2f8e318eab4df32acc8cb505)
Andrew Tridgell [Sun, 4 Oct 1998 04:48:17 +0000 (04:48 +0000)]
use dummy file descriptors opened on /dev/null to ensure that the smbw
file descriptor allocation order is identical to the kernels.
(This used to be commit
60a683465647932f7241ba9f92443d5e5294e20b)
Andrew Tridgell [Sun, 4 Oct 1998 04:33:56 +0000 (04:33 +0000)]
more smbw cleanups.
- cleaned up prototyping. Unfortunately we can't auto-prototype
wrapped.c because it replaces system functions.
- split stat functions into smbw_stat.c
(This used to be commit
04e92e692e49234df6fbbfd07a33b315ed62f0de)
Andrew Tridgell [Sun, 4 Oct 1998 03:28:43 +0000 (03:28 +0000)]
- split smbw directory code into smbw_dir.c
- fixed a bug in the handling of multiple connections to different
servers
(This used to be commit
a9f9d8c3d8c18a5ab4c18c1348ee9c8d643880fa)
Andrew Tridgell [Sun, 4 Oct 1998 03:27:29 +0000 (03:27 +0000)]
support a few more function types (like ino_t and off_t)
(This used to be commit
758048f1e17db70daa4cd169d5c9b833f94279f4)
Andrew Tridgell [Sun, 4 Oct 1998 03:27:04 +0000 (03:27 +0000)]
use const char
(This used to be commit
83b7bfa821b88f0826b348ec493141a324e12a86)
Andrew Tridgell [Sun, 4 Oct 1998 01:36:40 +0000 (01:36 +0000)]
simplied the layout of the smbwrapper code. All those 3 line files
were getting unwieldy
(This used to be commit
a59d4e93da2cb2bb61a632ce85af0888a87a03e2)
Andrew Tridgell [Sun, 4 Oct 1998 01:10:18 +0000 (01:10 +0000)]
we need to do a load_interfaces() at startup to support broadcast
resolution of names.
(This used to be commit
c0931b6770dd822f156f388f37fb5b4abfcad51f)
Andrew Tridgell [Sat, 3 Oct 1998 16:40:32 +0000 (16:40 +0000)]
use __XXXdir() instead of __libc_XXXdir()
(This used to be commit
e28f55c0a3386cdb0185f5252b54d10d2c2a1710)
Andrew Tridgell [Sat, 3 Oct 1998 16:34:57 +0000 (16:34 +0000)]
drat.
on Linux 2.0 libc detects the lack of getdents in the kernel and used
opendir() etc. so we need to implement those ...
it would be needed for a port to others OSes anyway I suppose.
(This used to be commit
e3fd861590dd27cc643c2d8d0cb5a5651c84d9ac)
Andrew Tridgell [Sat, 3 Oct 1998 15:55:18 +0000 (15:55 +0000)]
fixed a authentication problem with non-encrypting servers
(This used to be commit
06f1af12c37fc759e7315366dd4e82f4e96b042d)
Andrew Tridgell [Sat, 3 Oct 1998 15:45:29 +0000 (15:45 +0000)]
fixed initialisation bug in rpcclient (stdout is not a constant)
(This used to be commit
1388a6fe8ccd0b2fec8086feebc785b3a5de78d3)
Andrew Tridgell [Sat, 3 Oct 1998 15:29:39 +0000 (15:29 +0000)]
don't call functions that aren't there yet. (Luke had the code
commented out in the makefile)
(This used to be commit
c626214e23738334ca5ea5f4f1a5180d3245231b)
Andrew Tridgell [Sat, 3 Oct 1998 15:28:47 +0000 (15:28 +0000)]
added fchdir() support
(This used to be commit
a42729dbf5414f54e5d623514533958c62ada5f6)
Andrew Tridgell [Sat, 3 Oct 1998 15:01:11 +0000 (15:01 +0000)]
fixed vi on smbwrappper (it was a problem in cli_read())
(This used to be commit
1dcc84b942d4669f978aebdeaf85ea609c2b732f)
Andrew Tridgell [Sat, 3 Oct 1998 14:46:48 +0000 (14:46 +0000)]
fixed wrapper for access(). This gets xedit working.
(This used to be commit
3c839a523183c163db0d14cf1a3aac47ffafd496)
Andrew Tridgell [Sat, 3 Oct 1998 13:58:07 +0000 (13:58 +0000)]
support getcwd() in smbwrapper
(This used to be commit
d516ee383c287550a5953cf5ea1cd69cc957e1aa)
Andrew Tridgell [Sat, 3 Oct 1998 13:27:56 +0000 (13:27 +0000)]
added mkdir() and rmdir() support
(This used to be commit
ce748e5ea94380147a01de8235b343c7e2852bee)
Andrew Tridgell [Sat, 3 Oct 1998 13:12:08 +0000 (13:12 +0000)]
added simple device/inode number support based on a checksum of the
filename
(This used to be commit
5674fb4e9dc4d92213d763c8cecd26efc23a9720)
Andrew Tridgell [Sat, 3 Oct 1998 12:47:52 +0000 (12:47 +0000)]
added a bit more to the docs
(This used to be commit
e040047c647df3991becbf2b45de785fc875d1ff)
Andrew Tridgell [Sat, 3 Oct 1998 12:33:34 +0000 (12:33 +0000)]
added lseek() support for directories
(This used to be commit
67ca971b0b00b5256b0af2c1c5777c393f9cef0b)
Andrew Tridgell [Sat, 3 Oct 1998 12:32:18 +0000 (12:32 +0000)]
fixed a bug in name_len() (thanks to kooros@kooros.netrack.net)
(This used to be commit
f05f0a01cefbf19943a53c3307eb992d77238b51)
Andrew Tridgell [Sat, 3 Oct 1998 11:54:20 +0000 (11:54 +0000)]
added lseek() to smbwrapper
(This used to be commit
752e90b24f37d4697b87c65a53b45799c21ecab7)
Andrew Tridgell [Sat, 3 Oct 1998 11:54:00 +0000 (11:54 +0000)]
Andrew Tridgell [Sat, 3 Oct 1998 11:53:37 +0000 (11:53 +0000)]
- always open for reading (otherwise getattrE won't work).
- added somemore NT error codes
(This used to be commit
a0632529133fdaff9d70ac3e0cf6bb021c79438e)
Andrew Tridgell [Sat, 3 Oct 1998 11:51:52 +0000 (11:51 +0000)]
updated prototypes
(This used to be commit
40af9fee1ac17bf329afcf1f0c73a92f03f183dd)
Andrew Tridgell [Sat, 3 Oct 1998 11:51:30 +0000 (11:51 +0000)]
define O_ACCMODE if not defined
(This used to be commit
48de03824ed33e9751bc9deeb22f1e1ef650b8cb)
Andrew Tridgell [Sat, 3 Oct 1998 11:51:01 +0000 (11:51 +0000)]
Andrew Tridgell [Sat, 3 Oct 1998 10:24:49 +0000 (10:24 +0000)]
added basic chmod(), chown() and utime() support (not fully
implemented).
this is enough to be able to edit files using emacs on the smbwrapper
filesystem
(This used to be commit
e5c3f36ef2e8fc0195d70b2f5db7d88d9ae4507a)
Andrew Tridgell [Sat, 3 Oct 1998 09:39:11 +0000 (09:39 +0000)]
added unlink() and rename() support to smbwrapper
(This used to be commit
b85d96144728e8a29c7c1114462e28bf3b144b80)
Andrew Tridgell [Sat, 3 Oct 1998 08:34:53 +0000 (08:34 +0000)]
ignore *.p files
(This used to be commit
e246a202306b8e4e7357057deb094b5a04b28408)
Andrew Tridgell [Sat, 3 Oct 1998 08:34:35 +0000 (08:34 +0000)]
lots of improvements to smbwrapper. It now works with Samba, Win95 and
WinNT servers, and correctly lists share names in /smb/SERVER/
(This used to be commit
1ea349728b8984bfe5cf5df41a87efbe17ff5ccd)
Andrew Tridgell [Sat, 3 Oct 1998 08:33:22 +0000 (08:33 +0000)]
- ignore *.p files
(This used to be commit
5328ecbc41daa3fe1adbf8dbe9db8180ae55da3d)
Andrew Tridgell [Sat, 3 Oct 1998 08:33:07 +0000 (08:33 +0000)]
- ignore *.p files
- enable cli_RNetSharEnum
- fix password handling in sesssetup for NT1 protocol
- handle partial reads and writes in cli_{read,write}
- added cli_getattrE
- modify cli_qpathinfo() to swap byte order for win95 servers
- handle temporary errors from FINDFIRST/FINDNEXT from win95 servers,
when we get a error we sleep for a bit and retry
- return approx unix errno from cli_error(). Need to add a lot more
cases to this.
(This used to be commit
715a6631c714bbd6a965e45fba1e0d0b37a27df6)
Andrew Tridgell [Sat, 3 Oct 1998 08:29:06 +0000 (08:29 +0000)]
- ignore *.p files
- make msleep() non-static
(This used to be commit
688a749484aa807075d2ce16d750c4f3494f3e55)
Andrew Tridgell [Sat, 3 Oct 1998 08:28:05 +0000 (08:28 +0000)]
updated prototypes
(This used to be commit
a42155f77a0156aa10adc9fd0070f3edab647382)
Andrew Tridgell [Sat, 3 Oct 1998 08:27:39 +0000 (08:27 +0000)]
- remove .p files in make clean
- added readlink support to smbwrapper
(This used to be commit
4b5217f996fbc1bb679992068c6c4fa28677c37e)
Andrew Tridgell [Sat, 3 Oct 1998 08:08:03 +0000 (08:08 +0000)]
added capabilities ab win95 fields to client structure. Used for
detecting win95 server for bug handling
(This used to be commit
76b5c8243791358be1a4781ff2e6929e56d98887)
Luke Leighton [Fri, 2 Oct 1998 21:09:23 +0000 (21:09 +0000)]
Makefile.in :
- added srvsvc client files
clientgen.c :
- replaced cli_error(cli, int *cls, int *err) with
cli_error(cli, uint8 cls, uint32 *err). this version detects
32 bit status messages. the DOS error "MORE_DATA", the
equivalent of the 32 bit *warning* 0x8000 0005
(STATUS_BUFFER_OVERFLOW), was being processed as an error,
terminating the cli_receive_trans() call.
cli_pipe.c :
- replaced calls that had been incorrectly modified from
32 bit warnings (0x8000 0005 - STATUS_BUFFER_OVERFLOW)
to 8 bit DOS errors (0x01 0xEA - MORE_DATA).
the use of the old version of cli_error (DOS only)
instead of the new one (DOS and 32 bit) caused the
dce/rpc client code to fail.
- replaced 2 space indentation with tab indentation in all functions.
cli_srvsvc.c :
cmd_srvsvc.c :
- added these files back in, fixing them up to use jeremy's
modified versions of the dce/rpc client functions.
parse_srv.c :
- added back in some "unused" functions required by dce/rpc
client-side code. it would be helpful if all such "unused"
functions could be added back in.
rpcclient.c :
- added "session", "file", "share", "connection" enumeration
functions back in. these are equivalent to nt's "NetXXXXXEnum"
Win32 (MSDN) functions.
- added "srvinfo" function back in. this is equivalent to
nt's NetServerGetInfo Win32 (MSDN) function.
(This used to be commit
bcf39ffdcc64e049bca2d70a394a99976291e81d)
Luke Leighton [Fri, 2 Oct 1998 18:45:07 +0000 (18:45 +0000)]
- static function "create_new_hashes" was identical to "nt_lm_owf_gen".
create_new_hashes didn't zero the buffer for the md4hash: nt_lm_owf_gen
did, because jeremy sorted this out a couple of days ago. call
nt_lm_owf_gen instead.
- call SMBOWFencrypt from SMBencrypt and SMBNTencrypt.
- added #ifdef DEBUG_PASSWORD debug password calls.
(This used to be commit
a4e7cc3e46b713aa0ae55de74a1c70921bef578d)
Luke Leighton [Fri, 2 Oct 1998 18:14:38 +0000 (18:14 +0000)]
microsoft is slowly fixing some buffer overflow errors in dce/rpc code (SP4).
therefore, they are being more strict, first in the server-side code, and
now in the client-side code.
this fixes a bind-request that was too short by 16 bytes, and an rpc-request
that was too long by 24 bytes.
(This used to be commit
a69ed7846a1e1403ea51d76d6962b97e8c768b29)
Andrew Tridgell [Fri, 2 Oct 1998 12:38:45 +0000 (12:38 +0000)]
some changes in smbtorture as a result of clientgen interface changes
for smbwrapper
note that Lukes client changes broke smbtorture. This doesn't fix it,
but at least I didn't break it more than it was.
(This used to be commit
252b52091c11d8a6cc9c70f32671aee865ae7b41)
Andrew Tridgell [Fri, 2 Oct 1998 12:37:31 +0000 (12:37 +0000)]
the guts of the smbwrapper code. I may change the layout of this at
some stage.
(This used to be commit
3f34a3cac817de19d227c36bc792db8b2c3798f9)
Andrew Tridgell [Fri, 2 Oct 1998 12:36:18 +0000 (12:36 +0000)]
several clientgen mods to support smbwrapper. In particular added
cli_list() for directory listing and expended some other functions a
bit.
(This used to be commit
9bae21abaf3d69a204c6e617f06094303da4da48)
Andrew Tridgell [Fri, 2 Oct 1998 12:35:28 +0000 (12:35 +0000)]
added sys_getwd()
(This used to be commit
688d19de50c01222c42f61f825fab93a7005f5b6)
Andrew Tridgell [Fri, 2 Oct 1998 12:34:56 +0000 (12:34 +0000)]
use sys_stat() not file_exist() for codepages. (we don't want dos
translation!)
(This used to be commit
1dcefb3f8e1e8b407d7f45332262e1b04bc1d6ee)
Andrew Tridgell [Fri, 2 Oct 1998 12:34:14 +0000 (12:34 +0000)]
a couple of mode for smbwrapper
(This used to be commit
07dd2aedf1e8ad143669694b504554de74bbaa1d)
Andrew Tridgell [Fri, 2 Oct 1998 12:33:44 +0000 (12:33 +0000)]
makefile support for smbwrapper
dosn't compile by default. You need to do "make smbwrapper/smbwrapper.so"
(This used to be commit
686182eb7140ade590c962bc8e09e895a22b3119)
Andrew Tridgell [Thu, 1 Oct 1998 03:07:09 +0000 (03:07 +0000)]
got rid of USE_FILES_ARRAY code (it was unused)
(This used to be commit
f15ece53162304d855bea4f329f3faed8813a831)
Jeremy Allison [Thu, 1 Oct 1998 01:27:47 +0000 (01:27 +0000)]
Fixed *nasty* bug in nt_lm_owf_gen() - this function was
not ensuring a zero filled buffer before doing crypto stuff.
See PR#10121. Beware of this !
Jeremy.
(This used to be commit
c42fb702b70f18dfe3b97ce7ea24c4ce4b3f890f)
Richard Sharpe [Thu, 1 Oct 1998 01:06:42 +0000 (01:06 +0000)]
Fix another possibly unitialized variable ...
(This used to be commit
351b9a0f8b6c071f395e082d5e1c98bda706106c)
Jeremy Allison [Wed, 30 Sep 1998 19:27:04 +0000 (19:27 +0000)]
Implemented directory-relative opens for NT opens.
Jeremy.
(This used to be commit
740784f9cf3d4f85eb71848a29b95d5db977d264)
Luke Leighton [Wed, 30 Sep 1998 19:09:57 +0000 (19:09 +0000)]
lsa_lookup_sids command added. severe debugging needed on lookup_sids
code. added "quality of service" capability to lsa_open_policy code.
different lsa_open_policy queries are *not* dealt with in the server code.
answers like "0xC000 0022" - access denied - will have to be made to
lsa_lookup_sids calls when a "quality of service" request is *not* specified
in the lsa_open_policy call.
(This used to be commit
299a723d4e55712beb12362dfff3846d82b8516b)
Andrew Tridgell [Wed, 30 Sep 1998 10:52:48 +0000 (10:52 +0000)]
set the default fstype for IPC$ to "IPC". I'm not sure if this will
make any difference, but it is the right thing to do.
(This used to be commit
a655a8a0510b0277727205394b093c580280eb55)
Jeremy Allison [Wed, 30 Sep 1998 03:05:29 +0000 (03:05 +0000)]
Upped default MAX_OPEN_FILES to 10000 after conversation with tridge.
As we're only using 1 bit per fd when idle it doesn't matter too much....
Jeremy.
(This used to be commit
dba55b2d3453bd18e1a0cb031d012733e5a214b9)
Michael Warfield [Wed, 30 Sep 1998 03:02:35 +0000 (03:02 +0000)]
Removed a redundant include for "includes.h"
Cleaned up a prototype warning message.
smbumount.c now compiles warning free.
(This used to be commit
3459541abc290bb709f2416736371e4a764c3d28)
Jeremy Allison [Wed, 30 Sep 1998 01:49:24 +0000 (01:49 +0000)]
(Finally) implemented "max open files" as a global smb.conf parameter.
Sets up the files array correctly - limited by the smb.conf parameter
and by the max fd's per process as found by getrlimit().
Jeremy.
(This used to be commit
eca24bd24352c688cdf48c1ef14adb8ac353468f)
Jeremy Allison [Wed, 30 Sep 1998 01:05:51 +0000 (01:05 +0000)]
libsmb/clientgen.c: Fixed signed/unsigned compile warnings spotted by Herb.
param/loadparm.c:
smbd/oplock.c: Allow kernel oplocks to be turned off in the smb.conf file.
smbd/server.c: Move init_structs() to after the smb.conf file is loaded - preparation
for making a "max open files" parameter.
Jeremy.
(This used to be commit
6a261517a09b005f502a37941431308fa8bf2c5c)
Jeremy Allison [Wed, 30 Sep 1998 00:25:04 +0000 (00:25 +0000)]
Fixed uid->vuid confusion in smbmount (hopefully).
Jeremy.
(This used to be commit
60c2278e8c1941bca37f1dc000bd2c29a8c0c73b)
Jeremy Allison [Tue, 29 Sep 1998 22:52:38 +0000 (22:52 +0000)]
Fixed extern definition of cnum in clitar.c
Jeremy
(This used to be commit
6c08f3b81c8039e458e0b27d6649060bf6cf6c13)
Jeremy Allison [Tue, 29 Sep 1998 20:36:18 +0000 (20:36 +0000)]
Fixed warning in get_time_from_string().
Jeremy.
(This used to be commit
e9b7ff0dece2252b28be1ed526f43ff2bdf86ade)
Jeremy Allison [Tue, 29 Sep 1998 20:24:17 +0000 (20:24 +0000)]
Got very strict about the differences and uses of
uid_t, gid_t and vuid. Added sys_getgroups() to get
around the int * return problem. Set correct datatypes
for all uid, gid and vuid variables.
Jeremy.
(This used to be commit
e570db46fc3a78e499523fd342e9a34cebb18998)
Luke Leighton [Tue, 29 Sep 1998 17:59:16 +0000 (17:59 +0000)]
missed the pdb_sam_to_smb function needed by nispass.c
(This used to be commit
b40a4e6385757cb8a44044a1437651954d6b1c90)
Luke Leighton [Tue, 29 Sep 1998 17:56:12 +0000 (17:56 +0000)]
added in some pdb_xxx routines that are needed by nispass.c
(This used to be commit
5212dd69d05a0d26dddcb4a0d9efca195436bfda)
Luke Leighton [Tue, 29 Sep 1998 17:48:44 +0000 (17:48 +0000)]
uchar / char typecast issues
(This used to be commit
1a1d8d0483fc05765e6dcc2da00405e0ec7421a2)
Jeremy Allison [Tue, 29 Sep 1998 17:17:48 +0000 (17:17 +0000)]
Missed one removed multi-statement line. Grrr.
Jeremy.
(This used to be commit
7958787d9beffcd0f025c7a85469844d2e520ce5)