1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-24 13:57:43 +03:00

947 Commits

Author SHA1 Message Date
Andrew Tridgell
be8a40487c allow name_type 0x20 as well as name_type 0x0 in dns proxying -
Andrew Tridgell
95ad2c284d fix a bug that sometimes prevented smbclient from connecting with
protocol < LANMAN1
-
Jeremy Allison
d80b0cb645 This is it ! The mega-merge of the JRA_NMBD_REWRITE branch
back into the main tree.
For the cvs logs of all the files starting nmbd_*.c, look
in the JRA_NMBD_REWRITE branch. That branch has now been
discontinued.
Jeremy.
-
Jeremy Allison
273978b7d7 Fixed bug reported by Gert-Jan Vons <Gert-Jan.Vons@ocegr.fr>
with doing a dir /s into a unix directory ending in a ':'.
Jeremy.
-
Jeremy Allison
4ac95226ff fixed over char 127 problems with isupper/islower.
Jeremy.
-
Christopher R. Hertel
db9898559f While working on a general-purpose caching module (out soon), I thought of
a better way to handle the node pointer array used in ubi_BinTree.  The
change simplified the code a bigbunch.  It also forced updates to all of
the binary tree modules.  CRH
-
Jeremy Allison
bf48151e6d kanji.c: Patch from Anders Blomdell <anders.blomdell@control.lth.se>
for problem with kanji sj_strXXX functions.
Jeremy.
-
Andrew Tridgell
fa599067f0 catch signals in the async dns daemon and allow it to auto-restart if
necessary
-
Andrew Tridgell
8bac91a6e7 allow for zero size reads in asyncdns. These can happen after a signal -
Andrew Tridgell
d9bb3a4eba got rid of the WRAP_MALLOC code - mem_man does it better -
Andrew Tridgell
b524c8da51 added optonal MEM_MAN code -
Andrew Tridgell
f7066355b0 don't use free and alloc as structure elements -
Andrew Tridgell
4800a02a92 Makefile.lib does nothing, so remove it -
Andrew Tridgell
97b62b3476 slight cleanup to the linked list handling -
Andrew Tridgell
e439115366 put the default PRINTCAP_NAME def in includes.h not local.h so that
it can see the SYSV definitions
-
Andrew Tridgell
6a83de0ae9 applied a patch from Norm Jacobs to allow "printcap name = lpstat"
to use lpstat to obtain the printer list on systemV systems.

I've now made this the default on all SYSV systems.

Jeremy, you were a little worried about the security of this patch. I
believe it's OK as the user has no control over the options given to
popen() and the pipe is only open for reading.
-
Andrew Tridgell
af57bc05fe change the "username map" option to allow the user to stop the
processing part way through the file if a match is found. If a line
starts with ! and a match is made by that line then processing
stops. This allows better wildcard handling.

