summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
1998-11-09Makefile.in: Removed rpc_server/srv_ldap_helpers.c per J.F.'s instructions.Jeremy Allison1-13/+13
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. (This used to be commit bacd3e9d2036a804e73644a28fc498f229c8446c)
1998-11-09converted smbclient to use clientgen.c rather than clientutil.cAndrew Tridgell1-35/+199
I did this when I saw yet another bug report complaining about smbclient intermittently missing files. Rather than applying more patches to smbclient it was better to move to the more robust clientgen.c code. The conversion wasn't perfect, I probably lost some features of smbclient while doing it, but at least smbclient should be consistent now. It if fails it should _always_ fail rather than giving people the false impression of a reliable utility. the tar stuff seems to work, but hasn't had much testing as I never use it myself. I'm sure someone will find bugs in my conversion of smbtar.c. It was quite tricky as it did a lot of its own SMB calls. It now uses clientgen.c exclusively. smbclient is still quite messy, but at least it doesn't build its own SMB packets. I haven't touched smbmount as I never use it. Mike, do you want to convert smbmount to use clientgen.c? (This used to be commit e14ca7765ace1b721dad8eca4a527a4e4a8f1ab8)
1998-11-06lib/charcnv.c: Improved debug comment.Jeremy Allison1-48/+69
libsmb/namequery.c: Fix to remove 2 second wait is we are doing a unicast and got a reply. smbd/dfree.c: smbd/noquotas.c: smbd/quotas.c: Fixes from Dejan Ilic <svedja@lysator.liu.se> for the quota code. utils/smbpasswd.c: Fixes to allow smbpasswd to be called from swat. Jeremy. (This used to be commit b5981c0149ad8c6f13ea87db450080616538b5d5)
1998-11-05don't bother trying QFILEINFO/QUERY_FILE_ALL_INFO with win95 as itAndrew Tridgell1-1/+5
totally screws it up, giving garbage for the size fields. (This used to be commit 86f98e0607e8a05ec026b919cc974c1c934b6882)
1998-10-26added a couple more error codes to cli_error()Andrew Tridgell1-0/+6
(This used to be commit b2a7f85d597d4d2a71fd38d76aac0464d53df626)
1998-10-24volker was concerned about unique inode numbers and smbsh. This set ofAndrew Tridgell1-8/+19
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. (This used to be commit 2565ccf9de9d5e80fdb5bcadbc7130faba386d95)
1998-10-22Removed previously #ifdef 0 'ed code.Jeremy Allison1-37/+0
Jeremy. (This used to be commit 7feaa13d02f84760d6857115ed253570f41911bb)
1998-10-22libsmb/smbdes.c: #ifdef'ed out code prior to removal.Jeremy Allison1-0/+5
rpc_client/cli_pipe.c: Inlined code removed from smbdes.c rpc_server/srv_samr.c: Fixed unused variable warning. rpc_server/srv_util.c: Inlined code removed from smbdes.c Luke - the above changes are the first part of the changes you and I discussed as being neccessary at the CIFS conference. *PLEASE REVIEW THESE CHANGES* - make sure I haven't broken any of the authenticated DCE/RPC code. smbd/nttrans.c: Fixed to allow NT5.0beta2 to use Samba shares with NT SMB support. smbd/open.c: Fixed mkdir when called from nttrans calls. smbd/server.c: Set correct size for strcpy of global_myworkgroup. Jeremy. (This used to be commit d891421d16ff80998dee429227bd391455f9d1a1)
1998-10-19- dce/rpc codeLuke Leighton2-3/+2
- removed debug info in struni2 and unistr2 (security risk) - rpc_pipe function was getting pointer to data then calling realloc *dur* - password check function, the start of "credential checking", user, wks, domain, pass as the credentials (not just user,pass which is incorrect in a domain context) - cli_write needs to return ssize_t not size_t, because total can be -1 if the write fails. - fixed signed / unsigned warnings (how come i don't get those any more when i compile with gcc???) - nt password change added in smbd. yes, jeremy, i verified that the SMBtrans2 version still works. (This used to be commit fcfb40d2b0fc565ee4f66b3a3761c246366a2ef3)
1998-10-19improved session reestablishmentAndrew Tridgell1-36/+82
(This used to be commit 5f96328d32e76785474ffd5cd73f8ddefc46d4f5)
1998-10-19return the resolved IP on a cli_connect() call so it can be cachedAndrew Tridgell1-0/+1
(This used to be commit 4e3f8ef41b8de25dec4c01d5532dca1b567be55a)
1998-10-17Small tidyups for gcc in 'preen' mode....Jeremy Allison1-0/+1
Jeremy. (This used to be commit 60dc1a4a00a22088d33369588b0d5eb292cf084a)
1998-10-16- use large buffers for netshareenumAndrew Tridgell1-19/+30
- handle errmoredata a bit better - fix dev type from tconx for smbw (This used to be commit 2f39409dc1ef012a8a7d315572a489d15df186f7)
1998-10-16trans2.h: Added Thursby MAC extension.Jeremy Allison1-0/+8
smbd/trans2.c: Added Thursby MAX extension. libsmb/clientgen.c: Fixed smbtorture lock code. Jeremy. (This used to be commit 514e52e4b4d6c7db7ebe2265e60c77b4f18d11b3)
1998-10-15rpcclient interactive login (with trust account changing if you are root)Luke Leighton1-4/+14
cli_session_setup handles null sessions correctly (This used to be commit 60c0f22a4e84703467006dfe1971384a6294a9aa)
1998-10-14set recursion desired for bcast name queryAndrew Tridgell1-1/+1
(This used to be commit 53805112f1a301f77cda93b68e6fa3054895f20f)
1998-10-1416 changed to 8 by mistake in samoemhash.Luke Leighton1-1/+1
(This used to be commit ed6ffa4430e3ae6e0c9f49650f53ce79d12af28e)
1998-10-14warnings spotted by ./configure.developer optionsLuke Leighton1-0/+2
(This used to be commit 29434bf195b438f4ab41a10ac5ce03f9c2d2ac2f)
1998-10-14dce/rpcLuke Leighton1-1/+1
(This used to be commit 69f5f9f88935de1f63ffc9aa19c0629b395e66e6)
1998-10-10dce/rpcLuke Leighton2-5/+15
(This used to be commit dfb48aab6153e53a5efd1f8ee518375cc584b101)
1998-10-09dce/rpcLuke Leighton2-18/+28
(This used to be commit 8a7ac4a25d177235a98c0f84f97ee50432fb6359)
1998-10-09dce/rpc.Luke Leighton1-2/+3
(This used to be commit e0445419b2d50ae6efef36f4f295ebcfdbf1ad82)
1998-10-09basic client-side ntcreateX function (hard-wired values except filename)Luke Leighton1-0/+44
(This used to be commit caeb99201a1471bd709b4e8f07c57e5caabf0795)
1998-10-09dce/rpcLuke Leighton2-10/+22
(This used to be commit 32d0f5e4a564686ad6b270dd24423ee49a81f223)
1998-10-08dce/rpcLuke Leighton2-13/+51
(This used to be commit 62fdeef1b79c5c4c9bf0e860881651711bb80b9a)
1998-10-08fixed bug pointed out by Herb.Andrew Tridgell1-1/+1
(This used to be commit 35a5e9ce4fd60806e652f221e25caa0664b69209)
1998-10-08- don't generate 0 params in tortureAndrew Tridgell1-3/+3
- handle 0 params in ipc.c (This used to be commit c0dc8e87f0d56444a8ddff0817a94065ca295847)
1998-10-08- fixed a bunch of warnings and minor errorsAndrew Tridgell2-2/+2
- 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)
1998-10-08use 1 second resolution calls if possibleAndrew Tridgell1-2/+5
(This used to be commit 349469221a84658048790d7567b4fcea43c0b759)
1998-10-07dce/rpcLuke Leighton2-2/+65
(This used to be commit 6677b888bdb45df00646eb7cc13005b9465ff971)
1998-10-07do an anonymous login if the username/password is rejected.Andrew Tridgell1-0/+1
(This used to be commit 0ee3e0c62378bdf7a8e145de0727ea85763af95a)
1998-10-06fixed rename error code from NT serversAndrew Tridgell1-0/+1
(This used to be commit e7516901270a4a790a3e346065eb2be8ede16cb3)
1998-10-06implemented unix semantics for rename in smbwrapperAndrew Tridgell1-0/+6
(This used to be commit a5c18f9c82f5f76b00ff29c5668b4f0d3e8d6bd0)
1998-10-05rpcclient srvsvc commands.Luke Leighton1-1/+4
(This used to be commit 1a9a22c657c46648adaa98ac1fe394ce4bce11f0)
1998-10-05ignore *.po32 filesAndrew Tridgell1-0/+2
(This used to be commit 01de9a50e030da722076c67c235801c36c90bb66)
1998-10-05got smbwrapper working on IRIX 6.4. Things got a bit tricky,Andrew Tridgell1-1/+1
especially as the headers get the syscall numbers wrong! (This used to be commit a5405f1ab069a3123a819311a87ca84f2c5f0fea)
1998-10-05handle ENOTDIR errno in cli_error()Andrew Tridgell1-0/+2
(This used to be commit f1d82e02ff7f2201de5fb13af4cadec648765017)
1998-10-04started basic support for solaris 2.5 in smbwrapper.Andrew Tridgell1-1/+1
(This used to be commit e5c7cabae4826bde819b94a48bc4674dcd69da21)
1998-10-04- modified resolve_name() to take a name_typeAndrew Tridgell2-149/+174
- 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 Tridgell2-2/+41
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-04use *SMBSERVER convention in smbwrapper to allow us to connect toAndrew Tridgell2-2/+2
servers that we don't know the netbios name of. (This used to be commit 147d49dade3901835b5d60b02c495bea544ff5e9)
1998-10-04add support for unlink() on printer shares in smbwrapper. unlink()Andrew Tridgell1-0/+37
will remove the job from the pirnt queue. (This used to be commit 7bd738c30a09a211fd14a8544309efeec17c66f5)
1998-10-04added support for printing via smbwrapperAndrew Tridgell1-0/+100
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-04use CLI_BUFFER_SIZE instead of BUFFER_SIZEAndrew Tridgell1-10/+12
(This used to be commit 98f9bb94fcdd0195158eba0deaebe4679baea44c)
1998-10-04fix an error code in cli_error()Andrew Tridgell1-1/+1
(This used to be commit bbc891727e57172bf6200e10c32498776a77510b)
1998-10-04modified cli_read() and cli_write() to issue multiple outstandingAndrew Tridgell1-55/+133
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 const charAndrew Tridgell1-2/+2
(This used to be commit 83b7bfa821b88f0826b348ec493141a324e12a86)
1998-10-03fixed a authentication problem with non-encrypting serversAndrew Tridgell1-2/+3
(This used to be commit 06f1af12c37fc759e7315366dd4e82f4e96b042d)
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-1/+1
filename (This used to be commit 5674fb4e9dc4d92213d763c8cecd26efc23a9720)