summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
1998-10-07more solaris acl fixesAndrew Tridgell1-0/+4
(This used to be commit 1ad5bc381ab00f0699f025cb64db7cb4fa102c13)
1998-10-07remoevd a misplaced commaAndrew Tridgell1-1/+1
(This used to be commit c1d2d4e27125cbd463f520d1109e7c7988b58222)
1998-10-07yet another attempt at making this stuff portable. This time I useAndrew Tridgell1-13/+0
minimal includes in wrapped.c (This used to be commit fd6a59d8ca0932d61a60b74485841001d4f8fd44)
1998-10-07detect __sys_llseek()Andrew Tridgell1-2/+5
(This used to be commit 2a25034b033d207b5ce50946f3d9c9fad2c3a153)
1998-10-07more OSF1 changes as well as changes to allow us to use the standardAndrew Tridgell2-0/+24
includes.h in wrapped.c, thus making porting much simpler (This used to be commit 6f2239c935fdecfefa89227c113df01e3957691a)
1998-10-07test whether seekdir() returns void or notAndrew Tridgell1-0/+1
(This used to be commit 4dbfec81b2c67f2d36b26685a631001738d9569f)
1998-10-07- no getdents on OSF1Andrew Tridgell1-0/+6
- try a new method of handling prototype mismatches in wrapped.c. We now try to disable prototypes! (This used to be commit 77aea37bb83f2b9ad541f851b003ca10b9811314)
1998-10-06dce/rpcLuke Leighton3-33/+91
(This used to be commit eb279cabd059603b6c8d9b74e4fd31c4ffe87593)
1998-10-06implemented unix semantics for rename in smbwrapperAndrew Tridgell1-0/+1
(This used to be commit a5c18f9c82f5f76b00ff29c5668b4f0d3e8d6bd0)
1998-10-06added a wrapper for fork()Andrew Tridgell1-0/+6
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)
1998-10-05rpcclient srvsvc commands.Luke Leighton2-8/+16
(This used to be commit 1a9a22c657c46648adaa98ac1fe394ce4bce11f0)
1998-10-05new prototypesAndrew Tridgell1-1/+1
(This used to be commit 0a733ce59d3e77f8cfd6a8165beeb39c23b26999)
1998-10-05got smbwrapper working on IRIX 6.4. Things got a bit tricky,Andrew Tridgell1-1/+9
especially as the headers get the syscall numbers wrong! (This used to be commit a5405f1ab069a3123a819311a87ca84f2c5f0fea)
1998-10-05test for creat64()Andrew Tridgell1-0/+3
(This used to be commit 8aa6c16eeb96d6a66a2946f5048126f175f9f609)
1998-10-05test for loff_t and offset_t to support llseek() on Solaris and Linux.Andrew Tridgell1-0/+2
(This used to be commit 386026930557584fda14f8cdc07c41d84d630b39)
1998-10-05revert 64-bit file support; it's hard-coded alreadyAlexandre Oliva1-1/+1
(This used to be commit f604fd1a8b34efb52531c57e68a3cf31319b9262)
1998-10-05added 64-bit file supportAlexandre Oliva1-1/+1
(This used to be commit 43ec91ac1fbf22f9a0150e1eadec5709a7d21050)
1998-10-05added pread pread64 pwrite pwrite64 and open64Andrew Tridgell1-0/+45
(This used to be commit 2087e0ce89e113d3989deefdf79b22b2757e008b)
1998-10-05added a function set_maxfiles() to set our file rlimit to the maxAndrew Tridgell1-0/+1
possible and return the max. (This used to be commit 7a7b5ee1689b6be57752d176c7b77a2f1b453486)
1998-10-05tests for readdir64Andrew Tridgell1-0/+9
(This used to be commit bdf02378c634e0d18f4f2de7a74b2f2fc5965e9a)
1998-10-05reran autoconfAndrew Tridgell1-0/+27
(This used to be commit 32695b1606c6198aca294ebe1436c98d2d698095)
1998-10-04bin/cvsignore: deleted, so that bin can be removed from the repositoryAlexandre Oliva1-1/+1
.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 (This used to be commit 8f95ee8fc32d74f20cca489ecd3f7e34e773db2f)
1998-10-04more solaris 2.5 fixups. It now seems to be working pretty well.Andrew Tridgell1-0/+72
(This used to be commit c4e450817886b40474cebdfc50c0c16fb4646baf)
1998-10-04started basic support for solaris 2.5 in smbwrapper.Andrew Tridgell1-0/+81
(This used to be commit e5c7cabae4826bde819b94a48bc4674dcd69da21)
1998-10-04- modified resolve_name() to take a name_typeAndrew Tridgell1-1/+1
- 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)
1998-10-04support NetServerEnum in smbwrapper. You can now do a ls in /smb/ andAndrew Tridgell1-2/+3
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)
1998-10-04add support for unlink() on printer shares in smbwrapper. unlink()Andrew Tridgell1-0/+1
will remove the job from the pirnt queue. (This used to be commit 7bd738c30a09a211fd14a8544309efeec17c66f5)
1998-10-04added support for printing via smbwrapperAndrew Tridgell2-2/+20
You can print using "cp filename /smb/SERVER/PRINTER/jobname" You can list the current printqueue using ls (This used to be commit 080fb61b69620e26e8122705383dc2bd0468a519)
1998-10-04set a default 16k client buffer sizeAndrew Tridgell1-0/+4
(This used to be commit cc1a0cf82b25e259c35f8accbb948814cc28a9ba)
1998-10-04modified cli_read() and cli_write() to issue multiple outstandingAndrew Tridgell1-0/+1
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)
1998-10-04use dummy file descriptors opened on /dev/null to ensure that the smbwAndrew Tridgell1-0/+1
file descriptor allocation order is identical to the kernels. (This used to be commit 60a683465647932f7241ba9f92443d5e5294e20b)
1998-10-04more smbw cleanups.Andrew Tridgell2-1/+56
- 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)
1998-10-03fixed vi on smbwrappper (it was a problem in cli_read())Andrew Tridgell1-2/+2
(This used to be commit 1dcc84b942d4669f978aebdeaf85ea609c2b732f)
1998-10-03added simple device/inode number support based on a checksum of theAndrew Tridgell1-2/+2
filename (This used to be commit 5674fb4e9dc4d92213d763c8cecd26efc23a9720)
1998-10-03added lseek() support for directoriesAndrew Tridgell1-1/+1
(This used to be commit 67ca971b0b00b5256b0af2c1c5777c393f9cef0b)
1998-10-03updated prototypesAndrew Tridgell1-2/+2
(This used to be commit 40af9fee1ac17bf329afcf1f0c73a92f03f183dd)
1998-10-03define O_ACCMODE if not definedAndrew Tridgell1-0/+4
(This used to be commit 48de03824ed33e9751bc9deeb22f1e1ef650b8cb)
1998-10-03added unlink() and rename() support to smbwrapperAndrew Tridgell1-3/+3
(This used to be commit b85d96144728e8a29c7c1114462e28bf3b144b80)
1998-10-03updated prototypesAndrew Tridgell1-3/+7
(This used to be commit a42155f77a0156aa10adc9fd0070f3edab647382)
1998-10-03added capabilities ab win95 fields to client structure. Used forAndrew Tridgell1-0/+2
detecting win95 server for bug handling (This used to be commit 76b5c8243791358be1a4781ff2e6929e56d98887)
1998-10-02Makefile.in :Luke Leighton1-1/+48
- added srvsvc client files clientgen.c : - replaced cli_error(cli, int *cls, int *err) with cli_error(cli, uint8 cls, uint32 *err). this version detects 32 bit status messages. the DOS error "MORE_DATA", the equivalent of the 32 bit *warning* 0x8000 0005 (STATUS_BUFFER_OVERFLOW), was being processed as an error, terminating the cli_receive_trans() call. cli_pipe.c : - replaced calls that had been incorrectly modified from 32 bit warnings (0x8000 0005 - STATUS_BUFFER_OVERFLOW) to 8 bit DOS errors (0x01 0xEA - MORE_DATA). the use of the old version of cli_error (DOS only) instead of the new one (DOS and 32 bit) caused the dce/rpc client code to fail. - replaced 2 space indentation with tab indentation in all functions. cli_srvsvc.c : cmd_srvsvc.c : - added these files back in, fixing them up to use jeremy's modified versions of the dce/rpc client functions. parse_srv.c : - added back in some "unused" functions required by dce/rpc client-side code. it would be helpful if all such "unused" functions could be added back in. rpcclient.c : - added "session", "file", "share", "connection" enumeration functions back in. these are equivalent to nt's "NetXXXXXEnum" Win32 (MSDN) functions. - added "srvinfo" function back in. this is equivalent to nt's NetServerGetInfo Win32 (MSDN) function. (This used to be commit bcf39ffdcc64e049bca2d70a394a99976291e81d)
1998-10-02- static function "create_new_hashes" was identical to "nt_lm_owf_gen".Luke Leighton1-2/+2
create_new_hashes didn't zero the buffer for the md4hash: nt_lm_owf_gen did, because jeremy sorted this out a couple of days ago. call nt_lm_owf_gen instead. - call SMBOWFencrypt from SMBencrypt and SMBNTencrypt. - added #ifdef DEBUG_PASSWORD debug password calls. (This used to be commit a4e7cc3e46b713aa0ae55de74a1c70921bef578d)
1998-10-02a couple of mode for smbwrapperAndrew Tridgell2-3/+7
(This used to be commit 07dd2aedf1e8ad143669694b504554de74bbaa1d)
1998-09-30lsa_lookup_sids command added. severe debugging needed on lookup_sidsLuke Leighton2-23/+58
code. added "quality of service" capability to lsa_open_policy code. different lsa_open_policy queries are *not* dealt with in the server code. answers like "0xC000 0022" - access denied - will have to be made to lsa_lookup_sids calls when a "quality of service" request is *not* specified in the lsa_open_policy call. (This used to be commit 299a723d4e55712beb12362dfff3846d82b8516b)
1998-09-30Upped default MAX_OPEN_FILES to 10000 after conversation with tridge.Jeremy Allison1-1/+1
As we're only using 1 bit per fd when idle it doesn't matter too much.... Jeremy. (This used to be commit dba55b2d3453bd18e1a0cb031d012733e5a214b9)
1998-09-30(Finally) implemented "max open files" as a global smb.conf parameter.Jeremy Allison2-1/+14
Sets up the files array correctly - limited by the smb.conf parameter and by the max fd's per process as found by getrlimit(). Jeremy. (This used to be commit eca24bd24352c688cdf48c1ef14adb8ac353468f)
1998-09-29Got very strict about the differences and uses ofJeremy Allison4-32/+34
uid_t, gid_t and vuid. Added sys_getgroups() to get around the int * return problem. Set correct datatypes for all uid, gid and vuid variables. Jeremy. (This used to be commit e570db46fc3a78e499523fd342e9a34cebb18998)
1998-09-29missed the pdb_sam_to_smb function needed by nispass.cLuke Leighton1-0/+1
(This used to be commit b40a4e6385757cb8a44044a1437651954d6b1c90)
1998-09-29added in some pdb_xxx routines that are needed by nispass.cLuke Leighton2-12/+21
(This used to be commit 5212dd69d05a0d26dddcb4a0d9efca195436bfda)
1998-09-29added stamp-hAlexandre Oliva1-0/+1
(This used to be commit 078a4b564fe1511452bf0012c643646d4900d04b)