Andrew Tridgell
7914f66ef0
possibly use __sys_llseek()
...
(This used to be commit ab49ffe37f11b28144a7815ada1d891b14ffbc2d)
1998-10-07 08:11:12 +00:00
Andrew Tridgell
73b52ab419
won't need wrapper.h anymore
...
(This used to be commit 1918ea2991bef323fdb00912500961d60da17cdb)
1998-10-07 08:10:48 +00:00
Andrew Tridgell
d836bedb40
more OSF1 changes as well as changes to allow us to use the standard
...
includes.h in wrapped.c, thus making porting much simpler
(This used to be commit 6f2239c935fdecfefa89227c113df01e3957691a)
1998-10-07 07:55:14 +00:00
Andrew Tridgell
d2856b2dab
test whether seekdir() returns void or not
...
(This used to be commit 4dbfec81b2c67f2d36b26685a631001738d9569f)
1998-10-07 06:15:08 +00:00
Andrew Tridgell
002a9fe634
- no getdents on OSF1
...
- try a new method of handling prototype mismatches in wrapped.c. We
now try to disable prototypes!
(This used to be commit 77aea37bb83f2b9ad541f851b003ca10b9811314)
1998-10-07 05:58:09 +00:00
Andrew Tridgell
749f3f537e
fixed a bug in real_seekdir()
...
(This used to be commit 699777a5c149d8608c834034d50b207d6da254b2)
1998-10-07 04:52:12 +00:00
Andrew Tridgell
5e35eea939
some changes for OSF1 support in smbwrapper (just preliminary changes,
...
doesn't work yet)
(This used to be commit ffa7d0461fa6628302ddf5590a42cca60ec8b90b)
1998-10-07 04:44:31 +00:00
Andrew Tridgell
c61a011006
added a document on how to port smbwrapper to a new system
...
(This used to be commit bf1e257afb51f93e707bd7c1f75c8a2b35e69bed)
1998-10-07 04:24:42 +00:00
Andrew Tridgell
029144cd8c
do an anonymous login if the username/password is rejected.
...
(This used to be commit 0ee3e0c62378bdf7a8e145de0727ea85763af95a)
1998-10-07 00:40:18 +00:00
Andrew Tridgell
404f14fb36
implemented unix semantics for rename in smbwrapper
...
(This used to be commit a5c18f9c82f5f76b00ff29c5668b4f0d3e8d6bd0)
1998-10-06 13:10:06 +00:00
Andrew Tridgell
fff618aeb4
added a wrapper for fork()
...
in a fork we have to close all server connections otherwise we can end
up with two processes writing to the same socket.
(This used to be commit b7ecbca3aff34ff06a445e5ee39efba48261b7e8)
1998-10-06 12:23:37 +00:00
Andrew Tridgell
4fe9c5b656
fixed a bug in time setting (utime() call)
...
(This used to be commit 2f4506a33c7015f2a176929d794c6c40f1433591)
1998-10-06 11:56:44 +00:00
Andrew Tridgell
58f6c75bab
implemented attribute mapping and chmod. file attributes are mapped in
...
the same manner as smbd. See the README for a full explanation.
(This used to be commit 0a5dcddd3fa23081d7cd214acc32b8046125a74e)
1998-10-06 11:14:52 +00:00
Andrew Tridgell
ed75bab8e2
added SMBW_PREFIX environment variable (allowing you to specify root
...
of smb filesystem)
fixed "cd /smb" bug
updated README with full list of environment variables.
(This used to be commit 71acf338d721b106af8d80e7b3a6f318ab75da8b)
1998-10-06 10:24:22 +00:00
Andrew Tridgell
3d21f03595
removed unused variable
...
(This used to be commit b923bb2aae8aa13e8f6bd41d2f06dc016b559269)
1998-10-06 03:20:56 +00:00
Andrew Tridgell
0f87638b5f
use smbw_errno() not smbw_error()
...
(This used to be commit be7ae2a4e75aab0a71be10eb39cef9434dedae2a)
1998-10-06 03:12:40 +00:00
Andrew Tridgell
4af40453a8
set HOST_OS after canonical system test
...
(This used to be commit fc602e5e26a2de94be6b5a5509b77876dc0fd7ff)
1998-10-05 23:44:13 +00:00
Andrew Tridgell
36ee52334b
- fixed errno return in smbw_open()
...
- updated README a bit
- fixed Linux compilation of utime()
(This used to be commit 4bacf32755f8012110797f7aae2b3e1e0e2f537b)
1998-10-05 13:51:19 +00:00
Andrew Tridgell
4473ce561b
- keep IRIX cc -64 happy
...
- fixed a chdir bug
(This used to be commit 80d1c5118abaa99fe0f1c9d2089a81c9953cebad)
1998-10-05 12:43:05 +00:00
Andrew Tridgell
217804ba43
ignore *.po32 files
...
(This used to be commit 01de9a50e030da722076c67c235801c36c90bb66)
1998-10-05 12:36:44 +00:00
Andrew Tridgell
bfaff8ed1a
got smbwrapper working on IRIX 6.4. Things got a bit tricky,
...
especially as the headers get the syscall numbers wrong!
(This used to be commit a5405f1ab069a3123a819311a87ca84f2c5f0fea)
1998-10-05 12:17:01 +00:00
Andrew Tridgell
62f2ac904f
this gets it compiling under IRIX 6.4. Doesn't work yet though.
...
(This used to be commit 0c8288a72c6d6f2774dd57a7107ad68c98e0d24a)
1998-10-05 09:23:46 +00:00
Andrew Tridgell
a6c2a568c1
test for creat64()
...
(This used to be commit 8aa6c16eeb96d6a66a2946f5048126f175f9f609)
1998-10-05 09:01:49 +00:00
Andrew Tridgell
61d8534d7c
handle systems that are missing either SYS_utime or SYS_utimes
...
(This used to be commit 4379f0fe48a40e1ff6b343bbcff542efbda1f4f8)
1998-10-05 08:54:55 +00:00
Andrew Tridgell
81905488ff
ported smbwrapper to SunOS4. It seems to work. pity so many binaries on
...
my SunOS box are statically linked.
(This used to be commit 541f1c421127334817b73388f4ccb9cc0841dd4e)
1998-10-05 08:44:46 +00:00
Andrew Tridgell
9a98985a65
need to use SYS_open64 not _open64 for solaris 2.6 or stdio doesn't
...
work right.
(This used to be commit c185585dd917d6c157460e941e983b5e43d69f7a)
1998-10-05 06:09:44 +00:00
Andrew Tridgell
4e8b4a20ab
got rid of all assembly code and gcc special features. I'm hoping to
...
get smbsh working with the normal sun compiler
(This used to be commit c6ee915336e1533e1f4f10f14b3d57de01f8fe96)
1998-10-05 04:58:33 +00:00
Alexandre Oliva
a2941d4244
added Solaris 2.5
...
(This used to be commit 788992f58613f7f4fa0e9ce7087267dec75f2e51)
1998-10-05 04:53:28 +00:00
Andrew Tridgell
4be0416cfa
updated README
...
(This used to be commit 507646d4e54665cb6ce5ba2aa35d72d95cdd8e81)
1998-10-05 03:56:09 +00:00
Andrew Tridgell
ca3d1b9bf0
removed requirement of having a smb.conf for smbwrapper to work.
...
(This used to be commit af58bf2ff8ddbf974dbafa36cf1b679226371e09)
1998-10-05 02:55:53 +00:00
Andrew Tridgell
92b21b3e82
- added pread pread64 pwrite pwrite64 and open64
...
- fixed utime() for null tbuf
(This used to be commit 9047bf59b402de40e520bfc2afa1cbfad5508f72)
1998-10-05 02:31:39 +00:00
Andrew Tridgell
93bbfce02b
added a function set_maxfiles() to set our file rlimit to the max
...
possible and return the max.
(This used to be commit 7a7b5ee1689b6be57752d176c7b77a2f1b453486)
1998-10-05 01:57:03 +00:00
Andrew Tridgell
0531f4640a
this gets smbwrapper working under Solaris 2.6. Not tested much yet.
...
(This used to be commit 6a1b346d98c10688f0995a6ab8fd155a77ead258)
1998-10-05 01:42:46 +00:00
Andrew Tridgell
791b837af1
don't define creat() under linux until we get the CREAT_BITS stuff
...
sorted out.
(This used to be commit 86b66d92772d4a72b7b8c7f2d8d793533d7f6130)
1998-10-05 00:32:09 +00:00
Andrew Tridgell
dde4b88a02
we need to use __readdir() in preference to SYS_readdir for systems
...
that use getdents.
(This used to be commit c63ad1b69859653d67d4711b700015860680efff)
1998-10-04 23:47:02 +00:00
Alexandre Oliva
06eaf71e43
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)
1998-10-04 22:42:05 +00:00
Andrew Tridgell
b3ee6a113e
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)
1998-10-04 16:03:32 +00:00
Andrew Tridgell
e34e25d907
more solaris 2.5 fixups. It now seems to be working pretty well.
...
(This used to be commit c4e450817886b40474cebdfc50c0c16fb4646baf)
1998-10-04 15:54:04 +00:00
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
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
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
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