1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

2286 Commits

Author SHA1 Message Date
Andrew Tridgell
235a8463b5 fixes for solaris -
Jeremy Allison
76448d1d82 smbd/nttrans.c smbd/trans2.c: First fixes for NT5.0beta2. That redirector
has some *horrible* bugs !
smbwrapper/shared.c smbwrapper/smbsh.c smbwrapper/smbw.c: Fixed gcc warnings.
Jeremy.
-
Andrew Tridgell
c511a61975 add -Bshareable for *bsd* -
Andrew Tridgell
759c72822b removed my badly-done attempt at handling compilers that don't handle
-c and -o at the same time.

my shell script code wasn't portable
-
Luke Leighton
7f8dfedfc0 oops -
Luke Leighton
b9e728a97b output password change messages instead of debug message. -
Luke Leighton
fcfb40d2b0 - 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.
-
Andrew Tridgell
9b249c075e added command line options to smbsh -
Andrew Tridgell
5f96328d32 improved session reestablishment -
Andrew Tridgell
ae6e3d8f38 prototype new functions -
Andrew Tridgell
4e3f8ef41b return the resolved IP on a cli_connect() call so it can be cached -
Andrew Tridgell
5abdb70e2a removed an incorrect comment -
Andrew Tridgell
279cbe69ef - don't use env variables for passwords and usernames (yeah!)
- 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
-
Andrew Tridgell
f1672d0557 - added smbrapper/shared.o
- added suport for C compilers that don't handle -c and -o at once
-
Jeremy Allison
b8b781191d Fixed sys_lseek and seek_file calls so all returns
are *checked* :-).
Jeremy.
-
Andrew Tridgell
20880966aa redid proto.h -
Andrew Tridgell
44d901b3e0 check for lp_nt_pipe_support() in open calls -
Andrew Tridgell
c161b2f850 add an option to enable/disable nt pipes -
Jeremy Allison
60dc1a4a00 Small tidyups for gcc in 'preen' mode....
Jeremy.
-
Eloy Paris
69c7b8e2af Added man page for nmblookup(1) -
Luke Leighton
fc1b7b9e75 oops. -
Luke Leighton
29434f496c dce/rpc -
Andrew Tridgell
710027a88a added maxfid test -
Andrew Tridgell
121e321a12 changed some debug levels -
Luke Leighton
d717d58c11 strtoul removed, strtol used instead -
Luke Leighton
4ebd2c5140 strtoul replace with strtol -
Luke Leighton
866e101818 !pass -> pass != NULL is wrong: !pass -> pass == NULL is correct. oops. -
Luke Leighton
95e8a910c5 made pass_check_smb() available for dce/rpc use. -
Luke Leighton
63def71799 cli_nt_session_open() encrypt arg removed -
Luke Leighton
dae7c5ea9a setup_groups() - code clarification. no functional change. -
Luke Leighton
ff9e919b71 oops. -
Luke Leighton
16256f86bf rpc client mods (ntlmssp flags) -
Andrew Tridgell
91d224735d only do the MAC extensions if we are a NTFS filesystem -
Andrew Tridgell
2f39409dc1 - use large buffers for netshareenum
- handle errmoredata a bit better
- fix dev type from tconx for smbw
-
Andrew Tridgell
59d99ad76c use the username GUEST if no other username is available -
Jeremy Allison
04d79a9ae5 Re-added code to tell the user how many open files they
have. Needed for server diagnosis purposes...
Jeremy.
-
Luke Leighton
f69cf05ff5 rpcclient ntlogin test -
Jeremy Allison
514e52e4b4 trans2.h: Added Thursby MAC extension.
smbd/trans2.c: Added Thursby MAX extension.
libsmb/clientgen.c: Fixed smbtorture lock code.
Jeremy.
-
Luke Leighton
fa86770d56 trust password -
Luke Leighton
60c0f22a4e rpcclient interactive login (with trust account changing if you are root)
cli_session_setup handles null sessions correctly
-
Luke Leighton
18e628ac15 getpwnam() failing is a serious error (corrupt smbpasswd database) -
Jeremy Allison
bdba1bcf20 Fixed crypt problems on IRIX with prototype.
Jeremy.
-
Luke Leighton
a7fccd807b bug-fixing against:
AS/U:
      it returns dce/rpc "first" and "last" bits _clear_ in a bind/ack
      response, when they should be set in a (small) packet.  they also,
      in the bind/ack do not set a secondary address string at all, so
      we can't check against that...

Win95:
      client-side dce/rpc code is a bit odd.  it does a "WaitNamedPipeState"
      and has slightly different pipe-naming (\PIPE\LANMAN is joined by
      \PIPE\SRVSVC, \PIPE\WINREG etc whereas nt just has \PIPE\LANMAN
      and \PIPE\).

Win95-USRMGR.EXE:
      added LsaOpenPolicy (renamed existing to LsaOpenPolicy2).
      added SamrConnect (renamed existing to SamrConnect2).
-
Luke Leighton
c48ee2bfba second implementation of crc32, used with permission of francesco ferrara
<francesco@aerre.it>.  thanks!
http://www.aerre.it/francesco
-
Jeremy Allison
475992730c config: Fix crypt prototype on RedHat Linux.
include/includes.h: Fix crypt prototype on RedHat Linux.
smbd/fileio.c: Fix mmap bug found by WinCE client.
smbd/ipc.c: Fix WinCE wierdness with pipes being opened as \server\pipe\lanman
smbd/password.c: Fix encrypted null passwords.
Jeremy.
-
Andrew Tridgell
53805112f1 set recursion desired for bcast name query -
Luke Leighton
8ff4df1f0e removed lkcl -
Luke Leighton
ed6ffa4430 16 changed to 8 by mistake in samoemhash. -
Luke Leighton
aa9dd697d4 tridge, i had to put a #ifdef _STAT_VER_LINUX_OLD round a bit of code
that didn't have _STAT_VER_LINUX_OLD defined.  maybe you want to sort
this out properly...
-
Luke Leighton
8b9c0bad88 more warnings... -