summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2003-04-27make winbind use idmap as well.Simo Sorce1-1/+1
change idmap_init call removed ldap backend for winbind idmap, seem it had problems anyway and it have to be reworked to work with idmap without calling winbind code. simo (This used to be commit 9d7d007443fc75264b2764b90f272ffc40c9be6c)
2003-04-24Fix length in findfirst2 responses, fix os/2 clientsJim McDonough1-4/+10
(This used to be commit ce56ccf932e5ae89b7d46da31ec9b17551206491)
2003-04-22Add runtime tests for "impossible" case with -DDEVELOPER. Trying to catch logicJeremy Allison1-0/+27
error on Linux. Jeremy. (This used to be commit 5d2b2b5607faa4bf2c418987776c1ee327b098c6)
2003-04-22another lost merge from 3.0; my faultGerald Carter1-2/+2
(This used to be commit 2e5e68617345beca4d1cab27d64944ebd42e899b)
2003-04-22Tidyups of some dubious logic discovered whilst trying to track down aJeremy Allison2-7/+6
strange oplock related issue on the PSA. Jeremy. (This used to be commit f8021af2a7b790e739a7ecc67c908289b0a9b719)
2003-04-21Remove unused (#ifdef'ed) code.Andrew Bartlett1-12/+0
(This used to be commit c11465b285d5eb3c42a84095a5dc41af7e07267d)
2003-04-21Use fstrcpy/pstrcpy when that's what we really mean...Andrew Bartlett2-6/+7
Andrew Bartlett (This used to be commit e8aa615591dc44de4de85322d455a47b3122b9eb)
2003-04-19use gid_t for gids not uid_tSimo Sorce1-1/+1
(This used to be commit dd8009bf599a6111440cd807dcc022039f19de15)
2003-04-19fixesSimo Sorce1-0/+2
fix debug, add "idmap" string to the list of classes fix idmap, check init failures, and enhance debugging fix idmap_tdb, _do_ init uid and gid low,high states (too bad I missed that before) fix smbd/uid.c, use gid_t for gids and uid_t for uids (This used to be commit bc95de4ebb014080bc70173e7df94c672cea8df6)
2003-04-16Expand this magic number into the #defines it is made up of.Andrew Bartlett1-1/+1
(This used to be commit 3d2d19b91036b6b11a33996d4b8bf266bad32737)
2003-04-16Put this comment in a better place...Andrew Bartlett1-3/+3
(This used to be commit 3fdddade0f6d463270c26623a654494ebe3e09bd)
2003-04-16Store the type of 'sec channel' that we establish to the DC. If we are aAndrew Bartlett2-65/+36
workstation, we have to use the workstation type, if we have a BDC account, we must use the BDC type - even if we are pretending to be a workstation at the moment. Also actually store and retreive the last change time, so we can do periodic password changes again (for RPC at least). And finally, a couple of minor fixes to 'net'. Andrew Bartlett (This used to be commit 6e6b7b79edae3efd0197651e9a8ce6775c001cf2)
2003-04-12strncat get sometimes optimized to strcat by glibc and that triggers ourSimo Sorce1-4/+3
"don't use strcat" define reworked to snprintf (This used to be commit c37467651becedf3e6b142b53d6675e973970249)
2003-04-11* We must return 0x2 as the majorversion for nt4 to upload driversGerald Carter1-10/+15
* fix bug found by clobber_region() (This used to be commit ad2765bb5e0c1c4d8f12583e49df5b1bc7ffc389)
2003-04-11cleanup lanman printing= for win98; device type is LPT1:; patch by Steve L.Gerald Carter2-4/+4
(This used to be commit beedde03fcdd37b567661d96d97efaac640601bd)
2003-04-11A new RPC pipe! The \pipe\echo named pipe is for testing large RPCTim Potter1-0/+1
requests and responses and is only compiled in when --enable-developer is passed to configure. It includes server and client side code for generating and responding to functions on this pipe. The functions are: - AddOne: add one to the uint32 argument and return ig - EchoData: echo back a variable sized char array to the caller - SourceData: request a variable sized char array - SinkData: send a variable sized char array and throw it away There's a win32 implementation of the client and server in the junkcode CVS repository in the rpcecho-win32 subdirectory. (This used to be commit 4ccd34ef836eba05f81dc2da73fd7cfaac201798)
2003-04-09Fix from Steve Langasek <vorlon@netexpress.net> for non-RPC printing.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 186d53cbc1642ee5dd1daf0277dc08de621eede2)
2003-04-07Remove duplicate "tallocdump" message from tdb messaging system. TheTim Potter1-23/+0
same functionality exists as "pool-usage". Move initialisation of this and dmalloc messages inside message_init(). (This used to be commit af6ecafcbbf65dbedc49b3a86da39ce608bdadac)
2003-04-04Re-fix regression noticed by Tom Schaefer <tom@umsl.edu> due toJeremy Allison2-0/+5
correct delete on close semantics change. Jeremy. (This used to be commit 55d0ab0e307e16389cc470fa04a9d7b44043a4da)
2003-04-04Fix for very subtle POSIX lock interaction race condition found byJeremy Allison1-6/+6
Herb. We need to unlock POSIX locks before notifying pending lock processes. Jeremy. (This used to be commit eb861e9d0fd79bbd9401ced8e55fe603c2aa7c1e)
2003-04-02Add staticJelmer Vernooij1-1/+1
(This used to be commit 674d0ca5d84b64be395fbeff773c8dd8aeb1518c)
2003-04-02THE Idmap patch :-)Simo Sorce2-2/+123
includes a --with-idmap=no switch to disable idmap usage if you find problems. cosmetic fixes and param aliases to separate winbind from idamp roles. A temporarily remote idmap winbind compatibility backend. As I have time I will further change code to not call directly winbind (partly done but not tested) and a specilized module will be built in place for the current glue hack. The patch has been tested locally in my limited time, the patch is simple and clear and should not reserve problems, if any just disable it. As usual, comments and fisex are welcome :-) Simo. (This used to be commit 02781320476ed1b7ee5d943fa36f9a66ab67f208)
2003-04-01changed the order of checking whether a SID is a UID or a GID in posixAndrew Tridgell1-3/+3
acls. This is needed because sid_to_uid always claims that the sid is a user, due ot a change I made some months back. This change was suggested by Chere Zhou, but is really an interim measure. Chere is looking at a longer term solution. (This used to be commit b3edfa91964d2edfd1692fa58f98de00405e14c4)
2003-03-31Fix vfs to work with P_LIST-ed lp_vfsobj() -- the traversal is reversed. ↵Alexander Bokovoy1-3/+5
Based on patch from Metze (This used to be commit 2a86ef78282d33e16007d50095614713189ce4b5)
2003-03-31- Support absolute paths in vfs and charset modulesJelmer Vernooij2-13/+20
- Fix typo in Makefile.in - Fix compatibility with older vfs modules (from patch by metze) - Build some modules shared by default and some static (and fall back to static when dlopen() is not available) (This used to be commit aa36f462d95f8a3a3a81a89c210b98a6f9fd295f)
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)