summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2003-03-31NT4 is particularly fussy about getting this right.Andrew Bartlett1-1/+0
Andrew Bartlett (This used to be commit 055a499afb0cab87529f3f991765af95f11cc364)
2003-03-31Success is not a level-0 issue...Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 54e736e6f46a8db6db64a1025daa33fffcbde799)
2003-03-31Don't try and dlsym or dlclose a NULL pointer.Andrew Bartlett1-9/+12
The new modules system does not always dlopen() it's modules, and when it does, it keeps them open for the life of the server, not the life of the connection. This caused a segfault on every tree disconnect! Andrew Bartlett (This used to be commit c76ecbae6295022d031d2e286f2d67e5d08946a2)
2003-03-30update copyright notice since it we are now almost 4 months into 2003Gerald Carter1-1/+1
(This used to be commit 6a17c23a549e1e2ce2b428421fbf0b81b37ad0c1)
2003-03-30This changes our handling of invalid service types that theVolker Lendecke1-7/+12
client requested on tconx. We now return the same error code like NT4SP6 and W2kSP3 return. TCONDEV is a little test for this. Volker (This used to be commit 6ab88f31d6773f16baff8421ec9e530461cc8f93)
2003-03-28Allow the new modules system to function with builtin vfs modules.Andrew Bartlett1-1/+1
If we don't have a vfs path set, just pass the original file name. In future, we need to seperate the default path as a seperate paramater. Andrew Bartlett (This used to be commit 93c91a2e9d325a4b2d092e144e63f743e6e049bc)
2003-03-28fix up IPC/LPT:/A: devicetype in tcon_and_XGerald Carter1-21/+20
(This used to be commit a9ccae314fdb4b96115d31083f1a4b26209d597c)
2003-03-28it is possible for some of the real time signals to be used by glibc,Andrew Tridgell2-2/+8
which then changes SIGRTMIN. It is also possible for bash to leave some real time signals blocked at startup. This fixes both problems. (This used to be commit 8d45bf644aecb6993c2a82b86a4527b33029ed8f)
2003-03-27Put backwards compatibility support for old modules in a seperate functionJelmer Vernooij1-45/+58
(This used to be commit 2dd00078eec736797e65f69ad00297068e57cd9a)
2003-03-27local_gid_to_sid() could use pdb_ldap, which for now requires ROOT.Andrew Bartlett1-0/+2
(This used to be commit a51ce67e322f91a56acb9e358ee8b2254b2e7792)
2003-03-27Use the new modules system in VFS. If a module can't be loaded with theJelmer Vernooij2-34/+111
new modules system, we still fall back to the old system. (This used to be commit cebe8d8b424f10006f2f791a8f086c6c8a7f5d57)
2003-03-26Fix DOS del command with widelinks = False.Jeremy Allison1-1/+2
Jeremy. (This used to be commit ae754e9355c78c22ff5ca5a7f3276e61b4a8fcb7)
2003-03-25- Support building all auth modules as .so'sJelmer Vernooij1-1/+1
- Change 2 variable names to avoid conflicts (patch by Stephan Kulow <coolo@kde.org>) (This used to be commit 71b05cd14ae6df8340730e7bad1c783dc278c5d3)
2003-03-25Print list of builtin modules in 'smbd -b'Jelmer Vernooij1-0/+3
(This used to be commit 3a2ed0da40c9709cdae061927f44a38f58e44df0)
2003-03-25Remove obsolete defines (because of new modules system). We needJelmer Vernooij1-9/+0
a way to track which modules have been builtin (This used to be commit 0f724be38439af9284e51b7b9b8605e8956e51ba)
2003-03-25win9x was suffered a case of the blues during a domain logon.Gerald Carter1-1/+14
For some reason, explicitly setting the service type during the tcon&X fixes this. (This used to be commit c458179d21465165705e6c035776698cb824baf5)
2003-03-24Don't use old usage() function, but the one from popt.Jelmer Vernooij1-1/+0
Remove some useless arguments (This used to be commit 8df30059ef100a4d5e21501d7746427b4d312589)
2003-03-24Revoke some of the popt patch from metze I applied earlier today. It addedJelmer Vernooij1-0/+1
some double options and broke some parameters. (This used to be commit d5f9b0275c91512e1926504f22aaeec2d104430d)
2003-03-24Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changesJelmer Vernooij1-4/+0
(This used to be commit 2ddfed298d7f0b6e690275725a39c3ef107077ae)
2003-03-22Add nicer --help headersJelmer Vernooij1-1/+1
(This used to be commit e56ab71f1237a71c6ad4f321ce1db4e9397efd73)
2003-03-22Revert bogus part of previous patch.Andrew Bartlett1-6/+9
(This used to be commit 3cddfe211da812a533611eecba5d5da55fd3cf2d)
2003-03-22Small clenaup patches:Andrew Bartlett3-17/+58
- safe_string.h - don't assume that __FUNCTION__ is available - process.c - use new workaround from safe_string.h for the same - util.c - Show how many bytes we smb_panic()ed trying to smb_xmalloc() - gencache.c - Keep valgrind quiet by always null terminating. - clistr.c - Add copyright - srvstr.h - move srvstr_push into a .c file again, as a real function. - srvstr.c - revive, with 'safe' checked srvstr_push - loadparm.c - set a default for the display charset. Andrew Bartlett (This used to be commit a7eba37aadeb0b04cb1bd89deddb58be8aba825c)
2003-03-21Clobber our SMB buffers between packets. I hope this will help find bugsAndrew Bartlett1-2/+10
where we assume the buffer is zero, when it might not be (ie due to, previous packets). Andrew Bartlett (This used to be commit 191b0ab4d7c35c83d2bb2052b2e37d01fbf37b45)
2003-03-20NT4 as well as W2k respond with IPC regardless of what serviceVolker Lendecke1-1/+1
type the client requested in the TCONX when connecting to IPC$. It is very well possible that this also applies to the DISK and PRINTER share types, not only IPC. Found this while trying to join a HEAD domain from NT4SP6. Volker (This used to be commit d42eb2116df4bb82c4199a688a057cd0a9f435ed)
2003-03-20Patch from Samuel Thibault to convert messages from unix to dos charset. WorksJelmer Vernooij1-9/+18
on 2000. sending messages to 9x needs to be fixed, but that didn't work anyway (This used to be commit ca066502a2a3dbdd8943d515c9c6d21e62d757b6)
2003-03-19Put in the new modules system. It's now used by passdb and rpc. I willJelmer Vernooij1-3/+4
put a doc about it in dev-doc later today. (This used to be commit af7bfee0c6902c07fdb8d3abccf4c8d6bab00b5a)
2003-03-18Ensure dev in make_connection is const.Jeremy Allison1-3/+9
Jeremy. (This used to be commit e8155fade61e9dc308a82f442453803160c36806)
2003-03-17Add copyright.Andrew Bartlett1-1/+1
(This used to be commit a7f9c3657ff052e382e290059f50f1d9812b8221)
2003-03-17Brain fart - make sure we truncate the right string...Andrew Bartlett1-4/+4
Andrew Bartlett (This used to be commit 32eb2cdca62a784d96207507e273bbbf77b0c6c3)
2003-03-17Fix const warnings.Andrew Bartlett1-5/+5
Andrew Bartlett (This used to be commit fc1408d5d1a8b64dfd20268ab6f4a5f2a007614b)
2003-03-17Add const.Andrew Bartlett2-4/+4
(This used to be commit 02f81719c7c179b61663bdf789c01ab62286fea2)
2003-03-17More statcache fixes - and add a bit more doco.Andrew Bartlett1-9/+25
Andrew Bartlett (This used to be commit 0e8dd52f6973ac5219e2c2dd53824de71f512083)
2003-03-17Fix memory leaks and add parinoioa code to our stat() cache.Andrew Bartlett1-2/+23
Andrew Bartlett (This used to be commit 3fd07bd25eefdb2a7a6891fa1169ab2425607249)
2003-03-16Missed one when I move 'share_sanity_checks' to use an fstring for 'dev'.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit a0208a4f74f9c61eb1e346d9cb62dbe00ef4c24a)
2003-03-16Make sure we mark the assumption of a fstring parameter for 'devicetype'Andrew Bartlett2-8/+8
in the function prototype, and change callers to respect this. Andrew Bartlett (This used to be commit 9f3d3c380120f16d76d68f346799282d61eec892)
2003-03-16Add const.Andrew Bartlett1-7/+7
(This used to be commit 5371720971bc60a4cfba0460614306f322aa10b8)
2003-03-16 - Make ReadDirName return a const char*.Andrew Bartlett5-27/+34
- Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett (This used to be commit fe2bc64bc439b27387b8f326b0f4f3bfcc3d04a1)
2003-03-16Try to avoid dereferencing a null pointer.Andrew Bartlett1-9/+13
Andrew Bartlett (This used to be commit 4e96585b60512905776c2c6692c76d45241f089d)
2003-03-16New statcache internals - this time it's actually possible to follow what'sAndrew Bartlett1-54/+82
going on. In particular, add doxygen documentation. Andrew Bartlett (This used to be commit 7ff77ab46c63eca3b6edf18f39024eadb83a1a90)
2003-03-15Minor fixes.Andrew Bartlett1-4/+4
- signed/unsigned - quieten warning about assignment as truth value - whitespace Andrew Bartlett (This used to be commit a13ce0df4b4a776fa635a1fb804dd00d195f58d0)
2003-03-15String handling parinoia fixes.Andrew Bartlett2-47/+6
This patch enables the compile-time checking of strings assable by means of sizeof(). (Original code had the configure check reversed). This is extended to all safe_strcpy() users, push_string and pull_string, as well as the cli and srv derivitives. There is an attempt to cap strings at the end of the cli buffer, and clobber_region() of the speified length (when not -1 :-). Becouse of the way they are declared, the 'overmalloc a string' users of safe_strcpy() have been changed to use overmalloc_safe_strcpy() (which skips some of the checks). This whole ball of mud worked fine, until I pulled out my 'fix' for our statcache. When jeremy fixes that, we should be able to get back to testing this stuff. This patch also includes a 'marker' of the last caller to clobber_region (ie, the function that called pstrcpy() that called clobber_region) to assist in debugging problems that may have smashed the stack. This is printed at smb_panic() time. (Original idea and patch by metze). It also removes some unsused functions, and #if 0's some others that are unused but probably should be used in the near future. For now, this patch gives us some confidence on one class of trivial parsing error in our code. Andrew Bartlett (This used to be commit 31f4827acc2a2f00399a5528fc83a0dae5cebaf4)
2003-03-15Clean up the VFS module loading logic by making the parameter an P_LIST,Andrew Bartlett1-40/+34
rather than a runtime-parsed string. Andrew Bartlett (This used to be commit 3465cd6cd92c39c018979b5a82acbddca0927623)
2003-03-15Found by my new checking code (yet to be commited):Andrew Bartlett1-1/+1
Allow a service longer than 4 characters in CORE tcon. Andrew Bartlett (This used to be commit b56613c1cc13ebd5c9ba11a35d2f96c4c3eb0628)
2003-03-14fix WinXP & Win2K3 remote_arch and check pointer in ntlmssp code before ↵Gerald Carter1-17/+18
dereferencing (This used to be commit 2487480228b99183cab9e34ab497997e0c144ed6)
2003-03-12Ensure we count the length correctly in mangle_map.Jeremy Allison1-6/+15
Jeremy. (This used to be commit 596705198c555568da208f59008ab87c5164bfb4)
2003-03-12adding some initiaial code to sert %a to Win2K3 (using Native LanMan string ↵Gerald Carter1-0/+2
from .NET RC2) (This used to be commit 4c823e61d14a33344deb887043b60b2e3c83416f)
2003-03-11We use unsigned now, so use %u.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 01727b0296ee407e49444b9d9c4e7993892cb537)
2003-03-11Fix up zero termination. Spotted by Sebastian Krahmer <krahmer@suse.de>.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 69becdb563b2620513931811a6695481bebcceed)
2003-03-10Don't segfault on make_server_info_guest() failure - instead return theAndrew Bartlett1-4/+2
error code. make_server_info_guest() requires an entry in the SAM at the moment, but this will change before release. Andrew Bartlett (This used to be commit 6a956390fa253e87e38b3f1909f13595fbf2767a)
2003-03-08Make sure that the 'remote' machine name can only be set once. For some weirdAndrew Bartlett2-4/+4
reason, during a Win2003 installation, when you select 'domain join' it sends one machine name in the name exchange, and litraly 'machinename' during the NTLMSSP login. Also fix up winbindd's logfile handling, so that it matches smbd and nmbd. (This helps me, by seperating the logs by pid). Andrew Bartlett (This used to be commit afe5a3832f79131fb74461577f1db0e5e8bf4b6d)