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

5260 Commits

Author SHA1 Message Date
Andrew Bartlett
22de76a920 Fix to only send the status32 error for status32 clients, not to other
nt_smb clients.  As spotted by Thursby.
-
Tim Potter
2dbb41a7b8 Fixed detection of CUPS. We need to check for the presence of the cups
header files as well as libcups.
-
Andrew Bartlett
bfce4ba7b6 Fix up some unused variables and functions, fix up formatting -
Simo Sorce
c53c5eca15 compile fix -
Tim Potter
95307a5d38 Fix for filers sending -1 for the maximum read request length on the
LSA pipe.
-
Andrew Tridgell
a896dc299e better error reporting for servers that don't do port 445 -
Andrew Tridgell
9c483987a5 the beginnings of a TRANS2 scanner -
Tim Potter
19cd6a1dc4 Added copyright for me and AB. -
Andrew Tridgell
0c3120ae47 added port 445 support to our client code -
Andrew Bartlett
b068ad3005 A few changes:
drop paramaters:
 status
 utmp hostname

change session code to always record each vuid current on the server.  The sessionid struct is no longer packed, as I couldn't get that to work ;-)

change smbstatus to show this info and less of the connections.tdb info (its not actualy that accurate).

I'll get swat doing some of this shortly.
-
Simo Sorce
3e60636f2b some %things are not expanded properly in get share info levels -
Jean-François Micouleau
59018c58e4 The DELL powervault 705 is sending a tcon&x with the service name being
"share" instead of "\\server\share".
Fix that. Still not able to get the user list but that's something else.

Jeremy I don't think I broke anything ;-)

	J.F.
-
Herb Lewis
2501fe7c04 force checking of log size after 200 smbd in a row or after 30 sec with no
smbds. This should fix one case of logs not getting rotated properly.

We may need to test this to make sure there is no big performance hit from
the extra stat call.
-
Jeremy Allison
072a5bca2b Remove unneeded lp_talloc_free().
Jeremy.
-
Andrew Tridgell
2f4690e188 added ERRbadmcb -
Andrew Tridgell
7724243fe7 minor bug fixes to smbtorture -
Tim Potter
84998f1fce Link in smbdes routines for new wbinfo authentication stuff. -
Tim Potter
11f72a78e3 Added another authentication interface to winbindd. The Challenge Response
Authentication Protocol (CRAP) takes a tuple of (username, random
challenge, encrypted lm password, encrypted nt password) where the
passwords are encrypted with the random challenge ala ntlmssp.
-
Andrew Tridgell
5a3fd3317e a fix for directory listing with the dave/thursby client -
Gerald Carter
a50c3df15b merge from 2.2 -
Gerald Carter
fe4ffa8dda merge from 2.2 -
Jeremy Allison
0dbd1be704 Missed '\' at eol...
Jeremy.
-
Jeremy Allison
27d3dd0e7c Tidyup fixes for fcntl spin problem.
Jeremy.
-
Jeremy Allison
fe4aa72018 Fixed the (incorrect) paranioa fix I put in for the fcntl lock spin.
Don't delete a share mode that failed to remove the oplock (doh!),
just set the oplock entry to zero....
Jeremy.
-
Jeremy Allison
e4a57fb456 Missed uninitialized variable return for del_share_mode().
Jeremy.
-
Andrew Tridgell
fe414d5e1a string terminate in mkdir -
Tim Potter
afaafc3e5a Added cli_lsa_open_policy2() -
Tim Potter
02fe0e18df Distinguish between NT informational and error codes. -
Andrew Bartlett
bd3010263b Add a new option to disable our paranoid server check.
Defaults to ON, ie checking
-
Volker Lendecke
1c94fa8064 This is Jeremy pretending to be Volker, 'cos the
link from Seattle is having problems.
I've added 3 things here to work on the fcntl spin
problem.
1). Check *all* tdb return codes... :-).
2). If we're asking ourselves to break an oplock, and we can't
find a fsp pointer that matches the entry, this is a *logic bug*
and we should abort and panic so someone with gdb can pick up
the pieces.
3). After we've broken an oplock, ensure that the entry itself
has been removed, and if not remove it ourselves. This should
not be neccessary in a correctly working environmen,t, but will
provide an added layer of robustness in error situations.
4). I hate german keyboards :-) :-).
Jeremy.
-
Jeremy Allison
41066208ad Ensure we are very explicit about what we're comparing when
we're comparing structures (ie. don't just do a memcmp). I
don't think this will fix the fcntl spin issue, but it's a
"just in case" change.
Jeremy.
-
Andrew Bartlett
afece03d02 Add comment to clarify why we call this twice. -
Andrew Tridgell
a25911d58c two fixes for NT clients -> share level Samba server -
Andrew Tridgell
b6c78d4c6f allow for the NULL in make_nmb_name() -
Andrew Tridgell
1c2618df45 added -b option -
Andrew Tridgell
3eba9606f7 a bunch of fixes from the sflight to seattle
in particular:
 - fixed NT status code for a bunch of ops
 - fixed handling of protocol levels in ms_fnmatch
-
Jeremy Allison
82153dde95 Realloc fix.
Jeremy.
-
Jeremy Allison
6b90263292 Realloc fixes.
Jeremy.
-
Jeremy Allison
e4ef9e332f Realloc fixes.
Jeremy.
-
Jeremy Allison
560ae7615e Realloc fixes.
Jeremy.
-
Jeremy Allison
94128f9f37 More Realloc fixes.
Jeremy.
-
Jeremy Allison
9cabc3fd63 Realloc fix.
Jeremy.
-
Anton Blanchard
a58b89d339 Add missing gcc memory barriers, this bug showed up when doing a
heavy netbench run. :)

Rework ppc spinlocks to be faster.
-
Jeremy Allison
b4fa49fe13 More Realloc fixes.
Jeremy.
-
Jeremy Allison
381c02e638 More Realloc fixes.
Jeremy.
-
Jeremy Allison
31804cb7a8 Use tparam not tdata when reallocing params to make clearer.
Jeremy.
-
Jean-François Micouleau
5e9a36bd9c more useful debug messages and check if the size are non null.
that fix the notification backend channel for spoolss.

	J.F.
-
Andrew Bartlett
8c3cf2db95 OK, so not freeing these was a mistake. I'll try to be less exuberent next
time :-)
-
Andrew Bartlett
ba76564c2a Move the claim_connection stuff till a little later in the process.
(You don't have to clean up somthing you haven't done yet...)
-
Andrew Bartlett
6fd8eb08c1 Move admin user check into a helper function.
Formatting fixes.
-