samba.git
22 years agoSame as nmbd.c. These now test wins_srv_count() instead of lp_wins_server
Christopher R. Hertel [Sun, 26 Aug 2001 06:43:39 +0000 (06:43 +0000)]
Same as nmbd.c.  These now test wins_srv_count() instead of lp_wins_server
to determine whether the 'wins server' parameter is set.
(This used to be commit 5b975d3a9cea39e9992a9b556b8a6d9d3ec14807)

22 years agoInstead of checking lp_wins_server() to see if a WINS server was specified,
Christopher R. Hertel [Sun, 26 Aug 2001 06:24:03 +0000 (06:24 +0000)]
Instead of checking lp_wins_server() to see if a WINS server was specified,
nmbd now calls wins_srv_count().  This returns the number of WINS servers
specified in the 'wins server' parameter.  The return value will be zero if
'wins server' is not specified.

Quick change to make room for WINS failover.
(This used to be commit 0777ebc04b838b6b9036a5d0a6e0565bb0a65d9f)

22 years agoSmall changes to get ready for adding WINS failover to smbd and clients.
Christopher R. Hertel [Sun, 26 Aug 2001 06:01:46 +0000 (06:01 +0000)]
Small changes to get ready for adding WINS failover to smbd and clients.
My plan is to change the lp_wins_server() function to lp_wins_server_list().
My reason being: With WINS failover the 'wins server' parameter may take a
list of WINS server names/IPs instead of just one.  If it's a list, then
calling lp_wins_server() won't give you what you expect (that is, a single
WINS server name or IP).  Instead, the functions in wins_srv.c should be
used.  You can get either the name or IP of the 'current' working WINS
server in the list.

Chris -)-----
(This used to be commit efaa9ef5e72c3748d97e43bba38a0ba47ff3438d)

22 years agofixed typo
Gerald Carter [Sun, 26 Aug 2001 05:13:49 +0000 (05:13 +0000)]
fixed typo
(This used to be commit 3b1454691b1164493f1bee58a3d2e5eed0aa898e)

22 years agoFussing with debug lines in open_socket_in(). I cleaned up some slightly
Christopher R. Hertel [Sun, 26 Aug 2001 04:16:51 +0000 (04:16 +0000)]
Fussing with debug lines in open_socket_in().  I cleaned up some slightly
funky code that was simply setting a local int to 0 or 1 and also added
calls to strerror() in some of the debug lines.

The use of the dlevel parameter in this function is a little awkward.
There should probably be some comments about it in the source.
(This used to be commit 3031e7acdc4eac99a736f45161dee9bf81c1cc87)

22 years agowe now have all but the dreaded 0/0 lock working
Andrew Tridgell [Fri, 24 Aug 2001 21:09:38 +0000 (21:09 +0000)]
we now have all but the dreaded 0/0 lock working
(This used to be commit 98b6aef18c793187f392f944af516c8b9ebf86e9)

22 years agotypo
Gerald Carter [Fri, 24 Aug 2001 20:34:57 +0000 (20:34 +0000)]
typo
(This used to be commit 11605ea38ac699cec0d0e84b94eca3d8df2e03a7)

22 years agoget rid of compiler warnings
Herb Lewis [Fri, 24 Aug 2001 20:32:01 +0000 (20:32 +0000)]
get rid of compiler warnings
(This used to be commit 0768991d04ea03e774ca8662c9cae5e1951b88e0)

22 years agoMore status32 conversions.
Tim Potter [Fri, 24 Aug 2001 20:31:00 +0000 (20:31 +0000)]
More status32 conversions.
(This used to be commit 031a19639ce862bd01c1a72d8b5ff21b0eae99d2)

22 years agoRe-added readbraw call to test with smbtorture. This code not yet
Jeremy Allison [Fri, 24 Aug 2001 20:20:08 +0000 (20:20 +0000)]
Re-added readbraw call to test with smbtorture. This code not yet
tested...
Jeremy.
(This used to be commit fe85a19b4b9db5910ad8259890f94c9496e1aebf)

22 years agofixed level2 find first for unisys clients
Andrew Tridgell [Fri, 24 Aug 2001 20:11:26 +0000 (20:11 +0000)]
fixed level2 find first for unisys clients
(This used to be commit cb8b21f71dbacc7ee658bef7011cd147fbe34101)

