1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

1998 Commits

Author SHA1 Message Date
Andrew Tridgell
12112bd873 warn user if LIBDIR isn't set right
(This used to be commit 70c2eb1ed93f4691e73e8ab32d81f50ea8785e2c)
1998-10-04 15:02:15 +00:00
Andrew Tridgell
4f31812714 fixed some stuff for Linux that porting to Solaris broke
(This used to be commit ee349bb329498e6f5852c1bf21c48563d076dc88)
1998-10-04 14:56:19 +00:00
Andrew Tridgell
770acd0a8f don't list the IPC$ share in directory listings (it causes infinite
recursion)
(This used to be commit 8d74f7bfdc217e95a7e300d06c3bf4e8d4877a6a)
1998-10-04 14:07:18 +00:00
Andrew Tridgell
3a8232644e started basic support for solaris 2.5 in smbwrapper.
(This used to be commit e5c7cabae4826bde819b94a48bc4674dcd69da21)
1998-10-04 14:02:50 +00:00
Andrew Tridgell
40984f6b55 - 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)
1998-10-04 12:00:40 +00:00
Andrew Tridgell
1970c92c0a 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)
1998-10-04 11:25:06 +00:00
Andrew Tridgell
f2c43ee039 support using #xx at end of netbios name to connect to the specified name type
(This used to be commit bf409a40e21e44ec653d4d8fd34b52d0e7b64aed)
1998-10-04 10:48:31 +00:00
Andrew Tridgell
7c3c022a89 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)
1998-10-04 10:46:52 +00:00
Andrew Tridgell
a1b002fcbe add support for unlink() on printer shares in smbwrapper. unlink()
will remove the job from the pirnt queue.
(This used to be commit 7bd738c30a09a211fd14a8544309efeec17c66f5)
1998-10-04 10:14:21 +00:00
Andrew Tridgell
6760e69a68 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)
1998-10-04 09:42:51 +00:00
Andrew Tridgell
ce843e9735 add support for dup() and dup2()
(This used to be commit c5210cb0fffd406ef1809db8644b299bb661df4d)
1998-10-04 07:52:00 +00:00
Andrew Tridgell
52e5dbeb9c use CLI_BUFFER_SIZE instead of BUFFER_SIZE
(This used to be commit 98f9bb94fcdd0195158eba0deaebe4679baea44c)
1998-10-04 07:51:34 +00:00
Andrew Tridgell
944d7e2c7e set a default 16k client buffer size
(This used to be commit cc1a0cf82b25e259c35f8accbb948814cc28a9ba)
1998-10-04 07:50:44 +00:00
Richard Sharpe
832ca93117 Added E Jay Berkenbilt's fixes
(This used to be commit fcdc9bc2089822b02b30cd55054a60ed4e696e70)
1998-10-04 07:09:38 +00:00
Andrew Tridgell
af4a13b37a refuse symlinks to or from a smb path
(This used to be commit 83e93d2a4493546cb481f5c8187c64207b5901d1)
1998-10-04 06:44:20 +00:00
Andrew Tridgell
f3db9286f9 fix an error code in cli_error()
(This used to be commit bbc891727e57172bf6200e10c32498776a77510b)
1998-10-04 06:43:41 +00:00
Andrew Tridgell
5ade894f32 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)
1998-10-04 06:22:08 +00:00
Andrew Tridgell
d71c04f927 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)
1998-10-04 04:48:17 +00:00
Andrew Tridgell
57a58f592b 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)
1998-10-04 04:33:56 +00:00
Andrew Tridgell
977d601556 - 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)
1998-10-04 03:28:43 +00:00
Andrew Tridgell
e2b4941887 support a few more function types (like ino_t and off_t)
(This used to be commit 758048f1e17db70daa4cd169d5c9b833f94279f4)
1998-10-04 03:27:29 +00:00
Andrew Tridgell
a1e10cfc3c use const char
(This used to be commit 83b7bfa821b88f0826b348ec493141a324e12a86)
1998-10-04 03:27:04 +00:00
Andrew Tridgell
819a6785b3 simplied the layout of the smbwrapper code. All those 3 line files
were getting unwieldy
(This used to be commit a59d4e93da2cb2bb61a632ce85af0888a87a03e2)
1998-10-04 01:36:40 +00:00
Andrew Tridgell
0e76d371ae we need to do a load_interfaces() at startup to support broadcast
resolution of names.
(This used to be commit c0931b6770dd822f156f388f37fb5b4abfcad51f)
1998-10-04 01:10:18 +00:00
Andrew Tridgell
a4a0c71e4f use __XXXdir() instead of __libc_XXXdir()
(This used to be commit e28f55c0a3386cdb0185f5252b54d10d2c2a1710)
1998-10-03 16:40:32 +00:00
Andrew Tridgell
1fa3478aaf 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)
1998-10-03 16:34:57 +00:00
Andrew Tridgell
8d4c732621 fixed a authentication problem with non-encrypting servers
(This used to be commit 06f1af12c37fc759e7315366dd4e82f4e96b042d)
1998-10-03 15:55:18 +00:00
Andrew Tridgell
8bca34de11 fixed initialisation bug in rpcclient (stdout is not a constant)
(This used to be commit 1388a6fe8ccd0b2fec8086feebc785b3a5de78d3)
1998-10-03 15:45:29 +00:00
Andrew Tridgell
e63dc32b00 don't call functions that aren't there yet. (Luke had the code
commented out in the makefile)
(This used to be commit c626214e23738334ca5ea5f4f1a5180d3245231b)
1998-10-03 15:29:39 +00:00
Andrew Tridgell
86701c6a3c added fchdir() support
(This used to be commit a42729dbf5414f54e5d623514533958c62ada5f6)
1998-10-03 15:28:47 +00:00
Andrew Tridgell
f2d8f110db fixed vi on smbwrappper (it was a problem in cli_read())
(This used to be commit 1dcc84b942d4669f978aebdeaf85ea609c2b732f)
1998-10-03 15:01:11 +00:00
Andrew Tridgell
76aa53bce1 fixed wrapper for access(). This gets xedit working.
(This used to be commit 3c839a523183c163db0d14cf1a3aac47ffafd496)
1998-10-03 14:46:48 +00:00
Andrew Tridgell
4d9ab2add2 support getcwd() in smbwrapper
(This used to be commit d516ee383c287550a5953cf5ea1cd69cc957e1aa)
1998-10-03 13:58:07 +00:00
Andrew Tridgell
aa7aacacab added mkdir() and rmdir() support
(This used to be commit ce748e5ea94380147a01de8235b343c7e2852bee)
1998-10-03 13:27:56 +00:00
Andrew Tridgell
03a06267f4 added simple device/inode number support based on a checksum of the
filename
(This used to be commit 5674fb4e9dc4d92213d763c8cecd26efc23a9720)
1998-10-03 13:12:08 +00:00
Andrew Tridgell
13b431ff2d added a bit more to the docs
(This used to be commit e040047c647df3991becbf2b45de785fc875d1ff)
1998-10-03 12:47:52 +00:00
Andrew Tridgell
f651787785 added lseek() support for directories
(This used to be commit 67ca971b0b00b5256b0af2c1c5777c393f9cef0b)
1998-10-03 12:33:34 +00:00
Andrew Tridgell
6291a9da89 fixed a bug in name_len() (thanks to kooros@kooros.netrack.net)
(This used to be commit f05f0a01cefbf19943a53c3307eb992d77238b51)
1998-10-03 12:32:18 +00:00
Andrew Tridgell
4b760a63da added lseek() to smbwrapper
(This used to be commit 752e90b24f37d4697b87c65a53b45799c21ecab7)
1998-10-03 11:54:20 +00:00
Andrew Tridgell
d0fb78b85e use O_ACCMODE
(This used to be commit cc6270f327fdc998e5e3a2d8c3b50f33a29ec3c1)
1998-10-03 11:54:00 +00:00
Andrew Tridgell
4fedb9ddd5 - always open for reading (otherwise getattrE won't work).
- added somemore NT error codes
(This used to be commit a0632529133fdaff9d70ac3e0cf6bb021c79438e)
1998-10-03 11:53:37 +00:00
Andrew Tridgell
bab2843a75 updated prototypes
(This used to be commit 40af9fee1ac17bf329afcf1f0c73a92f03f183dd)
1998-10-03 11:51:52 +00:00
Andrew Tridgell
959005eb5e define O_ACCMODE if not defined
(This used to be commit 48de03824ed33e9751bc9deeb22f1e1ef650b8cb)
1998-10-03 11:51:30 +00:00
Andrew Tridgell
c0dd3c5c5c added lseek
(This used to be commit 2fbb544d38f7824dc6272517bded4be952b073b1)
1998-10-03 11:51:01 +00:00
Andrew Tridgell
909ca3a887 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)
1998-10-03 10:24:49 +00:00
Andrew Tridgell
cce5f09a90 added unlink() and rename() support to smbwrapper
(This used to be commit b85d96144728e8a29c7c1114462e28bf3b144b80)
1998-10-03 09:39:11 +00:00
Andrew Tridgell
8a9fc22a6f ignore *.p files
(This used to be commit e246a202306b8e4e7357057deb094b5a04b28408)
1998-10-03 08:34:53 +00:00
Andrew Tridgell
a139078c4d 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)
1998-10-03 08:34:35 +00:00
Andrew Tridgell
65cfbc97ae - ignore *.p files
(This used to be commit 5328ecbc41daa3fe1adbf8dbe9db8180ae55da3d)
1998-10-03 08:33:22 +00:00
Andrew Tridgell
27e5850fd3 - 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)
1998-10-03 08:33:07 +00:00