1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

6281 Commits

Author SHA1 Message Date
Andrew Bartlett
2f6486b55f Fix up some unused variables and functions, fix up formatting
(This used to be commit bfce4ba7b6db261d981a60a7e262f2f690355f5c)
2001-08-23 18:13:56 +00:00
Simo Sorce
84f1ee32fa compile fix
(This used to be commit c53c5eca157aae3cb48da9ef0157c153a65307da)
2001-08-23 18:12:47 +00:00
Tim Potter
b5a5fe44cc Fix for filers sending -1 for the maximum read request length on the
LSA pipe.
(This used to be commit 95307a5d3881803e57639431da967ee3872aacc4)
2001-08-23 18:05:44 +00:00
Andrew Tridgell
c45fbe69f5 better error reporting for servers that don't do port 445
(This used to be commit a896dc299eba12886d800e6c88309d534232cabc)
2001-08-23 16:25:57 +00:00
Andrew Tridgell
9e21abd314 the beginnings of a TRANS2 scanner
(This used to be commit 9c483987a5d136bf23018ade6ceecf603f8f1614)
2001-08-23 16:24:29 +00:00
Tim Potter
9168c29a03 Added copyright for me and AB.
(This used to be commit 19cd6a1dc446830c1448f4a21a915ea8994dc268)
2001-08-23 02:55:42 +00:00
Andrew Tridgell
c5004cf0e6 added port 445 support to our client code
(This used to be commit 0c3120ae475fb53662d6ab9f0d96a832c3c90625)
2001-08-22 22:39:39 +00:00
Andrew Bartlett
2051bb7d03 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.
(This used to be commit b068ad300527c44673bbee0aede7849199c89de7)
2001-08-22 19:11:55 +00:00
Simo Sorce
28b206f163 some %things are not expanded properly in get share info levels
(This used to be commit 3e60636f2b7003ea1e915bc7c2d2e8dec5667bbd)
2001-08-22 16:10:28 +00:00
Jean-François Micouleau
fe626d22bf 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.
(This used to be commit 59018c58e4158e9ccb51c42ca32e490f32ee0def)
2001-08-22 13:08:01 +00:00
Herb Lewis
c50ef23215 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.
(This used to be commit 2501fe7c0436fc00f35271e2dce17fe541e97424)
2001-08-22 04:58:00 +00:00
Volker Lendecke
9520d3d5fe Mention 'delete veto files' in 'veto files' description
Volker
(This used to be commit ef5c09eebe29161920536cbe708b10659a77386e)
2001-08-22 04:45:05 +00:00
Jeremy Allison
3b39c36ede Remove unneeded lp_talloc_free().
Jeremy.
(This used to be commit 072a5bca2b8fbd6e0ac3f1259c426ebd1f3fb551)
2001-08-22 04:39:37 +00:00
Andrew Tridgell
603dad4afa added ERRbadmcb
(This used to be commit 2f4690e1888c9cc96fd788abf2161943a2032b51)
2001-08-22 03:18:24 +00:00
Andrew Tridgell
d81e123998 minor bug fixes to smbtorture
(This used to be commit 7724243fe71dbf0783ea6e081e40d6916ac45c0d)
2001-08-22 03:15:33 +00:00
Tim Potter
0309090f1e Link in smbdes routines for new wbinfo authentication stuff.
(This used to be commit 84998f1fceeef221101a4e332cf53d0e355c4ddf)
2001-08-22 03:10:58 +00:00
Tim Potter
b0f167cdf2 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.
(This used to be commit 11f72a78e3a16bbb17b576d80b47a9eb818ee428)
2001-08-22 02:48:16 +00:00
Andrew Tridgell
8d9cdf0d74 a fix for directory listing with the dave/thursby client
(This used to be commit 5a3fd3317e0fedd72450660f031b5ba42a11b875)
2001-08-22 02:47:38 +00:00
Volker Lendecke
db0567a603 Fixed typo.
Volker
(This used to be commit 880c1cc751d017886bcd175eefa3d547a0f99c43)
2001-08-22 02:27:59 +00:00
Gerald Carter
8ca7ec6389 merge from 2.2
(This used to be commit a50c3df15b3a82b4363fde0442c98edea067b4ae)
2001-08-22 01:48:45 +00:00
Gerald Carter
3ec862e6db merge from 2.2
(This used to be commit fe4ffa8dda165b0d1197f022f59db0a284cbef79)
2001-08-22 01:18:48 +00:00
Jeremy Allison
ecea36501e Missed '\' at eol...
Jeremy.
(This used to be commit 0dbd1be704209c1a66280148b40f7b7437d47242)
2001-08-22 01:06:27 +00:00
Jeremy Allison
85e063f5b8 Tidyup fixes for fcntl spin problem.
Jeremy.
(This used to be commit 27d3dd0e7cb777ef6b21d6966c07045c2940fd37)
2001-08-22 01:01:37 +00:00
Jeremy Allison
e4275a35a6 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.
(This used to be commit fe4aa720181a43f7a636ca029680fab0c836b968)
2001-08-22 00:29:40 +00:00
Herb Lewis
f8d0031ad2 sync with 2.2 branch
(This used to be commit feb9bf86723bce7dd1e81250b92191c370228a45)
2001-08-21 23:56:04 +00:00
Jeremy Allison
dd53785225 Missed uninitialized variable return for del_share_mode().
Jeremy.
(This used to be commit e4a57fb45660b82eaec751f1b41f657a64d963fd)
2001-08-21 18:33:58 +00:00
Andrew Tridgell
75eae84b1c string terminate in mkdir
(This used to be commit fe414d5e1afdfe7bb20ff5da60394ffd9fa81b05)
2001-08-21 03:50:31 +00:00
Tim Potter
4a273d209b Added cli_lsa_open_policy2()
(This used to be commit afaafc3e5a2adef4736196aa5f4e6ca25a0571d2)
2001-08-21 03:05:27 +00:00
Tim Potter
1b7fab220f Distinguish between NT informational and error codes.
(This used to be commit 02fe0e18dfcb8cc83b3cf0b6c8dd4dc1ddb7e196)
2001-08-21 03:04:41 +00:00
Andrew Bartlett
252742f2b0 Add a new option to disable our paranoid server check.
Defaults to ON, ie checking
(This used to be commit bd3010263be24425206587abfdb41164089e2157)
2001-08-21 02:58:07 +00:00
Volker Lendecke
1c946805b9 Fixed a little typo.
Volker
(This used to be commit a1e97aafe54a2960409637d67af847420b003ec8)
2001-08-21 02:11:41 +00:00
Volker Lendecke
e6a6dee027 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.
(This used to be commit 1c94fa80646f9e31377fbb41332fe4780f550cab)
2001-08-21 01:25:45 +00:00
Jeremy Allison
c786a4d89a 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.
(This used to be commit 41066208ad8ca20d35a32bdf9ad934e11465c8f1)
2001-08-20 22:13:53 +00:00
Andrew Bartlett
68525e9021 Add comment to clarify why we call this twice.
(This used to be commit afece03d023b2905c27e147516b61487a7503028)
2001-08-20 22:01:44 +00:00
Andrew Tridgell
f9ce202810 two fixes for NT clients -> share level Samba server
(This used to be commit a25911d58c752350b62b205cfb0d6fc5b1c90cef)
2001-08-20 21:11:55 +00:00
Andrew Tridgell
4294f6f2c8 allow for the NULL in make_nmb_name()
(This used to be commit b6c78d4c6fde2065678dd62bbd9dd4af9c5e805b)
2001-08-20 18:05:12 +00:00
Andrew Tridgell
5eccc9061b added -b option
(This used to be commit 1c2618df450ddde7e52ab8784fcdd2b64a85771e)
2001-08-20 17:38:37 +00:00
Andrew Tridgell
11ce0f4d2d 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
(This used to be commit 3eba9606f71f90bfd9820af26f8676277ed22390)
2001-08-20 05:15:26 +00:00
Jeremy Allison
5f0b9d0830 Realloc fix.
Jeremy.
(This used to be commit 82153dde951ff7af3655f466cb2ea42c3195bdff)
2001-08-19 18:25:14 +00:00
Jeremy Allison
a680611c0b Realloc fixes.
Jeremy.
(This used to be commit 6b90263292d03b1ae2d5d18952e78fc26066f30d)
2001-08-19 18:19:04 +00:00
Jeremy Allison
4f14ec2dd1 Realloc fixes.
Jeremy.
(This used to be commit e4ef9e332fff99eb66101a3737a7efc3b7493cc5)
2001-08-19 18:01:08 +00:00
Jeremy Allison
e077bcada9 Realloc fixes.
Jeremy.
(This used to be commit 560ae7615eb8eca2c872b1196ce0b9534bf8ad76)
2001-08-19 17:54:10 +00:00
Jeremy Allison
e47cac8db4 More Realloc fixes.
Jeremy.
(This used to be commit 94128f9f372c23602c14cf13a79a24d01065ced1)
2001-08-19 17:42:34 +00:00
Jeremy Allison
9326b82ffa Realloc fix.
Jeremy.
(This used to be commit 9cabc3fd63d7780eb5d80eb7619fd7606d9da3b8)
2001-08-19 17:34:37 +00:00
Anton Blanchard
66673eeeb4 Add missing gcc memory barriers, this bug showed up when doing a
heavy netbench run. :)