22 years agofixed handling of 139/445 in clients
Andrew Tridgell [Fri, 24 Aug 2001 20:11:09 +0000 (20:11 +0000)]
fixed handling of 139/445 in clients
(This used to be commit 22b372f8a7996a19bebb8cdb411df999cffa32a4)

22 years ago/tmp/cvsVTEaY5
Gerald Carter [Fri, 24 Aug 2001 19:58:28 +0000 (19:58 +0000)]
/tmp/cvsVTEaY5
(This used to be commit 55f222236f3a80b2e0b7a1ec278d90d5cf57459f)

22 years agoFixed debug in cli_establish_connection() - print out the called name on
Tim Potter [Fri, 24 Aug 2001 19:52:01 +0000 (19:52 +0000)]
Fixed debug in cli_establish_connection() - print out the called name on
connection failure rather than the calling name.
(This used to be commit 946f6eb9320c9897942adee8b513d8caaa3232c0)

22 years agotests for 0 length locks
Andrew Tridgell [Fri, 24 Aug 2001 19:34:11 +0000 (19:34 +0000)]
tests for 0 length locks
(This used to be commit 8fbd1d0f978a349ec4fcc0d34fca55314d3dec31)

22 years agoProcess the SAM/UAS change notification message.
Tim Potter [Fri, 24 Aug 2001 19:28:08 +0000 (19:28 +0000)]
Process the SAM/UAS change notification message.
(This used to be commit efcbcfaa48d36063c974c20692ee2c38d09d2216)

22 years agoOnly register the #1b name if we are ROLE_DOMAIN_PDC rather than
Tim Potter [Fri, 24 Aug 2001 19:21:40 +0000 (19:21 +0000)]
Only register the #1b name if we are ROLE_DOMAIN_PDC rather than
lp_domain_master()
(This used to be commit b8fe147430fbceff5da8853e5240d251f2671d0e)

22 years agofixes big endian unistring problems. Need to check that it didn't
Herb Lewis [Fri, 24 Aug 2001 19:17:43 +0000 (19:17 +0000)]
fixes big endian unistring problems.  Need to check that it didn't
break little-endian machines.
(This used to be commit 0f08e79030419b778c1229712c98b839faaf734f)

22 years agoMake domain_client_validate return a status code instead of a boolean.
Tim Potter [Fri, 24 Aug 2001 19:09:37 +0000 (19:09 +0000)]
Make domain_client_validate return a status code instead of a boolean.
(This used to be commit b4e79ab34b7df4687966f4ca81b575dce8503775)

22 years agoFixed incorrect debug.
Tim Potter [Fri, 24 Aug 2001 18:55:56 +0000 (18:55 +0000)]
Fixed incorrect debug.
(This used to be commit cec051cf5fb93d9f45eca3f9cf462f78a7d7040d)

22 years agoFixed typo in debug message.
Tim Potter [Fri, 24 Aug 2001 18:37:06 +0000 (18:37 +0000)]
Fixed typo in debug message.
(This used to be commit ea8c0a75affe56f8fbcb987cd6f8cdcd24e8a537)

22 years agoadd a comment to make the code more readable
Simo Sorce [Fri, 24 Aug 2001 18:29:37 +0000 (18:29 +0000)]
add a comment to make the code more readable
(This used to be commit d6a33722168c64eb948c52e303cfb1cd4cfda7f9)

22 years agoSet secure channel type depending on server role.
Tim Potter [Fri, 24 Aug 2001 17:15:54 +0000 (17:15 +0000)]
Set secure channel type depending on server role.
(This used to be commit 7d5440a7ae4ef46103192000a19f2e69ecf02f21)

22 years agofix missing )
Herb Lewis [Fri, 24 Aug 2001 14:34:23 +0000 (14:34 +0000)]
fix missing )
(This used to be commit f3bc6b5d68bdb01b07b9d780f5ba81c05e22f48c)

22 years agolet admins also abort a shutdown
Simo Sorce [Fri, 24 Aug 2001 07:51:59 +0000 (07:51 +0000)]
let admins also abort a shutdown
(This used to be commit 3b40ec4f149a8813c1d68f184858e2ddd605d8fd)

