Alexandre Oliva
9ba19d19ad
Avoid the message `make: [.deps/.P] Error 1 (ignored)'
0001-01-01 00:00:00 +00:00
Andrew Tridgell
cfc06af0b7
drat. We can't include sys/fcntl.h because that gives
...
conflicts. Instead use "01101" for O_CREAT|O_WRONLY|O_TRUNC.
uggh.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
c4e4508178
more solaris 2.5 fixups. It now seems to be working pretty well.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
269a7938fc
ignore .po files
0001-01-01 00:00:00 +00:00
Andrew Tridgell
70c2eb1ed9
warn user if LIBDIR isn't set right
0001-01-01 00:00:00 +00:00
Andrew Tridgell
ee349bb329
fixed some stuff for Linux that porting to Solaris broke
0001-01-01 00:00:00 +00:00
Andrew Tridgell
8d74f7bfdc
don't list the IPC$ share in directory listings (it causes infinite
...
recursion)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
e5c7cabae4
started basic support for solaris 2.5 in smbwrapper.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
a4e607c17d
- 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/
0001-01-01 00:00:00 +00:00
Andrew Tridgell
64699810e2
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.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
bf409a40e2
support using #xx at end of netbios name to connect to the specified name type
0001-01-01 00:00:00 +00:00
Andrew Tridgell
147d49dade
use *SMBSERVER convention in smbwrapper to allow us to connect to
...
servers that we don't know the netbios name of.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
7bd738c30a
add support for unlink() on printer shares in smbwrapper. unlink()
...
will remove the job from the pirnt queue.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
080fb61b69
added support for printing via smbwrapper
...
You can print using "cp filename /smb/SERVER/PRINTER/jobname"
You can list the current printqueue using ls
0001-01-01 00:00:00 +00:00
Andrew Tridgell
c5210cb0ff
add support for dup() and dup2()
0001-01-01 00:00:00 +00:00
Andrew Tridgell
98f9bb94fc
use CLI_BUFFER_SIZE instead of BUFFER_SIZE
0001-01-01 00:00:00 +00:00
Andrew Tridgell
cc1a0cf82b
set a default 16k client buffer size
0001-01-01 00:00:00 +00:00
Richard Sharpe
fcdc9bc208
Added E Jay Berkenbilt's fixes
0001-01-01 00:00:00 +00:00
Andrew Tridgell
83e93d2a44
refuse symlinks to or from a smb path
0001-01-01 00:00:00 +00:00
Andrew Tridgell
bbc891727e
fix an error code in cli_error()
0001-01-01 00:00:00 +00:00
Andrew Tridgell
c728d1c5d6
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.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
60a6834656
use dummy file descriptors opened on /dev/null to ensure that the smbw
...
file descriptor allocation order is identical to the kernels.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
04e92e692e
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
0001-01-01 00:00:00 +00:00
Andrew Tridgell
a9f9d8c3d8
- split smbw directory code into smbw_dir.c
...
- fixed a bug in the handling of multiple connections to different
servers
0001-01-01 00:00:00 +00:00
Andrew Tridgell
758048f1e1
support a few more function types (like ino_t and off_t)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
83b7bfa821
use const char
0001-01-01 00:00:00 +00:00
Andrew Tridgell
a59d4e93da
simplied the layout of the smbwrapper code. All those 3 line files
...
were getting unwieldy
0001-01-01 00:00:00 +00:00
Andrew Tridgell
c0931b6770
we need to do a load_interfaces() at startup to support broadcast
...
resolution of names.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
e28f55c0a3
use __XXXdir() instead of __libc_XXXdir()
0001-01-01 00:00:00 +00:00
Andrew Tridgell
e3fd861590
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.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
06f1af12c3
fixed a authentication problem with non-encrypting servers
0001-01-01 00:00:00 +00:00
Andrew Tridgell
1388a6fe8c
fixed initialisation bug in rpcclient (stdout is not a constant)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
c626214e23
don't call functions that aren't there yet. (Luke had the code
...
commented out in the makefile)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
a42729dbf5
added fchdir() support
0001-01-01 00:00:00 +00:00
Andrew Tridgell
1dcc84b942
fixed vi on smbwrappper (it was a problem in cli_read())
0001-01-01 00:00:00 +00:00
Andrew Tridgell
3c839a5231
fixed wrapper for access(). This gets xedit working.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
d516ee383c
support getcwd() in smbwrapper
0001-01-01 00:00:00 +00:00
Andrew Tridgell
ce748e5ea9
added mkdir() and rmdir() support
0001-01-01 00:00:00 +00:00
Andrew Tridgell
5674fb4e9d
added simple device/inode number support based on a checksum of the
...
filename
0001-01-01 00:00:00 +00:00
Andrew Tridgell
e040047c64
added a bit more to the docs
0001-01-01 00:00:00 +00:00
Andrew Tridgell
67ca971b0b
added lseek() support for directories
0001-01-01 00:00:00 +00:00
Andrew Tridgell
f05f0a01ce
fixed a bug in name_len() (thanks to kooros@kooros.netrack.net)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
752e90b24f
added lseek() to smbwrapper
0001-01-01 00:00:00 +00:00
Andrew Tridgell
cc6270f327
use O_ACCMODE
0001-01-01 00:00:00 +00:00
Andrew Tridgell
a063252913
- always open for reading (otherwise getattrE won't work).
...
- added somemore NT error codes
0001-01-01 00:00:00 +00:00
Andrew Tridgell
40af9fee1a
updated prototypes
0001-01-01 00:00:00 +00:00
Andrew Tridgell
48de03824e
define O_ACCMODE if not defined
0001-01-01 00:00:00 +00:00
Andrew Tridgell
2fbb544d38
added lseek
0001-01-01 00:00:00 +00:00
Andrew Tridgell
e5c3f36ef2
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
0001-01-01 00:00:00 +00:00
Andrew Tridgell
b85d961447
added unlink() and rename() support to smbwrapper
0001-01-01 00:00:00 +00:00