1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

666 Commits

Author SHA1 Message Date
Luke Leighton
60c0f22a4e rpcclient interactive login (with trust account changing if you are root)
cli_session_setup handles null sessions correctly
-
Andrew Tridgell
53805112f1 set recursion desired for bcast name query -
Luke Leighton
ed6ffa4430 16 changed to 8 by mistake in samoemhash. -
Luke Leighton
29434bf195 warnings spotted by ./configure.developer options -
Luke Leighton
69f5f9f889 dce/rpc -
Luke Leighton
dfb48aab61 dce/rpc -
Luke Leighton
8a7ac4a25d dce/rpc -
Luke Leighton
e0445419b2 dce/rpc. -
Luke Leighton
caeb99201a basic client-side ntcreateX function (hard-wired values except filename) -
Luke Leighton
32d0f5e4a5 dce/rpc -
Luke Leighton
62fdeef1b7 dce/rpc -
Andrew Tridgell
35a5e9ce4f fixed bug pointed out by Herb. -
Andrew Tridgell
c0dc8e87f0 - don't generate 0 params in torture
- handle 0 params in ipc.c
-
Andrew Tridgell
91597c12fb - 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
-
Andrew Tridgell
349469221a use 1 second resolution calls if possible -
Luke Leighton
6677b888bd dce/rpc -
Andrew Tridgell
0ee3e0c623 do an anonymous login if the username/password is rejected. -
Andrew Tridgell
e751690127 fixed rename error code from NT servers -
Andrew Tridgell
a5c18f9c82 implemented unix semantics for rename in smbwrapper -
Luke Leighton
1a9a22c657 rpcclient srvsvc commands. -
Andrew Tridgell
01de9a50e0 ignore *.po32 files -
Andrew Tridgell
a5405f1ab0 got smbwrapper working on IRIX 6.4. Things got a bit tricky,
especially as the headers get the syscall numbers wrong!
-
Andrew Tridgell
f1d82e02ff handle ENOTDIR errno in cli_error() -
Andrew Tridgell
e5c7cabae4 started basic support for solaris 2.5 in smbwrapper. -
Andrew Tridgell
a4e607c17d - 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/
-
Andrew Tridgell
64699810e2 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.
-
Andrew Tridgell
147d49dade use *SMBSERVER convention in smbwrapper to allow us to connect to
servers that we don't know the netbios name of.
-
Andrew Tridgell
7bd738c30a add support for unlink() on printer shares in smbwrapper. unlink()
will remove the job from the pirnt queue.
-
Andrew Tridgell
080fb61b69 added support for printing via smbwrapper
You can print using "cp filename /smb/SERVER/PRINTER/jobname"

You can list the current printqueue using ls
-
Andrew Tridgell
98f9bb94fc use CLI_BUFFER_SIZE instead of BUFFER_SIZE -
Andrew Tridgell
bbc891727e fix an error code in cli_error() -
Andrew Tridgell
c728d1c5d6 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.
-
Andrew Tridgell
83b7bfa821 use const char -
Andrew Tridgell
06f1af12c3 fixed a authentication problem with non-encrypting servers -
Andrew Tridgell
1dcc84b942 fixed vi on smbwrappper (it was a problem in cli_read()) -
Andrew Tridgell
5674fb4e9d added simple device/inode number support based on a checksum of the
filename
-
Andrew Tridgell
a063252913 - always open for reading (otherwise getattrE won't work).
- added somemore NT error codes
-
Andrew Tridgell
b85d961447 added unlink() and rename() support to smbwrapper -
Andrew Tridgell
715a6631c7 - ignore *.p files
- enable cli_RNetSharEnum
- fix password handling in sesssetup for NT1 protocol
- handle partial reads and writes in cli_{read,write}
- added cli_getattrE
- modify cli_qpathinfo() to swap byte order for win95 servers
- handle temporary errors from FINDFIRST/FINDNEXT from win95 servers,
  when we get a error we sleep for a bit and retry
- return approx unix errno from cli_error(). Need to add a lot more
  cases to this.
-
Luke Leighton
bcf39ffdcc Makefile.in :
- 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.
-
Luke Leighton
a4e7cc3e46 - static function "create_new_hashes" was identical to "nt_lm_owf_gen".
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.
-
Andrew Tridgell
9bae21abaf several clientgen mods to support smbwrapper. In particular added
cli_list() for directory listing and expended some other functions a
bit.
-
Jeremy Allison
c42fb702b7 Fixed *nasty* bug in nt_lm_owf_gen() - this function was
not ensuring a zero filled buffer before doing crypto stuff.
See PR#10121. Beware of this !
Jeremy.
-
Jeremy Allison
6a261517a0 libsmb/clientgen.c: Fixed signed/unsigned compile warnings spotted by Herb.
param/loadparm.c:
smbd/oplock.c: Allow kernel oplocks to be turned off in the smb.conf file.
smbd/server.c: Move init_structs() to after the smb.conf file is loaded - preparation
               for making a "max open files" parameter.
Jeremy.
-
Jeremy Allison
e570db46fc Got very strict about the differences and uses of
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.
-
Luke Leighton
1a1d8d0483 uchar / char typecast issues -
Alexandre Oliva
90a8a02484 get away with dummy and .dummy files -
Jeremy Allison
e0567433bd Changes to test in configure if capabilities are enabled on a system.
Changes to get Samba to compile cleanly with the IRIX compiler
with the options : -fullwarn -woff 1209,1174 (the -woff options
are to turn off warnings about unused function parameters and
controlling loop expressions being constants).
Split prototype generation as we hit a limit in IRIX nawk.
Removed "." code in smbd/filename.c (yet again :-).
Jeremy.
-
Alexandre Oliva
237a8e5fe6 automated generation of .dummy files for each subdirectory;
dummy.in files are no longer needed, and new directories will be taken
care of automatically, at configure (or config.status --recheck) time
-
Luke Leighton
aa38f39d67 added rpcclient program -