(patch from Anselm.Kruis@Physik.Uni-Muenchen.DE)
-
Andrew Tridgell
93f0619e04 allow local_machine and remote_machine (%L and %m macros) to contain
spaces
-
Jeremy Allison
7a2a45eae2 loadparm.c: Added lp_we_are_a_wins_server as an alias for lp_wins_support.
Used by the new nmbd and just makes more sense :-).
Jeremy.
-
Andrew Tridgell
ce37bd9dca add a warning if the timezone is not a multiple of 1 minute. This
should catch broken timezone files in slackware linux.
-
Andrew Tridgell
cc10fdf758 allow users to disable the NetWkstaUserLogon call in server level
security by changing a setting in local.h or adding it to their
Makefile. See comment in local.h
-
Andrew Tridgell
7a88bed4a5 make the "printing" option a per share option rather than global. When
printing to lots of different sorts of remote printers this is useful
-
Andrew Tridgell
afe88facbf I'm slowly getting though the todo list :-)
This change allows people to select the SYSLOG_FACILITY in local.h, or
add it to the Makefile if they want to.
-
Andrew Tridgell
465edceecf hopefully handle "ready and waiting" messages in print queue output a
little better
-
Andrew Tridgell
157fde3396 fix toupper(c) on a already uppercase char and tolower(c) on an
already lowercase char when using code pages. Jeremy, can you confirm
that this looks right?  It comes from PR#1992
-
Andrew Tridgell
c779ed654e fixed the help message for -p (someone complained!) -
Andrew Tridgell
fbb2be050d add the null string to SMBsetatr calls -
Andrew Tridgell
2b0f3fd149 changing the comment in find_new_file() to say why a base of 1 is used -
Andrew Tridgell
13c2f432d6 the default GUEST_ACCOUNT should be here not in smb.h -
Andrew Tridgell
979eaf9e9c HPUX trusted systems need to use bigcrypt() not crypt() -
Andrew Tridgell
d55df52487 get rid of some things out of smb.h that are already in local.h -
Andrew Tridgell
a32ca542ad dont try getpeername() when Client isn't initialised -
Jeremy Allison
94d53dcac5 asyncdns.c: Removed warning when compiling with -DSYNC_DNS.
nameelect.c: Tidied up settings of work->ServerType when unbecoming things.
nmbd.c: Fixed pidFile warning.
server.c: Fixed pidFile warning.
Jeremy.
-
Herb Lewis
358fcbf2e4 remove stutter from closing instructions -
Jeremy Allison
16e55ee2b8 clientgen.c: Added cli_mv() (used in a recent torture test).
reply.c: Changed reply_open_and_X to split out the oplock
request bits from core and extended and if an oplock was granted only set
the corresponding bit on reply.
server.c: Added code to dynamically allocate i/o buffers in oplock_break
(prevents recursion problems) , also made reset of sent_oplock_break
explicit.
Jeremy.
-
Andrew Tridgell
c7df484ef6 don't display locks for dead processes in smbstatus -
Andrew Tridgell
901b95aa77 use -1 not 0xffffffff in SIVALS() macros
use the same process_exists() code on all systems (it's probably
faster anyway)
-
Andrew Tridgell
e360c79c9c added a sent_oplock_break element to Files[] as a paranoia check so we
can't sent a oplock break twice on the same file.

changed some debug levels in the oplock code to level 0 so we can
track down a bug

zero the returned Files[] entry in find_free_file()

don't try to overcome client bugs in the handling of non-encrypted
passwords if in server level security mode

added paranoid null termination of password buffers

slight change to my ajt_panic() routine
-
Andrew Tridgell
e89611985b pass the mailslot name to process_logon_packet()
- fixed process_logon_packet() to always send the reply to/from the
correct netbios name (it should match the query)

- only do a NT style QUERYFORPDC if the query came in on a
NT_LOGON_MAILSLOT

Luke, can you check to see if these changes work in your branch with
NT logons?
-
Andrew Tridgell
84215c9b91 get_entries is an int not a bool -
Samba Release Account
9cac33a13d preparing for release of 1.9.18alpha12 -
Andrew Tridgell
a6a04b5c6c there was a bug in my oplock bugfix :-)
It's fixed properly now :-)
-
Andrew Tridgell
0da20e0aec fixed a very nasty oplock bug. We could send oplock break requests on
files that aren't open if the file happened to close while the oplock
was in transit. We would end up sending a oplock break request on
another random file (actually the open file that happened to have the
highest fnum). Then we wouldn't get a response, so smbd would keep
sending and would actually flood the net with an infinite number of
oplock break requests!
-
Andrew Tridgell
2245da4ad6 oh no! my favourite hack is broken. You can't do:
[%U]
	path = %H

to get a new homes area. I wonder when it broke?

Anyway, I've fixed it. We can all rest easy now, knowing that you
really can produce an incomprehensible smb.conf and get it to work.
-
Andrew Tridgell
8ced76c4c7 get rid of stat command (it is a hangover from an old experiment) -
Andrew Tridgell
3a5e07f1e9 added cli_rmdir and cli_mkdir
added test in smbtorture for the server updating the directory modify
time when a file is added to a directory

cleanup in smbtorture so no garbage files are left on the server
-
Andrew Tridgell
162947c6e6 added a SMB_QUERY_FILE_ALL_INFO test into smbtorture
W95 doesn't seem to support this call.
-
Andrew Tridgell
89141de14e added some QPATHINFO and QFILEINFO tests into smbtorture.
This tests for things like midnight access times, sticky create times
and word reversed INFO_STANDARD returns
-
Andrew Tridgell
2f29c24ba7 test SMBsetatr as well -
Andrew Tridgell
bca9c49e6f minor wsmbconf and cgi changes -