Rework ppc spinlocks to be faster.
(This used to be commit a58b89d33979f53daa2573c31eba024a26c46502)
2001-08-19 13:45:38 +00:00
Jeremy Allison
ca66a07781 More Realloc fixes.
Jeremy.
(This used to be commit b4fa49fe13cb93d578b1714d5863a9f50395bf65)
2001-08-18 19:57:48 +00:00
Jeremy Allison
ec70b76395 More Realloc fixes.
Jeremy.
(This used to be commit 381c02e6389dbb41fa66a854d7293594fd4bd0a6)
2001-08-18 19:43:28 +00:00
Jeremy Allison
556c8f3fbf Use tparam not tdata when reallocing params to make clearer.
Jeremy.
(This used to be commit 31804cb7a89f280cec4c047cad643c7f593f9b03)
2001-08-17 18:16:42 +00:00
Jean-François Micouleau
ccb927b17c more useful debug messages and check if the size are non null.
that fix the notification backend channel for spoolss.

	J.F.
(This used to be commit 5e9a36bd9c1aa1a28f042ec9016a097215e4539e)
2001-08-17 17:07:40 +00:00
Andrew Bartlett
8db28234c5 OK, so not freeing these was a mistake. I'll try to be less exuberent next
time :-)
(This used to be commit 8c3cf2db95a0fcf48b21274cac93f13abb42d4bf)
2001-08-17 08:57:58 +00:00