summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-08-27forgot to commit the scanner codeAndrew Tridgell1-0/+435
(This used to be commit 591308f3881e44750b48602fd05362f1f5c6477a)
2001-08-27started converting NTSTATUS to be a structure on systems with gcc in order ↵Andrew Tridgell18-635/+1505
to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs (This used to be commit 1b778bc7d22efff3f90dc450eb12baa1241cf68f)
2001-08-27converted smbd to use NTSTATUS by defaultAndrew Tridgell28-1605/+1260
major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night (This used to be commit 83d9896c1ea8be796192b51a4678c2a3b87f7518)
2001-08-27As per plug-fest discussions this paramater no longer defaults to the valueAndrew Bartlett1-4/+0
of add user script. (This used to be commit 9e0c9a99f6ca01cd6a0ee3084f85e1c36b11d7c3)
2001-08-26Spaces -> Tabs.Jeremy Allison1-6/+7
Jeremy. (This used to be commit 5b665122f5a785f858f75c0a3c181ae193e2c503)
2001-08-26Ignore locks of length zero as they mean different things in Win32Jeremy Allison1-5/+18
and POSIX. Jeremy. (This used to be commit bd9cbf4c6883c1a39f28db8afa7cc0bd04b1b09f)
2001-08-26Don't use CLEAR_IF_FIRST if opening read-only.Jeremy Allison1-1/+1
Jeremy. (This used to be commit f5ba19c12989dd1e996473869468afcfc5dce72e)
2001-08-26bzero is not used (deprecated) as it's a BSDism.Jeremy Allison1-62/+52
Syscalls must check for -1, not < 0 (POSIX). Formating (tab) fixups. Jeremy. (This used to be commit 7263949584a5e01fd5316770861a7550bd3f1155)
2001-08-26Change default 'name resolve order' to WINS before DNS.Volker Lendecke2-2/+2
Volker (This used to be commit 5fc8c51983f36b0b2bbb2704a522026dc64d0b65)
2001-08-26Same as nmbd.c. These now test wins_srv_count() instead of lp_wins_serverChristopher R. Hertel3-3/+3
to determine whether the 'wins server' parameter is set. (This used to be commit 5b975d3a9cea39e9992a9b556b8a6d9d3ec14807)
2001-08-26Instead of checking lp_wins_server() to see if a WINS server was specified,Christopher R. Hertel1-5/+8
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)
2001-08-26Small changes to get ready for adding WINS failover to smbd and clients.Christopher R. Hertel1-5/+76
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)
2001-08-26fixed typoGerald Carter2-2/+2
(This used to be commit 3b1454691b1164493f1bee58a3d2e5eed0aa898e)
2001-08-26Fussing with debug lines in open_socket_in(). I cleaned up some slightlyChristopher R. Hertel1-32/+56
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)
2001-08-24we now have all but the dreaded 0/0 lock workingAndrew Tridgell1-30/+67
(This used to be commit 98b6aef18c793187f392f944af516c8b9ebf86e9)
2001-08-24typoGerald Carter2-731/+733
(This used to be commit 11605ea38ac699cec0d0e84b94eca3d8df2e03a7)
2001-08-24get rid of compiler warningsHerb Lewis16-41/+42
(This used to be commit 0768991d04ea03e774ca8662c9cae5e1951b88e0)
2001-08-24More status32 conversions.Tim Potter2-15/+14
(This used to be commit 031a19639ce862bd01c1a72d8b5ff21b0eae99d2)
2001-08-24Re-added readbraw call to test with smbtorture. This code not yetJeremy Allison1-1/+88
tested... Jeremy. (This used to be commit fe85a19b4b9db5910ad8259890f94c9496e1aebf)
2001-08-24fixed level2 find first for unisys clientsAndrew Tridgell1-0/+1
(This used to be commit cb8b21f71dbacc7ee658bef7011cd147fbe34101)
2001-08-24fixed handling of 139/445 in clientsAndrew Tridgell9-24/+12
(This used to be commit 22b372f8a7996a19bebb8cdb411df999cffa32a4)
2001-08-24/tmp/cvsVTEaY5Gerald Carter2-919/+815
(This used to be commit 55f222236f3a80b2e0b7a1ec278d90d5cf57459f)
2001-08-24Fixed debug in cli_establish_connection() - print out the called name onTim Potter1-1/+1
connection failure rather than the calling name. (This used to be commit 946f6eb9320c9897942adee8b513d8caaa3232c0)
2001-08-24tests for 0 length locksAndrew Tridgell1-15/+28
(This used to be commit 8fbd1d0f978a349ec4fcc0d34fca55314d3dec31)
2001-08-24Process the SAM/UAS change notification message.Tim Potter2-1/+74
(This used to be commit efcbcfaa48d36063c974c20692ee2c38d09d2216)
2001-08-24Only register the #1b name if we are ROLE_DOMAIN_PDC rather thanTim Potter1-1/+1
lp_domain_master() (This used to be commit b8fe147430fbceff5da8853e5240d251f2671d0e)
2001-08-24fixes big endian unistring problems. Need to check that it didn'tHerb Lewis1-2/+9
break little-endian machines. (This used to be commit 0f08e79030419b778c1229712c98b839faaf734f)
2001-08-24Make domain_client_validate return a status code instead of a boolean.Tim Potter2-19/+23
(This used to be commit b4e79ab34b7df4687966f4ca81b575dce8503775)
2001-08-24Fixed incorrect debug.Tim Potter2-8/+2
(This used to be commit cec051cf5fb93d9f45eca3f9cf462f78a7d7040d)
2001-08-24Fixed typo in debug message.Tim Potter1-1/+1
(This used to be commit ea8c0a75affe56f8fbcb987cd6f8cdcd24e8a537)
2001-08-24add a comment to make the code more readableSimo Sorce1-1/+1
(This used to be commit d6a33722168c64eb948c52e303cfb1cd4cfda7f9)
2001-08-24Set secure channel type depending on server role.Tim Potter1-1/+2
(This used to be commit 7d5440a7ae4ef46103192000a19f2e69ecf02f21)
2001-08-24fix missing )Herb Lewis1-1/+1
(This used to be commit f3bc6b5d68bdb01b07b9d780f5ba81c05e22f48c)
2001-08-24let admins also abort a shutdownSimo Sorce3-10/+56
(This used to be commit 3b40ec4f149a8813c1d68f184858e2ddd605d8fd)
2001-08-24Fixed malloc -> talloc problems pointed out by Simo.Jeremy Allison2-8/+8
Jeremy (This used to be commit 0f5b187387fb536a6866d9109eff82411798f79e)
2001-08-24allow for 0 range locks in locktestAndrew Tridgell1-1/+1
(This used to be commit c3b2d959a7461cf6f9574716c8a7b915c078b311)
2001-08-24flush on a invalid fsp should give an errorAndrew Tridgell1-16/+16
(This used to be commit ef5f4866fbbfa6be07cdc3e612a8899967d48289)
2001-08-240 byte lock ranges ARE validAndrew Tridgell1-6/+3
(This used to be commit 5498da6664a457e4d64502d37fa887dabd9baaa0)
2001-08-24fixed shortname length in trans2 listAndrew Tridgell1-1/+2
(This used to be commit ae669720d8f434a23397deaea3371998ab6f1f54)
2001-08-24get rid of old debug code and possible socket leakHerb Lewis1-9/+1
(This used to be commit f942397d6515402be0c7c1085fc2e6d48eb6928f)
2001-08-23Fix W2K profiles writing to a Samba PDC. Thanks to Microsoft for their help !Jeremy Allison1-15/+6
Jeremy. (This used to be commit faae7512e059456db2450f878c435fd402839146)
2001-08-23so let admins shutdown their samba servers remotely if they want :-)Simo Sorce3-0/+76
(This used to be commit 6391fd7bdab07c83e9eed02e761db09918e60302)
2001-08-23more minor torture updatesAndrew Tridgell2-4/+15
(This used to be commit 6513b94d19adab8f94bbd8044338658242188e7a)
2001-08-23use 32 bit locking if client doesn't do 64 bitAndrew Tridgell1-0/+8
(This used to be commit 759ca19f3223c28e3e3478b4001251d2cb0fbfd6)
2001-08-23Some W2k info.Jeremy Allison1-0/+41
Jeremy. (This used to be commit 04478786c364585bf0263dc00343a25af6fa0a89)
2001-08-23merge from 2.2Gerald Carter1-3/+14
(This used to be commit 97b5499def99016b4baf97343597f1b218a69399)
2001-08-23Fix to only send the status32 error for status32 clients, not to otherAndrew Bartlett1-3/+1
nt_smb clients. As spotted by Thursby. (This used to be commit 22de76a920671614144babac9f589419532d8671)
2001-08-23Fixed detection of CUPS. We need to check for the presence of the cupsTim Potter9-573/+643
header files as well as libcups. (This used to be commit 2dbb41a7b88e7fad63579111aaab4a1cd28c54d5)
2001-08-23Fix up some unused variables and functions, fix up formattingAndrew Bartlett4-18/+0
(This used to be commit bfce4ba7b6db261d981a60a7e262f2f690355f5c)
2001-08-23compile fixSimo Sorce1-1/+1
(This used to be commit c53c5eca157aae3cb48da9ef0157c153a65307da)