22 years agoFixed malloc -> talloc problems pointed out by Simo.
Jeremy Allison [Fri, 24 Aug 2001 07:32:51 +0000 (07:32 +0000)]
Fixed malloc -> talloc problems pointed out by Simo.
Jeremy
(This used to be commit 0f5b187387fb536a6866d9109eff82411798f79e)

22 years agoallow for 0 range locks in locktest
Andrew Tridgell [Fri, 24 Aug 2001 04:57:13 +0000 (04:57 +0000)]
allow for 0 range locks in locktest
(This used to be commit c3b2d959a7461cf6f9574716c8a7b915c078b311)

22 years agoflush on a invalid fsp should give an error
Andrew Tridgell [Fri, 24 Aug 2001 04:56:33 +0000 (04:56 +0000)]
flush on a invalid fsp should give an error
(This used to be commit ef5f4866fbbfa6be07cdc3e612a8899967d48289)

22 years ago0 byte lock ranges ARE valid
Andrew Tridgell [Fri, 24 Aug 2001 04:55:28 +0000 (04:55 +0000)]
0 byte lock ranges ARE valid
(This used to be commit 5498da6664a457e4d64502d37fa887dabd9baaa0)

22 years agofixed shortname length in trans2 list
Andrew Tridgell [Fri, 24 Aug 2001 04:53:39 +0000 (04:53 +0000)]
fixed shortname length in trans2 list
(This used to be commit ae669720d8f434a23397deaea3371998ab6f1f54)

22 years agoget rid of old debug code and possible socket leak
Herb Lewis [Fri, 24 Aug 2001 01:49:23 +0000 (01:49 +0000)]
get rid of old debug code and possible socket leak
(This used to be commit f942397d6515402be0c7c1085fc2e6d48eb6928f)

22 years agoFix W2K profiles writing to a Samba PDC. Thanks to Microsoft for their help !
Jeremy Allison [Thu, 23 Aug 2001 23:37:40 +0000 (23:37 +0000)]
Fix W2K profiles writing to a Samba PDC. Thanks to Microsoft for their help !
Jeremy.
(This used to be commit faae7512e059456db2450f878c435fd402839146)

22 years agoso let admins shutdown their samba servers remotely if they want :-)
Simo Sorce [Thu, 23 Aug 2001 23:25:34 +0000 (23:25 +0000)]
so let admins shutdown their samba servers remotely if they want :-)
(This used to be commit 6391fd7bdab07c83e9eed02e761db09918e60302)

22 years agomore minor torture updates
Andrew Tridgell [Thu, 23 Aug 2001 23:16:42 +0000 (23:16 +0000)]
more minor torture updates
(This used to be commit 6513b94d19adab8f94bbd8044338658242188e7a)

22 years agouse 32 bit locking if client doesn't do 64 bit
Andrew Tridgell [Thu, 23 Aug 2001 23:15:18 +0000 (23:15 +0000)]
use 32 bit locking if client doesn't do 64 bit
(This used to be commit 759ca19f3223c28e3e3478b4001251d2cb0fbfd6)

22 years agoSome W2k info.
Jeremy Allison [Thu, 23 Aug 2001 22:58:24 +0000 (22:58 +0000)]
Some W2k info.
Jeremy.
(This used to be commit 04478786c364585bf0263dc00343a25af6fa0a89)

22 years agomerge from 2.2
Gerald Carter [Thu, 23 Aug 2001 22:58:00 +0000 (22:58 +0000)]
merge from 2.2
(This used to be commit 97b5499def99016b4baf97343597f1b218a69399)

22 years agoFix to only send the status32 error for status32 clients, not to other
Andrew Bartlett [Thu, 23 Aug 2001 20:45:23 +0000 (20:45 +0000)]
Fix to only send the status32 error for status32 clients, not to other
nt_smb clients.  As spotted by Thursby.
(This used to be commit 22de76a920671614144babac9f589419532d8671)

22 years agoFixed detection of CUPS. We need to check for the presence of the cups
Tim Potter [Thu, 23 Aug 2001 19:06:20 +0000 (19:06 +0000)]
Fixed detection of CUPS.  We need to check for the presence of the cups
header files as well as libcups.
(This used to be commit 2dbb41a7b88e7fad63579111aaab4a1cd28c54d5)

