1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-29 15:42:04 +03:00
Commit Graph

278 Commits

Author SHA1 Message Date
4bd1feb68c lib/charcnv.c: Improved debug comment.
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 b5981c0149)
1998-11-06 18:40:51 +00:00
099dae54dc don't bother trying QFILEINFO/QUERY_FILE_ALL_INFO with win95 as it
totally screws it up, giving garbage for the size fields.
(This used to be commit 86f98e0607)
1998-11-05 12:42:16 +00:00
4f2a6adb7c added a couple more error codes to cli_error()
(This used to be commit b2a7f85d59)
1998-10-26 03:31:00 +00:00
fb556e14f3 volker was concerned about unique inode numbers and smbsh. This set of
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 2565ccf9de)
1998-10-24 08:08:05 +00:00
84866d4233 Removed previously #ifdef 0 'ed code.
Jeremy.
(This used to be commit 7feaa13d02)
1998-10-22 19:15:24 +00:00
1ee499385c libsmb/smbdes.c: #ifdef'ed out code prior to removal.
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 d891421d16)
1998-10-22 16:55:03 +00:00
01de603084 - dce/rpc code
- 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 fcfb40d2b0)
1998-10-19 17:32:10 +00:00
9debf0b1ee improved session reestablishment
(This used to be commit 5f96328d32)
1998-10-19 02:48:57 +00:00
d5c190bae8 return the resolved IP on a cli_connect() call so it can be cached
(This used to be commit 4e3f8ef41b)
1998-10-19 01:05:11 +00:00
fc62d6bf36 Small tidyups for gcc in 'preen' mode....
Jeremy.
(This used to be commit 60dc1a4a00)
1998-10-17 17:41:13 +00:00
62811de4e8 - use large buffers for netshareenum
- handle errmoredata a bit better
- fix dev type from tconx for smbw
(This used to be commit 2f39409dc1)
1998-10-16 17:40:01 +00:00
070b334891 trans2.h: Added Thursby MAC extension.
smbd/trans2.c: Added Thursby MAX extension.
libsmb/clientgen.c: Fixed smbtorture lock code.
Jeremy.
(This used to be commit 514e52e4b4)
1998-10-16 00:54:16 +00:00
c404bb7754 rpcclient interactive login (with trust account changing if you are root)
cli_session_setup handles null sessions correctly
(This used to be commit 60c0f22a4e)
1998-10-15 23:51:07 +00:00
bc747b8a07 set recursion desired for bcast name query
(This used to be commit 53805112f1)
1998-10-14 16:45:24 +00:00
2a3cd67074 16 changed to 8 by mistake in samoemhash.
(This used to be commit ed6ffa4430)
1998-10-14 16:12:45 +00:00
948f81a592 warnings spotted by ./configure.developer options
(This used to be commit 29434bf195)
1998-10-14 07:00:00 +00:00
935dc98f66 dce/rpc
(This used to be commit 69f5f9f889)
1998-10-14 06:29:20 +00:00
827a9d862e dce/rpc
(This used to be commit dfb48aab61)
1998-10-10 00:46:28 +00:00
78c1fd054f dce/rpc
(This used to be commit 8a7ac4a25d)
1998-10-09 23:31:50 +00:00
8158620124 dce/rpc.
(This used to be commit e0445419b2)
1998-10-09 20:17:11 +00:00
4e004a0b5e basic client-side ntcreateX function (hard-wired values except filename)
(This used to be commit caeb99201a)
1998-10-09 19:34:57 +00:00
755986764f dce/rpc
(This used to be commit 32d0f5e4a5)
1998-10-09 19:05:19 +00:00
6909350ed9 dce/rpc
(This used to be commit 62fdeef1b7)
1998-10-08 23:57:46 +00:00
d57d00005e fixed bug pointed out by Herb.
(This used to be commit 35a5e9ce4f)
1998-10-08 22:48:46 +00:00
a813f38e2d - don't generate 0 params in torture
- handle 0 params in ipc.c
(This used to be commit c0dc8e87f0)
1998-10-08 06:49:00 +00:00
788263ba2f - fixed a bunch of warnings and minor errors
- 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 91597c12fb)
1998-10-08 06:21:33 +00:00
4750ce1760 use 1 second resolution calls if possible
(This used to be commit 349469221a)
1998-10-08 02:28:21 +00:00
48b31ae44f dce/rpc
(This used to be commit 6677b888bd)
1998-10-07 21:42:24 +00:00
029144cd8c do an anonymous login if the username/password is rejected.
(This used to be commit 0ee3e0c623)
1998-10-07 00:40:18 +00:00
cbb25c71d0 fixed rename error code from NT servers
(This used to be commit e751690127)
1998-10-06 13:20:06 +00:00
404f14fb36 implemented unix semantics for rename in smbwrapper
(This used to be commit a5c18f9c82)
1998-10-06 13:10:06 +00:00
b4fb4caf90 rpcclient srvsvc commands.
(This used to be commit 1a9a22c657)
1998-10-05 15:41:41 +00:00
217804ba43 ignore *.po32 files
(This used to be commit 01de9a50e0)
1998-10-05 12:36:44 +00:00
bfaff8ed1a got smbwrapper working on IRIX 6.4. Things got a bit tricky,
especially as the headers get the syscall numbers wrong!
(This used to be commit a5405f1ab0)
1998-10-05 12:17:01 +00:00
ecb7ee7a03 handle ENOTDIR errno in cli_error()
(This used to be commit f1d82e02ff)
1998-10-05 02:45:50 +00:00
3a8232644e started basic support for solaris 2.5 in smbwrapper.
(This used to be commit e5c7cabae4)
1998-10-04 14:02:50 +00:00
40984f6b55 - modified resolve_name() to take a name_type
- 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 a4e607c17d)
1998-10-04 12:00:40 +00:00
1970c92c0a support NetServerEnum in smbwrapper. You can now do a ls in /smb/ and
it will list all servers in your workgroup. You can set your workgroup
with the SMBW_WORKGROUP environment variable.
(This used to be commit 64699810e2)
1998-10-04 11:25:06 +00:00
7c3c022a89 use *SMBSERVER convention in smbwrapper to allow us to connect to
servers that we don't know the netbios name of.
(This used to be commit 147d49dade)
1998-10-04 10:46:52 +00:00
a1b002fcbe add support for unlink() on printer shares in smbwrapper. unlink()
will remove the job from the pirnt queue.
(This used to be commit 7bd738c30a)
1998-10-04 10:14:21 +00:00
6760e69a68 added support for printing via smbwrapper
You can print using "cp filename /smb/SERVER/PRINTER/jobname"

