Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | added a wrapper for fork() | Andrew Tridgell | 1998-10-06 | 4 | -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 Tridgell | 1998-10-06 | 2 | -9/+12 | |
| | ||||||
* | implemented attribute mapping and chmod. file attributes are mapped in | Andrew Tridgell | 1998-10-06 | 4 | -6/+36 | |
| | | | | the same manner as smbd. See the README for a full explanation. | |||||
* | added SMBW_PREFIX environment variable (allowing you to specify root | Andrew Tridgell | 1998-10-06 | 3 | -32/+77 | |
| | | | | | | | | of smb filesystem) fixed "cd /smb" bug updated README with full list of environment variables. | |||||
* | removed unused variable | Andrew Tridgell | 1998-10-06 | 1 | -1/+0 | |
| | ||||||
* | use smbw_errno() not smbw_error() | Andrew Tridgell | 1998-10-06 | 1 | -1/+1 | |
| | ||||||
* | set HOST_OS after canonical system test | Andrew Tridgell | 1998-10-05 | 1 | -0/+1 | |
| | ||||||
* | - fixed errno return in smbw_open() | Andrew Tridgell | 1998-10-05 | 3 | -7/+17 | |
| | | | | | - updated README a bit - fixed Linux compilation of utime() | |||||
* | - keep IRIX cc -64 happy | Andrew Tridgell | 1998-10-05 | 3 | -12/+12 | |
| | | | | - fixed a chdir bug | |||||
* | ignore *.po32 files | Andrew Tridgell | 1998-10-05 | 1 | -0/+1 | |
| | ||||||
* | got smbwrapper working on IRIX 6.4. Things got a bit tricky, | Andrew Tridgell | 1998-10-05 | 4 | -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 Tridgell | 1998-10-05 | 2 | -3/+13 | |
| | ||||||
* | test for creat64() | Andrew Tridgell | 1998-10-05 | 1 | -1/+1 | |
| | ||||||
* | handle systems that are missing either SYS_utime or SYS_utimes | Andrew Tridgell | 1998-10-05 | 4 | -10/+51 | |
| | ||||||
* | ported smbwrapper to SunOS4. It seems to work. pity so many binaries on | Andrew Tridgell | 1998-10-05 | 5 | -12/+102 | |
| | | | | my SunOS box are statically linked. | |||||
* | need to use SYS_open64 not _open64 for solaris 2.6 or stdio doesn't | Andrew Tridgell | 1998-10-05 | 2 | -6/+13 | |
| | | | | work right. | |||||
* | got rid of all assembly code and gcc special features. I'm hoping to | Andrew Tridgell | 1998-10-05 | 4 | -108/+106 | |
| | | | | get smbsh working with the normal sun compiler | |||||
* | added Solaris 2.5 | Alexandre Oliva | 1998-10-05 | 1 | -0/+1 | |
| | ||||||
* | updated README | Andrew Tridgell | 1998-10-05 | 1 | -5/+10 | |
| | ||||||
* | removed requirement of having a smb.conf for smbwrapper to work. | Andrew Tridgell | 1998-10-05 | 1 | -3/+1 | |
| | ||||||
* | - added pread pread64 pwrite pwrite64 and open64 | Andrew Tridgell | 1998-10-05 | 3 | -3/+162 | |
| | | | | - fixed utime() for null tbuf | |||||
* | added a function set_maxfiles() to set our file rlimit to the max | Andrew Tridgell | 1998-10-05 | 1 | -0/+2 | |
| | | | | possible and return the max. | |||||
* | this gets smbwrapper working under Solaris 2.6. Not tested much yet. | Andrew Tridgell | 1998-10-05 | 4 | -7/+129 | |
| | ||||||
* | don't define creat() under linux until we get the CREAT_BITS stuff | Andrew Tridgell | 1998-10-05 | 2 | -2/+9 | |
| | | | | sorted out. | |||||
* | we need to use __readdir() in preference to SYS_readdir for systems | Andrew Tridgell | 1998-10-04 | 2 | -3/+2 | |
| | | | | that use getdents. | |||||
* | bin/cvsignore: deleted, so that bin can be removed from the repository | Alexandre Oliva | 1998-10-04 | 2 | -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 gives | Andrew Tridgell | 1998-10-04 | 2 | -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 Tridgell | 1998-10-04 | 4 | -13/+99 | |
| | ||||||
* | warn user if LIBDIR isn't set right | Andrew Tridgell | 1998-10-04 | 1 | -1/+6 | |
| | ||||||
* | fixed some stuff for Linux that porting to Solaris broke | Andrew Tridgell | 1998-10-04 | 3 | -79/+85 | |
| | ||||||
* | don't list the IPC$ share in directory listings (it causes infinite | Andrew Tridgell | 1998-10-04 | 1 | -0/+2 | |
| | | | | recursion) | |||||
* | started basic support for solaris 2.5 in smbwrapper. | Andrew Tridgell | 1998-10-04 | 6 | -43/+162 | |
| | ||||||
* | - modified resolve_name() to take a name_type | Andrew Tridgell | 1998-10-04 | 1 | -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/ and | Andrew Tridgell | 1998-10-04 | 2 | -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 to | Andrew Tridgell | 1998-10-04 | 1 | -3/+9 | |
| | | | | servers that we don't know the netbios name of. | |||||
* | add support for unlink() on printer shares in smbwrapper. unlink() | Andrew Tridgell | 1998-10-04 | 2 | -4/+16 | |
| | | | | will remove the job from the pirnt queue. | |||||
* | added support for printing via smbwrapper | Andrew Tridgell | 1998-10-04 | 3 | -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 Tridgell | 1998-10-04 | 5 | -25/+181 | |
| | ||||||
* | refuse symlinks to or from a smb path | Andrew Tridgell | 1998-10-04 | 3 | -2/+17 | |
| | ||||||
* | modified cli_read() and cli_write() to issue multiple outstanding | Andrew Tridgell | 1998-10-04 | 3 | -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 smbw | Andrew Tridgell | 1998-10-04 | 3 | -11/+21 | |
| | | | | file descriptor allocation order is identical to the kernels. | |||||
* | more smbw cleanups. | Andrew Tridgell | 1998-10-04 | 6 | -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.c | Andrew Tridgell | 1998-10-04 | 3 | -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 files | Andrew Tridgell | 1998-10-04 | 31 | -1066/+555 | |
| | | | | were getting unwieldy | |||||
* | we need to do a load_interfaces() at startup to support broadcast | Andrew Tridgell | 1998-10-04 | 1 | -0/+2 | |
| | | | | resolution of names. | |||||
* | use __XXXdir() instead of __libc_XXXdir() | Andrew Tridgell | 1998-10-03 | 6 | -26/+5 | |
| | ||||||
* | drat. | Andrew Tridgell | 1998-10-03 | 7 | -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() support | Andrew Tridgell | 1998-10-03 | 4 | -4/+66 | |
| | ||||||
* | fixed vi on smbwrappper (it was a problem in cli_read()) | Andrew Tridgell | 1998-10-03 | 2 | -4/+2 | |
| | ||||||
* | fixed wrapper for access(). This gets xedit working. | Andrew Tridgell | 1998-10-03 | 1 | -1/+1 | |
| |