summaryrefslogtreecommitdiffstats
path: root/source3/smbwrapper/smbw.c
Commit message (Collapse)AuthorAgeFilesLines
* removed setenv(), replaced with smbw_setenv()Andrew Tridgell1998-10-201-0/+1
| | | | (This used to be commit 72bce217ef474f056d8f6675667ec78d1772ff37)
* smbd/nttrans.c smbd/trans2.c: First fixes for NT5.0beta2. That redirectorJeremy Allison1998-10-201-3/+3
| | | | | | | has some *horrible* bugs ! smbwrapper/shared.c smbwrapper/smbsh.c smbwrapper/smbw.c: Fixed gcc warnings. Jeremy. (This used to be commit 76448d1d82a78520953c662afee0886122ce134b)
* added command line options to smbshAndrew Tridgell1998-10-191-0/+6
| | | | (This used to be commit 9b249c075e53e6cf75399d60a6371648c03104fa)
* - don't use env variables for passwords and usernames (yeah!)Andrew Tridgell1998-10-191-15/+36
| | | | | | | - added a shared variable area based on a unlinked open file, and implement a general get/set interface to it - cache hostname lookups and master ip lookups in shared variable area (This used to be commit 279cbe69efd75450113d2da0da5e67b29f3702b1)
* Small tidyups for gcc in 'preen' mode....Jeremy Allison1998-10-171-0/+4
| | | | | Jeremy. (This used to be commit 60dc1a4a00a22088d33369588b0d5eb292cf084a)
* changed some debug levelsAndrew Tridgell1998-10-161-3/+8
| | | | (This used to be commit 121e321a12c5da5cb44ca1baece7e25c3ab7f943)
* Re-added code to tell the user how many open files theyJeremy Allison1998-10-161-1/+1
| | | | | | have. Needed for server diagnosis purposes... Jeremy. (This used to be commit 04d79a9ae515e7259277f9980552f1d61df239f1)
* tridge, i had to put a #ifdef _STAT_VER_LINUX_OLD round a bit of codeLuke Leighton1998-10-141-0/+2
| | | | | | that didn't have _STAT_VER_LINUX_OLD defined. maybe you want to sort this out properly... (This used to be commit aa9dd697d41ed5bed1bddab519ea80df9e6f21f1)
* dce/rpc.Luke Leighton1998-10-091-1/+1
| | | | (This used to be commit e0445419b2d50ae6efef36f4f295ebcfdbf1ad82)
* dce/rpcLuke Leighton1998-10-081-1/+1
| | | | (This used to be commit 62fdeef1b79c5c4c9bf0e860881651711bb80b9a)
* - fixed a bunch of warnings and minor errorsAndrew Tridgell1998-10-081-1/+1
| | | | | | | - got smbtorture to compile - removed %D from some of lukes code - Luke, what is %D? it ain't portable anyway (This used to be commit 91597c12fb593f49b23c7cea5b64dbb89a0428b3)
* don't prototype the acl() functionsAndrew Tridgell1998-10-071-5/+5
| | | | (This used to be commit 9efbb21f35aca6f86ed3cb9c58ebec40e5d44b90)
* restore errno after smbw initialisationAndrew Tridgell1998-10-071-0/+5
| | | | (This used to be commit f374706cbf654bdb33df3074cb1a8101af0201eb)
* - updated docs to say OSF1 worksAndrew Tridgell1998-10-071-2/+2
| | | | | - more solaris acl fixes (This used to be commit 8fc7bc0ee6919f2c1d438e924fbb8b44f87dee63)
* yet another attempt at making this stuff portable. This time I useAndrew Tridgell1998-10-071-0/+109
| | | | | minimal includes in wrapped.c (This used to be commit fd6a59d8ca0932d61a60b74485841001d4f8fd44)
* more OSF1 changes as well as changes to allow us to use the standardAndrew Tridgell1998-10-071-1/+1
| | | | | includes.h in wrapped.c, thus making porting much simpler (This used to be commit 6f2239c935fdecfefa89227c113df01e3957691a)
* do an anonymous login if the username/password is rejected.Andrew Tridgell1998-10-071-1/+3
| | | | (This used to be commit 0ee3e0c62378bdf7a8e145de0727ea85763af95a)
* implemented unix semantics for rename in smbwrapperAndrew Tridgell1998-10-061-4/+26
| | | | (This used to be commit a5c18f9c82f5f76b00ff29c5668b4f0d3e8d6bd0)
* added a wrapper for fork()Andrew Tridgell1998-10-061-0/+69
| | | | | | 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)
* fixed a bug in time setting (utime() call)Andrew Tridgell1998-10-061-2/+5
| | | | (This used to be commit 2f4506a33c7015f2a176929d794c6c40f1433591)
* implemented attribute mapping and chmod. file attributes are mapped inAndrew Tridgell1998-10-061-3/+8
| | | | | the same manner as smbd. See the README for a full explanation. (This used to be commit 0a5dcddd3fa23081d7cd214acc32b8046125a74e)
* added SMBW_PREFIX environment variable (allowing you to specify rootAndrew Tridgell1998-10-061-16/+26
| | | | | | | | | of smb filesystem) fixed "cd /smb" bug updated README with full list of environment variables. (This used to be commit 71acf338d721b106af8d80e7b3a6f318ab75da8b)
* use smbw_errno() not smbw_error()Andrew Tridgell1998-10-061-1/+1
| | | | (This used to be commit be7ae2a4e75aab0a71be10eb39cef9434dedae2a)
* - fixed errno return in smbw_open()Andrew Tridgell1998-10-051-4/+1
| | | | | | - updated README a bit - fixed Linux compilation of utime() (This used to be commit 4bacf32755f8012110797f7aae2b3e1e0e2f537b)
* got smbwrapper working on IRIX 6.4. Things got a bit tricky,Andrew Tridgell1998-10-051-2/+3
| | | | | especially as the headers get the syscall numbers wrong! (This used to be commit a5405f1ab069a3123a819311a87ca84f2c5f0fea)
* ported smbwrapper to SunOS4. It seems to work. pity so many binaries onAndrew Tridgell1998-10-051-5/+22
| | | | | my SunOS box are statically linked. (This used to be commit 541f1c421127334817b73388f4ccb9cc0841dd4e)
* got rid of all assembly code and gcc special features. I'm hoping toAndrew Tridgell1998-10-051-31/+0
| | | | | get smbsh working with the normal sun compiler (This used to be commit c6ee915336e1533e1f4f10f14b3d57de01f8fe96)
* removed requirement of having a smb.conf for smbwrapper to work.Andrew Tridgell1998-10-051-3/+1
| | | | (This used to be commit af58bf2ff8ddbf974dbafa36cf1b679226371e09)
* - added pread pread64 pwrite pwrite64 and open64Andrew Tridgell1998-10-051-3/+71
| | | | | - fixed utime() for null tbuf (This used to be commit 9047bf59b402de40e520bfc2afa1cbfad5508f72)
* added a function set_maxfiles() to set our file rlimit to the maxAndrew Tridgell1998-10-051-0/+2
| | | | | possible and return the max. (This used to be commit 7a7b5ee1689b6be57752d176c7b77a2f1b453486)
* - 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/ (This used to be commit a4e607c17d1119925c9d0e1d05e0fe81e9a2d1aa)
* support NetServerEnum in smbwrapper. You can now do a ls in /smb/ andAndrew Tridgell1998-10-041-4/+27
| | | | | | 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)
* 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. (This used to be commit 147d49dade3901835b5d60b02c495bea544ff5e9)
* add support for unlink() on printer shares in smbwrapper. unlink()Andrew Tridgell1998-10-041-1/+9
| | | | | will remove the job from the pirnt queue. (This used to be commit 7bd738c30a09a211fd14a8544309efeec17c66f5)
* added support for printing via smbwrapperAndrew Tridgell1998-10-041-2/+1
| | | | | | | You can print using "cp filename /smb/SERVER/PRINTER/jobname" You can list the current printqueue using ls (This used to be commit 080fb61b69620e26e8122705383dc2bd0468a519)
* add support for dup() and dup2()Andrew Tridgell1998-10-041-17/+145
| | | | (This used to be commit c5210cb0fffd406ef1809db8644b299bb661df4d)
* refuse symlinks to or from a smb pathAndrew Tridgell1998-10-041-2/+2
| | | | (This used to be commit 83e93d2a4493546cb481f5c8187c64207b5901d1)
* modified cli_read() and cli_write() to issue multiple outstandingAndrew Tridgell1998-10-041-2/+3
| | | | | | | | | | 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)
* use dummy file descriptors opened on /dev/null to ensure that the smbwAndrew Tridgell1998-10-041-6/+10
| | | | | file descriptor allocation order is identical to the kernels. (This used to be commit 60a683465647932f7241ba9f92443d5e5294e20b)
* more smbw cleanups.Andrew Tridgell1998-10-041-152/+3
| | | | | | | - 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)
* - split smbw directory code into smbw_dir.cAndrew Tridgell1998-10-041-619/+21
| | | | | | - fixed a bug in the handling of multiple connections to different servers (This used to be commit a9f9d8c3d8c18a5ab4c18c1348ee9c8d643880fa)
* simplied the layout of the smbwrapper code. All those 3 line filesAndrew Tridgell1998-10-041-10/+11
| | | | | were getting unwieldy (This used to be commit a59d4e93da2cb2bb61a632ce85af0888a87a03e2)
* we need to do a load_interfaces() at startup to support broadcastAndrew Tridgell1998-10-041-0/+2
| | | | | resolution of names. (This used to be commit c0931b6770dd822f156f388f37fb5b4abfcad51f)
* drat.Andrew Tridgell1998-10-031-5/+74
| | | | | | | | 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)
* added fchdir() supportAndrew Tridgell1998-10-031-2/+29
| | | | (This used to be commit a42729dbf5414f54e5d623514533958c62ada5f6)
* fixed vi on smbwrappper (it was a problem in cli_read())Andrew Tridgell1998-10-031-1/+1
| | | | (This used to be commit 1dcc84b942d4669f978aebdeaf85ea609c2b732f)
* fixed wrapper for access(). This gets xedit working.Andrew Tridgell1998-10-031-1/+1
| | | | (This used to be commit 3c839a523183c163db0d14cf1a3aac47ffafd496)
* support getcwd() in smbwrapperAndrew Tridgell1998-10-031-0/+36
| | | | (This used to be commit d516ee383c287550a5953cf5ea1cd69cc957e1aa)
* added mkdir() and rmdir() supportAndrew Tridgell1998-10-031-0/+87
| | | | (This used to be commit ce748e5ea94380147a01de8235b343c7e2852bee)
* added simple device/inode number support based on a checksum of theAndrew Tridgell1998-10-031-1/+17
| | | | | filename (This used to be commit 5674fb4e9dc4d92213d763c8cecd26efc23a9720)