22 years agoFix up some unused variables and functions, fix up formatting
Andrew Bartlett [Thu, 23 Aug 2001 18:13:56 +0000 (18:13 +0000)]
Fix up some unused variables  and functions, fix up formatting
(This used to be commit bfce4ba7b6db261d981a60a7e262f2f690355f5c)

22 years agocompile fix
Simo Sorce [Thu, 23 Aug 2001 18:12:47 +0000 (18:12 +0000)]
compile fix
(This used to be commit c53c5eca157aae3cb48da9ef0157c153a65307da)

22 years agoFix for filers sending -1 for the maximum read request length on the
Tim Potter [Thu, 23 Aug 2001 18:05:44 +0000 (18:05 +0000)]
Fix for filers sending -1 for the maximum read request length on the
LSA pipe.
(This used to be commit 95307a5d3881803e57639431da967ee3872aacc4)

22 years agobetter error reporting for servers that don't do port 445
Andrew Tridgell [Thu, 23 Aug 2001 16:25:57 +0000 (16:25 +0000)]
better error reporting for servers that don't do port 445
(This used to be commit a896dc299eba12886d800e6c88309d534232cabc)

22 years agothe beginnings of a TRANS2 scanner
Andrew Tridgell [Thu, 23 Aug 2001 16:24:29 +0000 (16:24 +0000)]
the beginnings of a TRANS2 scanner
(This used to be commit 9c483987a5d136bf23018ade6ceecf603f8f1614)

22 years agoAdded copyright for me and AB.
Tim Potter [Thu, 23 Aug 2001 02:55:42 +0000 (02:55 +0000)]
Added copyright for me and AB.
(This used to be commit 19cd6a1dc446830c1448f4a21a915ea8994dc268)

22 years agoadded port 445 support to our client code
Andrew Tridgell [Wed, 22 Aug 2001 22:39:39 +0000 (22:39 +0000)]
added port 445 support to our client code
(This used to be commit 0c3120ae475fb53662d6ab9f0d96a832c3c90625)

22 years agoA few changes:
Andrew Bartlett [Wed, 22 Aug 2001 19:11:55 +0000 (19:11 +0000)]
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)

22 years agosome %things are not expanded properly in get share info levels
Simo Sorce [Wed, 22 Aug 2001 16:10:28 +0000 (16:10 +0000)]
some %things are not expanded properly in get share info levels
(This used to be commit 3e60636f2b7003ea1e915bc7c2d2e8dec5667bbd)

22 years agoThe DELL powervault 705 is sending a tcon&x with the service name being
Jean-François Micouleau [Wed, 22 Aug 2001 13:08:01 +0000 (13:08 +0000)]
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)

22 years agoforce checking of log size after 200 smbd in a row or after 30 sec with no
Herb Lewis [Wed, 22 Aug 2001 04:58:00 +0000 (04:58 +0000)]
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)

22 years agoMention 'delete veto files' in 'veto files' description
Volker Lendecke [Wed, 22 Aug 2001 04:45:05 +0000 (04:45 +0000)]
Mention 'delete veto files' in 'veto files' description

Volker
(This used to be commit ef5c09eebe29161920536cbe708b10659a77386e)

22 years agoRemove unneeded lp_talloc_free().
Jeremy Allison [Wed, 22 Aug 2001 04:39:37 +0000 (04:39 +0000)]
Remove unneeded lp_talloc_free().
Jeremy.
(This used to be commit 072a5bca2b8fbd6e0ac3f1259c426ebd1f3fb551)

22 years agoadded ERRbadmcb
Andrew Tridgell [Wed, 22 Aug 2001 03:18:24 +0000 (03:18 +0000)]
added ERRbadmcb
(This used to be commit 2f4690e1888c9cc96fd788abf2161943a2032b51)

22 years agominor bug fixes to smbtorture
Andrew Tridgell [Wed, 22 Aug 2001 03:15:33 +0000 (03:15 +0000)]
minor bug fixes to smbtorture
(This used to be commit 7724243fe71dbf0783ea6e081e40d6916ac45c0d)

22 years agoLink in smbdes routines for new wbinfo authentication stuff.
Tim Potter [Wed, 22 Aug 2001 03:10:58 +0000 (03:10 +0000)]
Link in smbdes routines for new wbinfo authentication stuff.
(This used to be commit 84998f1fceeef221101a4e332cf53d0e355c4ddf)

