summaryrefslogtreecommitdiffstats
path: root/source/smbwrapper
Commit message (Collapse)AuthorAgeFilesLines
...
* added a wrapper for fork()Andrew Tridgell1998-10-064-0/+83
| | | | | in a fork we have to close all server connections otherwise we can end up with two processes writing to the same socket.
* fixed a bug in time setting (utime() call)Andrew Tridgell1998-10-062-9/+12
|
* implemented attribute mapping and chmod. file attributes are mapped inAndrew Tridgell1998-10-064-6/+36
| | | | the same manner as smbd. See the README for a full explanation.
* added SMBW_PREFIX environment variable (allowing you to specify rootAndrew Tridgell1998-10-063-32/+77
| | | | | | | | of smb filesystem) fixed "cd /smb" bug updated README with full list of environment variables.
* removed unused variableAndrew Tridgell1998-10-061-1/+0
|
* use smbw_errno() not smbw_error()Andrew Tridgell1998-10-061-1/+1
|
* set HOST_OS after canonical system testAndrew Tridgell1998-10-051-0/+1
|
* - fixed errno return in smbw_open()Andrew Tridgell1998-10-053-7/+17
| | | | | - updated README a bit - fixed Linux compilation of utime()
* - keep IRIX cc -64 happyAndrew Tridgell1998-10-053-12/+12
| | | | - fixed a chdir bug
* ignore *.po32 filesAndrew Tridgell1998-10-051-0/+1
|
* got smbwrapper working on IRIX 6.4. Things got a bit tricky,Andrew Tridgell1998-10-054-5/+29
| | | | especially as the headers get the syscall numbers wrong!
* this gets it compiling under IRIX 6.4. Doesn't work yet though.Andrew Tridgell1998-10-052-3/+13
|
* test for creat64()Andrew Tridgell1998-10-051-1/+1
|
* handle systems that are missing either SYS_utime or SYS_utimesAndrew Tridgell1998-10-054-10/+51
|
* ported smbwrapper to SunOS4. It seems to work. pity so many binaries onAndrew Tridgell1998-10-055-12/+102
| | | | my SunOS box are statically linked.
* need to use SYS_open64 not _open64 for solaris 2.6 or stdio doesn'tAndrew Tridgell1998-10-052-6/+13
| | | | work right.
* got rid of all assembly code and gcc special features. I'm hoping toAndrew Tridgell1998-10-054-108/+106
| | | | get smbsh working with the normal sun compiler
* added Solaris 2.5Alexandre Oliva1998-10-051-0/+1
|
* updated READMEAndrew Tridgell1998-10-051-5/+10
|
* removed requirement of having a smb.conf for smbwrapper to work.Andrew Tridgell1998-10-051-3/+1
|
* - added pread pread64 pwrite pwrite64 and open64Andrew Tridgell1998-10-053-3/+162
| | | | - fixed utime() for null tbuf
* added a function set_maxfiles() to set our file rlimit to the maxAndrew Tridgell1998-10-051-0/+2
| | | | possible and return the max.
* this gets smbwrapper working under Solaris 2.6. Not tested much yet.Andrew Tridgell1998-10-054-7/+129
|
* don't define creat() under linux until we get the CREAT_BITS stuffAndrew Tridgell1998-10-052-2/+9
| | | | sorted out.
* we need to use __readdir() in preference to SYS_readdir for systemsAndrew Tridgell1998-10-042-3/+2
| | | | that use getdents.
* bin/cvsignore: deleted, so that bin can be removed from the repositoryAlexandre Oliva1998-10-042-10/+11
| | | | | | | | | | | | .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
* drat. We can't include sys/fcntl.h because that givesAndrew Tridgell1998-10-042-2/+2
| | | | | | conflicts. Instead use "01101" for O_CREAT|O_WRONLY|O_TRUNC. uggh.
* more solaris 2.5 fixups. It now seems to be working pretty well.Andrew Tridgell1998-10-044-13/+99
|
* warn user if LIBDIR isn't set rightAndrew Tridgell1998-10-041-1/+6
|
* fixed some stuff for Linux that porting to Solaris brokeAndrew Tridgell1998-10-043-79/+85
|
* don't list the IPC$ share in directory listings (it causes infiniteAndrew Tridgell1998-10-041-0/+2
| | | | recursion)
* started basic support for solaris 2.5 in smbwrapper.Andrew Tridgell1998-10-046-43/+162
|
* - modified resolve_name() to take a name_typeAndrew Tridgell1998-10-041-2/+6
| | | | | | - 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/
* support NetServerEnum in smbwrapper. You can now do a ls in /smb/ andAndrew Tridgell1998-10-042-6/+52
| | | | | it will list all servers in your workgroup. You can set your workgroup with the SMBW_WORKGROUP environment variable.
* use *SMBSERVER convention in smbwrapper to allow us to connect toAndrew Tridgell1998-10-041-3/+9
| | | | servers that we don't know the netbios name of.
* add support for unlink() on printer shares in smbwrapper. unlink()Andrew Tridgell1998-10-042-4/+16
| | | | will remove the job from the pirnt queue.
* added support for printing via smbwrapperAndrew Tridgell1998-10-043-9/+76
| | | | | | You can print using "cp filename /smb/SERVER/PRINTER/jobname" You can list the current printqueue using ls
* add support for dup() and dup2()Andrew Tridgell1998-10-045-25/+181
|
* refuse symlinks to or from a smb pathAndrew Tridgell1998-10-043-2/+17
|
* modified cli_read() and cli_write() to issue multiple outstandingAndrew Tridgell1998-10-043-3/+5
| | | | | | | | | 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.
* use dummy file descriptors opened on /dev/null to ensure that the smbwAndrew Tridgell1998-10-043-11/+21
| | | | file descriptor allocation order is identical to the kernels.
* more smbw cleanups.Andrew Tridgell1998-10-046-162/+226
| | | | | | - cleaned up prototyping. Unfortunately we can't auto-prototype wrapped.c because it replaces system functions. - split stat functions into smbw_stat.c
* - split smbw directory code into smbw_dir.cAndrew Tridgell1998-10-043-619/+658
| | | | | - fixed a bug in the handling of multiple connections to different servers
* simplied the layout of the smbwrapper code. All those 3 line filesAndrew Tridgell1998-10-0431-1066/+555
| | | | were getting unwieldy
* we need to do a load_interfaces() at startup to support broadcastAndrew Tridgell1998-10-041-0/+2
| | | | resolution of names.
* use __XXXdir() instead of __libc_XXXdir()Andrew Tridgell1998-10-036-26/+5
|
* drat.Andrew Tridgell1998-10-037-6/+261
| | | | | | | 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.
* added fchdir() supportAndrew Tridgell1998-10-034-4/+66
|
* fixed vi on smbwrappper (it was a problem in cli_read())Andrew Tridgell1998-10-032-4/+2
|
* fixed wrapper for access(). This gets xedit working.Andrew Tridgell1998-10-031-1/+1
|