Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | removed encrypt-password code pre-cli_session_setup(), session setup | Luke Leighton | 1999-01-29 | 1 | -6/+2 |
| | | | | fn decides whether to encrypt password or not. | ||||
* | - got client code cleartext passwords working again in cli_session_setup. | Luke Leighton | 1999-01-27 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | needed this for some tests. - removed code that said "if lm password is not encrypted then encrypt both lm and nt passwords". actually it said "if lm password length is not 24 bytes and we're in security=user mode..." it didn't bother to check whether the nt password was NULL or not, and doing the encryption inside cli_session_setup is the wrong place. - checked all instances where cli_session_setup is called with cleartext passwords that are expected to then be encrypted (see above) with the test "if pwlen != 24...". there was only one: all the others either provide encrypted passwords, do null sessions or use cli_establish_connection. * recommendation: use cli_establish_connection() in smbwrapper/smbw.c | ||||
* | Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls. | Jeremy Allison | 1998-11-17 | 1 | -1/+1 |
| | | | | | | | | | | Tidied up some of the mess (no other word for it). Still doesn't compile cleanly. There are calls with incorrect parameters that don't seem to be doing the right thing. This code still needs surgery :-(. Jeremy. | ||||
* | fixes for OSF1 compilation | Andrew Tridgell | 1998-11-13 | 1 | -0/+6 |
| | |||||
* | Makefile.in: Removed rpc_server/srv_ldap_helpers.c per J.F.'s instructions. | Jeremy Allison | 1998-11-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | client/client.c: client/clitar.c: include/client.h: smbwrapper/smbw_dir.c: smbwrapper/smbw_stat.c: smbwrapper/smbw.c: lib/util.c: Converted all use of 'mode' to uint16. smbd/quotas.c: Fixed stupid comment bug I put in there :-(. printing/printing.c: Fix from J.F. to new code. Jeremy. | ||||
* | handle the case of an intermediate binary not loading smbwrapper.so | Andrew Tridgell | 1998-10-24 | 1 | -2/+1 |
| | | | | (for example /usr/bin/man because it is setgid). | ||||
* | volker was concerned about unique inode numbers and smbsh. This set of | Andrew Tridgell | 1998-10-24 | 1 | -1/+3 |
| | | | | | | changes uses the unique index number from a SMB_QUERY_FILE_ALL_INFO to try to provide inode numbers. If it is 0 then use the hash of the filename as before. | ||||
* | make sure that apps can't close one of the internal smbw file | Andrew Tridgell | 1998-10-24 | 1 | -2/+19 |
| | | | | | descriptors by catching close attempts on those fds and returning EBADF. | ||||
* | fixed problems with PWD - we no longer use the PWD env variable | Andrew Tridgell | 1998-10-23 | 1 | -6/+14 |
| | | | | | | instead the shared variable area is used. this fixes problems with /bin/sh under solaris | ||||
* | removed setenv(), replaced with smbw_setenv() | Andrew Tridgell | 1998-10-20 | 1 | -0/+1 |
| | |||||
* | smbd/nttrans.c smbd/trans2.c: First fixes for NT5.0beta2. That redirector | Jeremy Allison | 1998-10-20 | 1 | -3/+3 |
| | | | | | | has some *horrible* bugs ! smbwrapper/shared.c smbwrapper/smbsh.c smbwrapper/smbw.c: Fixed gcc warnings. Jeremy. | ||||
* | added command line options to smbsh | Andrew Tridgell | 1998-10-19 | 1 | -0/+6 |
| | |||||
* | - don't use env variables for passwords and usernames (yeah!) | Andrew Tridgell | 1998-10-19 | 1 | -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 | ||||
* | Small tidyups for gcc in 'preen' mode.... | Jeremy Allison | 1998-10-17 | 1 | -0/+4 |
| | | | | Jeremy. | ||||
* | changed some debug levels | Andrew Tridgell | 1998-10-16 | 1 | -3/+8 |
| | |||||
* | Re-added code to tell the user how many open files they | Jeremy Allison | 1998-10-16 | 1 | -1/+1 |
| | | | | | have. Needed for server diagnosis purposes... Jeremy. | ||||
* | tridge, i had to put a #ifdef _STAT_VER_LINUX_OLD round a bit of code | Luke Leighton | 1998-10-14 | 1 | -0/+2 |
| | | | | | that didn't have _STAT_VER_LINUX_OLD defined. maybe you want to sort this out properly... | ||||
* | dce/rpc. | Luke Leighton | 1998-10-09 | 1 | -1/+1 |
| | |||||
* | dce/rpc | Luke Leighton | 1998-10-08 | 1 | -1/+1 |
| | |||||
* | - fixed a bunch of warnings and minor errors | Andrew Tridgell | 1998-10-08 | 1 | -1/+1 |
| | | | | | | - got smbtorture to compile - removed %D from some of lukes code - Luke, what is %D? it ain't portable anyway | ||||
* | don't prototype the acl() functions | Andrew Tridgell | 1998-10-07 | 1 | -5/+5 |
| | |||||
* | restore errno after smbw initialisation | Andrew Tridgell | 1998-10-07 | 1 | -0/+5 |
| | |||||
* | - updated docs to say OSF1 works | Andrew Tridgell | 1998-10-07 | 1 | -2/+2 |
| | | | | - more solaris acl fixes | ||||
* | yet another attempt at making this stuff portable. This time I use | Andrew Tridgell | 1998-10-07 | 1 | -0/+109 |
| | | | | minimal includes in wrapped.c | ||||
* | more OSF1 changes as well as changes to allow us to use the standard | Andrew Tridgell | 1998-10-07 | 1 | -1/+1 |
| | | | | includes.h in wrapped.c, thus making porting much simpler | ||||
* | do an anonymous login if the username/password is rejected. | Andrew Tridgell | 1998-10-07 | 1 | -1/+3 |
| | |||||
* | implemented unix semantics for rename in smbwrapper | Andrew Tridgell | 1998-10-06 | 1 | -4/+26 |
| | |||||
* | added a wrapper for fork() | Andrew Tridgell | 1998-10-06 | 1 | -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. | ||||
* | fixed a bug in time setting (utime() call) | Andrew Tridgell | 1998-10-06 | 1 | -2/+5 |
| | |||||
* | implemented attribute mapping and chmod. file attributes are mapped in | Andrew Tridgell | 1998-10-06 | 1 | -3/+8 |
| | | | | 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 | 1 | -16/+26 |
| | | | | | | | | of smb filesystem) fixed "cd /smb" bug updated README with full list of environment variables. | ||||
* | use smbw_errno() not smbw_error() | Andrew Tridgell | 1998-10-06 | 1 | -1/+1 |
| | |||||
* | - fixed errno return in smbw_open() | Andrew Tridgell | 1998-10-05 | 1 | -4/+1 |
| | | | | | - updated README a bit - fixed Linux compilation of utime() | ||||
* | got smbwrapper working on IRIX 6.4. Things got a bit tricky, | Andrew Tridgell | 1998-10-05 | 1 | -2/+3 |
| | | | | especially as the headers get the syscall numbers wrong! | ||||
* | ported smbwrapper to SunOS4. It seems to work. pity so many binaries on | Andrew Tridgell | 1998-10-05 | 1 | -5/+22 |
| | | | | my SunOS box are statically linked. | ||||
* | got rid of all assembly code and gcc special features. I'm hoping to | Andrew Tridgell | 1998-10-05 | 1 | -31/+0 |
| | | | | get smbsh working with the normal sun compiler | ||||
* | 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 | 1 | -3/+71 |
| | | | | - 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. | ||||
* | - 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 | 1 | -4/+27 |
| | | | | | 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 | 1 | -1/+9 |
| | | | | will remove the job from the pirnt queue. | ||||
* | added support for printing via smbwrapper | Andrew Tridgell | 1998-10-04 | 1 | -2/+1 |
| | | | | | | 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 | 1 | -17/+145 |
| | |||||
* | refuse symlinks to or from a smb path | Andrew Tridgell | 1998-10-04 | 1 | -2/+2 |
| | |||||
* | modified cli_read() and cli_write() to issue multiple outstanding | Andrew Tridgell | 1998-10-04 | 1 | -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. | ||||
* | use dummy file descriptors opened on /dev/null to ensure that the smbw | Andrew Tridgell | 1998-10-04 | 1 | -6/+10 |
| | | | | file descriptor allocation order is identical to the kernels. | ||||
* | more smbw cleanups. | Andrew Tridgell | 1998-10-04 | 1 | -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 | ||||
* | - split smbw directory code into smbw_dir.c | Andrew Tridgell | 1998-10-04 | 1 | -619/+21 |
| | | | | | - fixed a bug in the handling of multiple connections to different servers |