22 years agoAdded another authentication interface to winbindd. The Challenge Response
Tim Potter [Wed, 22 Aug 2001 02:48:16 +0000 (02:48 +0000)]
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)

22 years agoa fix for directory listing with the dave/thursby client
Andrew Tridgell [Wed, 22 Aug 2001 02:47:38 +0000 (02:47 +0000)]
a fix for directory listing with the dave/thursby client
(This used to be commit 5a3fd3317e0fedd72450660f031b5ba42a11b875)

22 years agoFixed typo.
Volker Lendecke [Wed, 22 Aug 2001 02:27:59 +0000 (02:27 +0000)]
Fixed typo.

Volker
(This used to be commit 880c1cc751d017886bcd175eefa3d547a0f99c43)

22 years agomerge from 2.2
Gerald Carter [Wed, 22 Aug 2001 01:48:45 +0000 (01:48 +0000)]
merge from 2.2
(This used to be commit a50c3df15b3a82b4363fde0442c98edea067b4ae)

22 years agomerge from 2.2
Gerald Carter [Wed, 22 Aug 2001 01:18:48 +0000 (01:18 +0000)]
merge from 2.2
(This used to be commit fe4ffa8dda165b0d1197f022f59db0a284cbef79)

22 years agoMissed '\' at eol...
Jeremy Allison [Wed, 22 Aug 2001 01:06:27 +0000 (01:06 +0000)]
Missed '\' at eol...
Jeremy.
(This used to be commit 0dbd1be704209c1a66280148b40f7b7437d47242)

22 years agoTidyup fixes for fcntl spin problem.
Jeremy Allison [Wed, 22 Aug 2001 01:01:37 +0000 (01:01 +0000)]
Tidyup fixes for fcntl spin problem.
Jeremy.
(This used to be commit 27d3dd0e7cb777ef6b21d6966c07045c2940fd37)

22 years agoFixed the (incorrect) paranioa fix I put in for the fcntl lock spin.
Jeremy Allison [Wed, 22 Aug 2001 00:29:40 +0000 (00:29 +0000)]
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)

22 years agosync with 2.2 branch
Herb Lewis [Tue, 21 Aug 2001 23:56:04 +0000 (23:56 +0000)]
sync with 2.2 branch
(This used to be commit feb9bf86723bce7dd1e81250b92191c370228a45)

22 years agoMissed uninitialized variable return for del_share_mode().
Jeremy Allison [Tue, 21 Aug 2001 18:33:58 +0000 (18:33 +0000)]
Missed uninitialized variable return for del_share_mode().
Jeremy.
(This used to be commit e4a57fb45660b82eaec751f1b41f657a64d963fd)

22 years agostring terminate in mkdir
Andrew Tridgell [Tue, 21 Aug 2001 03:50:31 +0000 (03:50 +0000)]
string terminate in mkdir
(This used to be commit fe414d5e1afdfe7bb20ff5da60394ffd9fa81b05)

22 years agoAdded cli_lsa_open_policy2()
Tim Potter [Tue, 21 Aug 2001 03:05:27 +0000 (03:05 +0000)]
Added cli_lsa_open_policy2()
(This used to be commit afaafc3e5a2adef4736196aa5f4e6ca25a0571d2)

22 years agoDistinguish between NT informational and error codes.
Tim Potter [Tue, 21 Aug 2001 03:04:41 +0000 (03:04 +0000)]
Distinguish between NT informational and error codes.
(This used to be commit 02fe0e18dfcb8cc83b3cf0b6c8dd4dc1ddb7e196)

22 years agoAdd a new option to disable our paranoid server check.
Andrew Bartlett [Tue, 21 Aug 2001 02:58:07 +0000 (02:58 +0000)]
Add a new option to disable our paranoid server check.

Defaults to ON, ie checking
(This used to be commit bd3010263be24425206587abfdb41164089e2157)

22 years agoFixed a little typo.
Volker Lendecke [Tue, 21 Aug 2001 02:11:41 +0000 (02:11 +0000)]
Fixed a little typo.

Volker
(This used to be commit a1e97aafe54a2960409637d67af847420b003ec8)

22 years agoThis is Jeremy pretending to be Volker, 'cos the
Volker Lendecke [Tue, 21 Aug 2001 01:25:45 +0000 (01:25 +0000)]
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)

