summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2003-05-15Fix from Steve G <linux_4ever@yahoo.com>. Ensure sigemptyset is called onJeremy Allison2-5/+7
the sa_mask to prevent valgrind complaints. Jeremy. (This used to be commit ef2d5a9c0c11a4e6d65bdebad5d9ea44dd000a68)
2003-05-14Fix winbindd coredump. Remember to set a ** pointer to null beforeJeremy Allison1-0/+1
searching and not finding otherwise we return a valid looking pointer that was whatever crap was on the stack. Jeremy. (This used to be commit b6e78900175d4362f3a4d0216aa635931a0c11e9)
2003-05-14spellingTim Potter4-5/+5
(This used to be commit 249a6974702d050644d6d61f33f0034ce2a689ee)
2003-05-12fixing typos in debug statementsGerald Carter1-1/+1
(This used to be commit bd660f45df4df686f58a181f002ca1d88e7c1015)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew Bartlett.Jelmer Vernooij1-7/+0
(This used to be commit d31509fe88da8727521586dced1da2c73bfee2bc)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functionsJelmer Vernooij1-0/+7
(This used to be commit 367a5cad1edf6a49783806d5a8b59a62d8856706)
2003-05-10Optimisation. We don't need to do 2 strlen's when we're setting the statJeremy Allison1-9/+0
struct in the correct place. Jeremy. (This used to be commit 98729bc9a60f77dbc107c42f4f7a60ed96e2102f)
2003-05-09Fix nasty bug pointed out by samba-technical poster. If name is mangledJeremy Allison1-1/+12
then we weren't always correctly detecting that it had a valid stat struct and so might now return a 'file existed'. Finally realized this when installing the W2K resource kit as a test case. Jeremy. (This used to be commit a0688316ce0a9bad0b24cbb495f6e0a112227b50)
2003-05-07SMB_QUERY_FILE_ALT_NAME_INFO and SMB_FILE_ALTERNATE_NAME_INFORMATIONJeremy Allison1-9/+1
are identical - noticed by "Dr. Tilo Levante" <tilo@levante.de>. Jeremy. (This used to be commit a635b6406ab091b4207b148d7a25099205008567)
2003-05-07Make fchown, fchmod conditional for systems that don't have them.Jeremy Allison1-5/+16
Jeremy. (This used to be commit 4fe84f61735ee2328e01d2ae864b0e6c7729f51b)
2003-05-06Add metze's exit and idle event patchJelmer Vernooij2-0/+10
(This used to be commit e599eba851db40816c684da2b7b1be4b978166e0)
2003-05-01Fix uninitialized blobs reported by Luke Howard.Jeremy Allison1-0/+6
Jeremy. (This used to be commit e954ca2ce8ec6b36794585c3bc948140cf9e7947)
2003-05-01Fix for bugid 51 from Dragan Krnic.Jeremy Allison1-5/+5
Jeremy. (This used to be commit aeba1fcab2fa61859fc1052af4752512a33bd801)
2003-05-01proper wellknown sids initialization at startupSimo Sorce1-1/+4
(This used to be commit 568feee8977ee1be210344c8ab1896512894cba2)
2003-05-01*id_to_*id call reshape to return NTSTATUS errorsSimo Sorce2-5/+5
plus internal fixes 1st stage (This used to be commit 6d036761e565bc93964bb3c939d5b7d78d5778a3)
2003-05-01Fix disk quotas support on HP/UX (patch by David Nixon)Jelmer Vernooij1-1/+1
(This used to be commit 908d839b77a03ac07b00b43a3000c8ea53dd5e35)
2003-05-01Use ints for the version numbers in the smb_register_*() functions (patch by ↵Jelmer Vernooij1-1/+1
metze) (This used to be commit 3895571eeef81db7ce4c71e85b0be5c235b16efd)
2003-04-29This is a nice rewrite:Simo Sorce4-21/+15
SAM_ACCOUNT does not have anymore uid and gid fields all the code that used them has been fixed to use the proper idmap calls fix to idmap_tdb for first time idmap.tdb initialization. auth_serversupplied_info structure has now an uid and gid field few other fixes to make the system behave correctly with idmap tested only with tdbsam, but smbpasswd and nisplus should be ok have not tested ldap ! (This used to be commit 6a6f6032467e55aa9b76390e035623976477ba42)
2003-04-29add version back to lanman string in sessetup replyGerald Carter1-1/+5
(This used to be commit 4ab1909378695383e7e5bd20898392e6d2166969)
2003-04-29consolidate idmap code in one placeSimo Sorce1-349/+0
(This used to be commit f7041ec5d74475013c839b5ea9ecac10322e5e65)
2003-04-29ok next_rid out as well local_*id_to*id functionsSimo Sorce1-229/+42
reverted user making function, did not pass the abartlet test :-) idmap is now fully integrated, we only miss user creation and removal of uid and gid from SAM_ACCOUNT (This used to be commit 67af8c26586c4829166795813a373bf9be27b753)
2003-04-28Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij1-11/+12
function. Patch by metze with some minor modifications. (This used to be commit f4576757d1d52a8f1b96894c869bb76450003fd1)
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)