You can list the current printqueue using ls
(This used to be commit 080fb61b69)
1998-10-04 09:42:51 +00:00
52e5dbeb9c use CLI_BUFFER_SIZE instead of BUFFER_SIZE
(This used to be commit 98f9bb94fc)
1998-10-04 07:51:34 +00:00
f3db9286f9 fix an error code in cli_error()
(This used to be commit bbc891727e)
1998-10-04 06:43:41 +00:00
5ade894f32 modified cli_read() and cli_write() to issue multiple outstanding
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 c728d1c5d6)
1998-10-04 06:22:08 +00:00
a1e10cfc3c use const char
(This used to be commit 83b7bfa821)
1998-10-04 03:27:04 +00:00
8d4c732621 fixed a authentication problem with non-encrypting servers
(This used to be commit 06f1af12c3)
1998-10-03 15:55:18 +00:00
f2d8f110db fixed vi on smbwrappper (it was a problem in cli_read())
(This used to be commit 1dcc84b942)
1998-10-03 15:01:11 +00:00
03a06267f4 added simple device/inode number support based on a checksum of the
filename
(This used to be commit 5674fb4e9d)
1998-10-03 13:12:08 +00:00
4fedb9ddd5 - always open for reading (otherwise getattrE won't work).
- added somemore NT error codes
(This used to be commit a063252913)
1998-10-03 11:53:37 +00:00
cce5f09a90 added unlink() and rename() support to smbwrapper
(This used to be commit b85d961447)
1998-10-03 09:39:11 +00:00