22 years agoEnsure we are very explicit about what we're comparing when
Jeremy Allison [Mon, 20 Aug 2001 22:13:53 +0000 (22:13 +0000)]
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)

22 years agoAdd comment to clarify why we call this twice.
Andrew Bartlett [Mon, 20 Aug 2001 22:01:44 +0000 (22:01 +0000)]
Add comment to clarify why we call this twice.
(This used to be commit afece03d023b2905c27e147516b61487a7503028)

22 years agotwo fixes for NT clients -> share level Samba server
Andrew Tridgell [Mon, 20 Aug 2001 21:11:55 +0000 (21:11 +0000)]
two fixes for NT clients -> share level Samba server
(This used to be commit a25911d58c752350b62b205cfb0d6fc5b1c90cef)

22 years agoallow for the NULL in make_nmb_name()
Andrew Tridgell [Mon, 20 Aug 2001 18:05:12 +0000 (18:05 +0000)]
allow for the NULL in make_nmb_name()
(This used to be commit b6c78d4c6fde2065678dd62bbd9dd4af9c5e805b)

22 years agoadded -b option
Andrew Tridgell [Mon, 20 Aug 2001 17:38:37 +0000 (17:38 +0000)]
added -b option
(This used to be commit 1c2618df450ddde7e52ab8784fcdd2b64a85771e)

22 years agoa bunch of fixes from the s\7fflight to seattle
Andrew Tridgell [Mon, 20 Aug 2001 05:15:26 +0000 (05:15 +0000)]
a bunch of fixes from the s\7fflight 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)

22 years agoRealloc fix.
Jeremy Allison [Sun, 19 Aug 2001 18:25:14 +0000 (18:25 +0000)]
Realloc fix.
Jeremy.
(This used to be commit 82153dde951ff7af3655f466cb2ea42c3195bdff)

22 years agoRealloc fixes.
Jeremy Allison [Sun, 19 Aug 2001 18:19:04 +0000 (18:19 +0000)]
Realloc fixes.
Jeremy.
(This used to be commit 6b90263292d03b1ae2d5d18952e78fc26066f30d)

22 years agoRealloc fixes.
Jeremy Allison [Sun, 19 Aug 2001 18:01:08 +0000 (18:01 +0000)]
Realloc fixes.
Jeremy.
(This used to be commit e4ef9e332fff99eb66101a3737a7efc3b7493cc5)

22 years agoRealloc fixes.
Jeremy Allison [Sun, 19 Aug 2001 17:54:10 +0000 (17:54 +0000)]
Realloc fixes.
Jeremy.
(This used to be commit 560ae7615eb8eca2c872b1196ce0b9534bf8ad76)

22 years agoMore Realloc fixes.
Jeremy Allison [Sun, 19 Aug 2001 17:42:34 +0000 (17:42 +0000)]
More Realloc fixes.
Jeremy.
(This used to be commit 94128f9f372c23602c14cf13a79a24d01065ced1)

22 years agoRealloc fix.
Jeremy Allison [Sun, 19 Aug 2001 17:34:37 +0000 (17:34 +0000)]
Realloc fix.
Jeremy.
(This used to be commit 9cabc3fd63d7780eb5d80eb7619fd7606d9da3b8)

22 years agoAdd missing gcc memory barriers, this bug showed up when doing a
Anton Blanchard [Sun, 19 Aug 2001 13:45:38 +0000 (13:45 +0000)]
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)

22 years agoMore Realloc fixes.
Jeremy Allison [Sat, 18 Aug 2001 19:57:48 +0000 (19:57 +0000)]
More Realloc fixes.
Jeremy.
(This used to be commit b4fa49fe13cb93d578b1714d5863a9f50395bf65)

22 years agoMore Realloc fixes.
Jeremy Allison [Sat, 18 Aug 2001 19:43:28 +0000 (19:43 +0000)]
More Realloc fixes.
Jeremy.
(This used to be commit 381c02e6389dbb41fa66a854d7293594fd4bd0a6)

22 years agoUse tparam not tdata when reallocing params to make clearer.
Jeremy Allison [Fri, 17 Aug 2001 18:16:42 +0000 (18:16 +0000)]
Use tparam not tdata when reallocing params to make clearer.
Jeremy.
(This used to be commit 31804cb7a89f280cec4c047cad643c7f593f9b03)

