summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-04-05Added *.soTim Potter1-0/+1
(This used to be commit e6d11483e2187d8f794f38f5687758f2a2f0b0e6)
2000-04-05Improved clean target.Tim Potter1-2/+3
(This used to be commit facdfd319de59be4dd9b500202d33a2f3853c2c6)
2000-04-05JF - you might want to look at this patch.Jeremy Allison1-23/+134
Went through and fixed up all failure possibilities. If something (malloc, file open etc.) fails, then this code goes through and cleans up all allocated resources on exit. This is the equivalent of a C++ destuctor for the allocated structures. We need code to be written like this to pass purify tests. Jeremy. (This used to be commit b260ef7cb1fb2b1e4661cc54eab403eb01fbfc35)
2000-04-05off by one error ...Jean-François Micouleau1-2/+5
J.F. (This used to be commit cef44398f90f670358f2ad430056371d394c7f91)
2000-04-05changed all the status code to ERROR_xxx instead of NT_STATUS_xx which areJean-François Micouleau4-89/+87
wrong in the spoolss case. fxed a bug in the job notify code (that's the polite answer), the truth is different: there is a bug in the NT spooler service, including SP6a and NT2K. changed the default lpcommand in the LPRNG case. J.F. (This used to be commit 396f73c11b29a47650b3243fef0825252a3cef9b)
2000-04-05Added strerror at debug level 0 on file create/open fail. Helps catchJeremy Allison1-3/+3
problems. Jeremy. (This used to be commit a25891f52491a3aed89302704ba24df832aedf0b)
2000-04-04Change to vfs API. POSIX states fsync should return an int, not a void.Jeremy Allison5-8/+8
Jeremy. (This used to be commit 6c442d68afae4140e28b770343a900b5ce510b4a)
2000-04-04Removed strange optimisation (paranoia fix maybe ?) that stopped smbdJeremy Allison1-6/+0
from returning '.' and '..' in a top level listing of a trans2 directory scan. NT does return these entries. Jeremy. (This used to be commit 7325059a0940909ddd98b32d62423700545ef87e)
2000-04-04Snuck in some whitespace cleanup while I was visiting these files. (-:Tim Potter3-6/+0
(This used to be commit f249dc041f3f3bdb1adaa41271236ffdb2447475)
2000-04-04Removed unused parameter vuid from rpc_server api_* calls. For the very fewTim Potter9-321/+297
functions that need to access the vuid, it can be obtained from the current_user global. Did some whitespace cleanup. (This used to be commit 738b307bd7053ede369431da7b1349befaa523d9)
2000-04-03Fix for compiler warning about invalid structure type.Jeremy Allison1-1/+1
jeremy. (This used to be commit 58a16e2718e6400fe9f20d61990818f2d146042f)
2000-04-03Hmmm - unicode codepages need adding to HEAD. Thought that'd been done ?Jeremy Allison15-0/+64024
Jeremy. (This used to be commit efbb327ff94aeb4ee18a73b169007dfe8a139b02)
2000-04-03Fix for spoolss code from Alan Hourihane <Alan.Hourihane@pinacl.co.uk>.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 33aa541e89ebe2e6a7c1808cea6dc7128bdb0587)
2000-04-03Additional fix for nmbd and 127.0.0.1 interface.Jeremy Allison1-0/+12
Jeremy. (This used to be commit 715fa7ea8cf00d72c868bed420c28a29011f53a1)
2000-03-31fixes for broken IRIX header file merged from 2.0 branchHerb Lewis3-578/+595
(This used to be commit 351b25727e69864f06f363c1fce1ab04f3f2ca77)
2000-03-31IRIX include fixes.Jeremy Allison4-195/+216
Jeremy. (This used to be commit 3a39acd3535647b0f28f51eea29573d5cb1eb9be)
2000-03-30samba-bugs -> samba.Jeremy Allison17-112/+185
Jeremy. (This used to be commit 8fb9843c40d5e8942006089e61dc9e709c9c8cc6)
2000-03-30Fix for coredump in testparm.Jeremy Allison1-1/+1
Jeremy. (This used to be commit c4c06650dd2407919213e5393ae501815a10c4f5)
2000-03-30Fixed spelling of Andrew's name. (-:Tim Potter1-1/+1
(This used to be commit b912fb7dd239ce18a9b2e4ffaf1785d32899dc9f)
2000-03-30I finally got sick of configure being run automaticaly when I run makeAndrew Tridgell1-2/+2
clean or in other situations. That then screws up options I pass to configure and is generally annoying. Instead the Makefile now emits a warning if configure needs rerunning, but doesn't actually run it. don't re-enable the auto running of configure on pain of death :) (This used to be commit ea769a280fa85b09463f6bb6e5fc9eaba5641a62)
2000-03-29Added check for LL suffix to long long ints needed by AIX 4.3.x compilerJeremy Allison5-185/+334
to allow successful build. Jeremy. (This used to be commit 567713a07c089ab3ebb4c9b96087777de154b601)
2000-03-29Fixed bug found by JF where if the amount of data to return in the prs_structJeremy Allison1-1/+1
was small enough to pass the SMBtrans max data test we weren't setting the "more data needed" error. I was fogetting the RPC_HEADER_LEN.... I now check the correct length (current pdu staging area length). More printer spool enum stuff works now. This bug does not affect TNG. Jeremy. (This used to be commit 1c9d2c016a78b0ed11dc68adeabb709903444837)
2000-03-29Cause nmbd to ignore loopback interface when constructing its interface ↵Jeremy Allison1-0/+14
list. This is done by default when interfaces are probed, but if someone explicitly adds 127.0.0.1 to the interfaces line for smbd, then nmbd would start to try and register names on it. This was not good :-(. Jeremy. (This used to be commit cc3ad825214686ad03dd4176d0c55290d1de6221)
2000-03-29split addprinterex in preparation for level 1 support and to stop itJean-François Micouleau1-8/+28
coredump. J.F. (This used to be commit aea47dee7d85310f35309ecfa91d0b87e632a33f)
2000-03-29rewrote getprinterdriver level 3, now correctly handle the dependentJean-François Micouleau5-191/+279
files. A number of memleak fixed some error return values fixed. J.F. (This used to be commit c212fbe009fe556d5329b5d7106159cf21402d82)
2000-03-29More Japanese filename fixes wrt VFS code fromTim Potter2-12/+16
Tomoki AONO <aono@cc.osaka-kyoiku.ac.jp> (This used to be commit a9b628ebaa90e464366d0284226753f31439af9f)
2000-03-28damn, the test was the wrong way around for short_resuestAndrew Tridgell1-1/+1
(This used to be commit 1ac46c40118fce9443141ce19506d124a873b73d)
2000-03-28Win2k will only accept volume labels in UNICODE. Fixed.... :-(.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 676db02f1cd7cb81c58cbbdd3bc94da17dad5227)
2000-03-28Moved common code to set parameter offset field correctly oout of 'if'Jeremy Allison1-10/+8
statement into main function code path. Jeremy. (This used to be commit f15ca0d9273d718534ba2fdd2ccd14ab90a95c8b)
2000-03-27Fixed crash bug in new handle_netbios_name code.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 26963f2f8ec923991efecf6ac177fb17e7a924b0)
2000-03-27changed the definition of dos_PutUniCodeAndrew Tridgell5-20/+19
the previous definition could result is us overflowing a buffer. The null termination was always added yet the size returned did not include the null termination. the new function takes a BOOL null_terminate, and always returns the total number of bytes consumed by the string. (This used to be commit 426c90433396a95033eefcc4af97603abc934221)
2000-03-27the final part of the nmbd merge between head and tng - this gets theAndrew Tridgell4-373/+382
GETDC stuff sorted out (This used to be commit f6b56ae93e47a54317f2711533ec8208d5cbc8a9)
2000-03-27fixed the hanlding of recursion desired when sending packets fromAndrew Tridgell1-23/+22
nmbd. It does NOT follow the rule that packets to the wins server have rec_des set (I know that we have postulated this in the past). Please don't screw with this unless you do careful testing from WinXX clients. Luke and I spent a couple of hours today getting this right (it was wrong in both TNG and HEAD) (This used to be commit 9eda2e27b74d95975e481d92930ef87de7006919)
2000-03-27moved nmblib-specific code from util.c to nmblib.c.Luke Leighton3-544/+546
(This used to be commit 1b9077a1d5295bc8522b83ebed2d41d5dbd28a27)
2000-03-27rename static reload_services function to reload_nmbd_services becauseLuke Leighton1-6/+6
it clashes with other reload_services definitions. (This used to be commit affaf9c5411e533a77621574d356e886eea93465)
2000-03-26when doing a "secure nbns" wack response and check with owner for aAndrew Tridgell1-1/+4
multihomed registration we were sending the packet to the wrong host! We sent it to the person trying to register rather than to the person who currently holds the name. That means we were not secure and we could allow two people to register the same name. Jeremy, you may wish to merge this change into 2.0.X (This used to be commit 94ca1d1250d12918311a402cc689050ba1d06e24)
2000-03-26merge from tng ...Andrew Tridgell1-1/+1
reload services can be static (This used to be commit b13a903720a6ef789ee7d688c05be2e77584580e)
2000-03-26load smb.conf and interfaces in masktest (to allow for netbios nameAndrew Tridgell1-0/+4
resolution) (This used to be commit f007531742f5570d5b9b8cb20cab19cd1ab1bfed)
2000-03-25rpc_parse/parse_spoolss.c: Added checks on mallocs/overflow checks on all prs_xxJeremy Allison2-165/+375
calls. smbd/connection.c: Fix from David Lee <T.D.Lee@durham.ac.uk>. Jeremy. (This used to be commit 53721fbc7d2a986cf999b8f031a2d9003c0dccae)
2000-03-22Correctly convert from little-endian UNICODE to dos_codepage when doingJeremy Allison3-33/+24
secure file create. Jeremy. (This used to be commit 90134dd13721f60d4fb05ce9434b65e95ff09629)
2000-03-22acconfig.h configure configure.in: Added check for UT_SYSLEN for utmp code.Jeremy Allison35-871/+220
include/byteorder.h: Added alignment macros. include/nameserv.h: Added defines for msg_type field options - from rfc1002. lib/time.c: Typo fix. lib/util_unistr.c: Updates from UNICODE branch. printing/nt_printing.c: bzero -> memset. smbd/connection.c: Added check for UT_SYSLEN for utmp code. Other fixes : Rollback of unapproved commit from Luke. Please *ask* next time before doing large changes to HEAD. Jeremy. (This used to be commit f02999dbf7971b4ea05050d7206205d7737a78b2)
2000-03-22disabled the getgrent() code recently added that returns all unix groupsLuke Leighton1-0/+17
as NT aliases. no allowance is made for possible clashes with some unix groups that may be mapped to NT groups, not NT aliases. it is not the place of this code to make decisions about which unix groups should be mapped to NT aliases or NT groups, or in fact whether unix groups exist at all (e.g "appliance" mode). please could the person who wrote this code contact me and i will outline the architecture and design issues that you need to be aware of when working in this area: i need your skills and ability -- applied in the right places. thank you. (This used to be commit 67d9b3733f7f3ffab0ff6e78de7638fb469195e6)
2000-03-22disabled code from HP that replaced get_sampwd_entries() withLuke Leighton1-1/+26
get_passwd_entries(). get_sampwd_entries() calls the generic SAM pwdb API, whereas get_passwd_entries() calls the Unix database explicitly. this will result in LDAP, MYSQL, NISPLUS and any other future modules (e.g "appliance" mode SAM database) failing to operate correctly. i know what problem was attempted to be fixed, here, but this is not the right place to attempt to fix it. (This used to be commit 04fa6a02739671fa02b531ae47e5d24c54753331)
2000-03-22added the following message to all dce/rpc client/server code, exceptLuke Leighton25-0/+631
the spoolss code (it's cut from TNG) and the smb-dce/rpc interface code that jeremy has been working up to TNG-functionality. i also want this message to go into SAMBA_2_0 and SAMBA_2_0_RELEASE, because it is intolerable that potentially good modifications be made to code that is going to be thrown away, and people waste their time fixing bugs and adding enhancements that have already been carried out already, up to two years ago in the TNG branch. /* * THIS CODE IS OUT-OF-DATE BY TWO YEARS, IS LEGACY DESIGN AND VERY, VERY, * INCOMPLETE. PLEASE DO NOT MAKE ANY FURTHER ENHANCEMENTS TO THIS CODE * UNLESS THEY ARE ALSO CARRIED OUT IN THE SAMBA_TNG BRANCH. * * PLEASE DO NOT TREAT THIS CODE AS AUTHORITATIVE IN *ANY* WAY. * * REPEAT, PLEASE DO NOT MAKE ANY MODIFICATIONS TO THIS CODE WITHOUT * FIRST CHECKING THE EQUIVALENT MODULE IN SAMBA_TNG, UPDATING THAT * FIRST, *THEN* CONSIDER MAKING THE SAME MODIFICATION IN THIS BRANCH * * YOU WILL, ALMOST GUARANTEED, FIND THAT THE BUG-FIX OR ENHANCEMENT THAT * YOU THINK IS NECESSARY, HAS ALREADY BEEN IMPLEMENTED IN SAMBA_TNG. * IF IT HAS NOT, YOUR BUG-FIX OR ENHANCEMENT *MUST* GO INTO SAMBA_TNG * AS THE SAMBA_TNG CODE WILL REPLACE THIS MODULE WITHOUT REFERENCE TO * ANYTHING IN IT, WITH THE POSSIBLE RISK THAT THE BUG-FIX OR ENHANCEMENT * MAY BE LOST. * * PLEASE OBSERVE AND RESPECT THIS SIMPLE REQUEST. * * THANK YOU. * * lkcl@samba.org */ (This used to be commit cfaea90529be222f8df0e20a7ca1289f99c29e09)
2000-03-21indent update to make t easier to see setuid mods in TNG. someLuke Leighton5-1187/+1492
code from these modules i had to leave out (nothing to do withj setuid) (This used to be commit 96717211edcc389daa4494907251ffb79ffa56d9)
2000-03-21Added preliminary user list code from HP. Needs to be made dynamicJeremy Allison1-20/+252
and backended with a tdb database so the list can be shared between multiple smbds. ToDO. Jermey. (This used to be commit 171222ce22595743a052e5c3d4428ce916d7c345)
2000-03-20Fix from christoph.pfisterer@rwg.de for large directory listing to OS/2Jeremy Allison1-2/+2
server. Jeremy. (This used to be commit ce1c36541255b51ae429e530c0ebf016009ab84e)
2000-03-16Fixes to add "paranoid" option to popen. Checks some basic things.Jeremy Allison5-5/+78
Jeremy (This used to be commit 3b8cbb10de322fd7a1063fb5b681790b10d24ab0)
2000-03-16removed extra arguements from make_nmb_name callsHerb Lewis1-3/+3
(This used to be commit d97f5d57d07b03c1df69099625b9d3faabe3f605)
2000-03-16fix a bug in enumprinterdriversJean-François Micouleau1-6/+14
J.F. (This used to be commit a8d04c26da601cb97e66c27c7ad21dd672fcec2d)