22 years agomore useful debug messages and check if the size are non null.
Jean-François Micouleau [Fri, 17 Aug 2001 17:07:40 +0000 (17:07 +0000)]
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)

22 years agoOK, so not freeing these was a mistake. I'll try to be less exuberent next
Andrew Bartlett [Fri, 17 Aug 2001 08:57:58 +0000 (08:57 +0000)]
OK, so not freeing these was a mistake.  I'll try to be less exuberent next
time :-)
(This used to be commit 8c3cf2db95a0fcf48b21274cac93f13abb42d4bf)

22 years agoMove the claim_connection stuff till a little later in the process.
Andrew Bartlett [Fri, 17 Aug 2001 08:44:04 +0000 (08:44 +0000)]
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...)
(This used to be commit ba76564c2a06bf7feefdaf9ef06cbf77c776b6e6)

22 years agoMove admin user check into a helper function.
Andrew Bartlett [Fri, 17 Aug 2001 08:12:33 +0000 (08:12 +0000)]
Move admin user check into a helper function.

Formatting fixes.
(This used to be commit 6fd8eb08c12d0446ab639becf8825d26bce8eb8a)

22 years agoMove read only check into a helper funcion. Ensure conn->service is set
Andrew Bartlett [Fri, 17 Aug 2001 07:48:25 +0000 (07:48 +0000)]
Move read only check into a helper funcion.  Ensure conn->service is set
before we use it to find a share's details.
(This used to be commit 7dc716f174c38e73b8e6d07130a1bc39f4499ce3)

22 years agoRestore a debug I think I dropped earlier
Andrew Bartlett [Fri, 17 Aug 2001 07:47:10 +0000 (07:47 +0000)]
Restore a debug I think I dropped earlier
(This used to be commit dc635bde2262b248f58d3ce52c2575dae8546571)

22 years agosmbd/auth_server: Doco, we want to use cli_nt_error here soon
Andrew Bartlett [Fri, 17 Aug 2001 07:03:27 +0000 (07:03 +0000)]
smbd/auth_server: Doco, we want to use cli_nt_error here soon

smbd/password.c: We don't use globals here anymore

smbd/reply.c: Tidyness, global_myworkgroup must die!

smbd/service.c:  Move some of the make_connection code into a helper
                 function.
(This used to be commit 15c87e404fcaff9e360a40b8b673938c6e611daf)

22 years agoStyle cleanup for the last vuid change.
Andrew Bartlett [Fri, 17 Aug 2001 06:06:56 +0000 (06:06 +0000)]
Style cleanup for the last vuid change.

Style, doco and DEBUG() fixes for auth_smbpasswd.c
(In particular for the account control call).

Andrew Bartlett
(This used to be commit 3d91c119420973d7dd1af416a1e26efa113dc626)

22 years agoOne less getpwnam() call...
Andrew Bartlett [Fri, 17 Aug 2001 05:38:44 +0000 (05:38 +0000)]
One less getpwnam() call...

Andrew Bartlett
(This used to be commit 204da7ba96b0c562bab5e5536728a0378077bdc7)

22 years agoremoved unused file
Andrew Tridgell [Thu, 16 Aug 2001 07:22:47 +0000 (07:22 +0000)]
removed unused file
(This used to be commit 6b43e4a15d90bda11f7729de8782b99804ad0f8e)

22 years agoremoved unused file
Andrew Tridgell [Thu, 16 Aug 2001 07:15:57 +0000 (07:15 +0000)]
removed unused file
(This used to be commit c452eb0fbbeb2d450d94c972dfeb190767005cd7)

22 years agoAdded Jim McDonough's Win9x take ownership fix.
Jeremy Allison [Mon, 13 Aug 2001 23:19:16 +0000 (23:19 +0000)]
Added Jim McDonough's Win9x take ownership fix.
Jeremy.
(This used to be commit 800e46ea7e724460be2ba5f71e5baa2f2ddd2d3b)

22 years agomerge from 2.2
Gerald Carter [Mon, 13 Aug 2001 21:30:27 +0000 (21:30 +0000)]
merge from 2.2
(This used to be commit 7049217eb40dbe3de6c05fe43742d2f684501723)