summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21191: Add in the POSIX open/mkdir/unlink calls.Jeremy Allison8-137/+460
Move more error code returns to NTSTATUS. Client test code to follow... See if this passes the build-farm before I add it into 3.0.25. Jeremy. (This used to be commit 83dbbdff345fa9e427c9579183f4380004bf3dd7)
2007-10-10r21184: Dummy checkin to let the build farm pick up r21183 of Samba4Volker Lendecke1-2/+2
(This used to be commit 22c9511314d563e1f4480099d2990cb5fbb8546a)
2007-10-10r21181: Add some debug, fix the NT_STATUS_IO_TIMEOUT problems in the ↵Volker Lendecke1-1/+8
RAW-NOTIFY test in the build farm. Volker (This used to be commit 3dd1bf667f42bd03a7b7159b9c2ad9ccbd269130)
2007-10-10r21166: Ensure we return the correct "EROFS" error on a non-writableJeremy Allison1-1/+1
filesystem. Jeremy. (This used to be commit 1e25501e8e6c568ab8892e05e0a60197e267d2b5)
2007-10-10r21131: Some notify fixesVolker Lendecke2-1/+16
(This used to be commit b9300e1d5acba4e2537fcc6631d1ee4d53685f64)
2007-10-10r21128: Fix Vista connecting to Samba in share level security.Jeremy Allison2-0/+26
Vista sends the NTLMv2 blob by default in the tconX packet. Make sure we save off the workgroup the user was logged into on the client in the sessionsetupX and re-use it for the NTLMv2 calc. Jeremy. (This used to be commit 45dcf62960c2815c4d8e0c5f4a2d0af24df83290)
2007-10-10r21123: Make notify_fsp() static to notify.c.Volker Lendecke2-50/+71
Volker (This used to be commit d663b729c0b3f4265fa90a5df8534ad52b8f04eb)
2007-10-10r21121: Fix error message, based on RAW-NOTIFYVolker Lendecke1-1/+1
(This used to be commit 2d0a0a0b34fe4b8778d453ccfb5df6bc4534ef62)
2007-10-10r21120: Make notify a bit more robust: Delete the notify records if we ↵Volker Lendecke1-14/+34
figured out that the process holding it is not around anymore. Tridge, please review this and possibly also include it in 4. We can discuss the error message for "unknown target" from messaging_send, INVALID_HANDLE seemed to be most appropriate to me. Volker (This used to be commit 3b3ed7429e54b571375914e473eafc9888b5b204)
2007-10-10r21115: notify_internal.c needs to remove the table entry if a process has ↵Volker Lendecke1-5/+6
crashed. So it needs the specific error message. Make messages.c return NTSTATUS and specificially NT_STATUS_INVALID_HANDLE if sending to a non-existent process. Volker (This used to be commit 3f620d181da0c356c8ffbdb5b380ccab3645a972)
2007-10-10r21111: Reorganize the change notify params a bit. We now have the per-shareVolker Lendecke1-2/+1
parameters change notify = [yes]/no # do we do it at all kernel change notify = [yes]/no # enable/disable inotify Those who want FAM need to say change notify = yes vfs objects = notify_fam Volker (This used to be commit c3a44d8b9606fc516faceb69b8e87bfc8be312f3)
2007-10-10r21109: Send notify_fam.c through the VFS. Lets see how the build farm likes ↵Volker Lendecke1-283/+0
this. Volker (This used to be commit e57a6d4d6341a52de55860e7f97031a63810dbfa)
2007-10-10r21108: Send sys_notify_watch through the VFS, FAM is nextVolker Lendecke3-10/+9
(This used to be commit 603a96761391f36ae9a1c8777d3333ab5c02eb34)
2007-10-10r21107: Adapt notify_fam.c to the new infrastructure. This works in my test, ↵Volker Lendecke1-76/+90
but does not survive the raw-notify test just because famd is too slow. Events are coming in too late and are thus unsyncronized. Now to get that through the VFS. Volker (This used to be commit c84bf6c4f92ffe3728acef7de7cefbc08307ea39)
2007-10-10r21104: Rename struct watch_context to struct inotify_watch_contextVolker Lendecke1-8/+9
(This used to be commit 7ac79203f247ed4e41d1612ea82211db8c0cd644)
2007-10-10r21097: Ensure that when manipulating UNIX permissions viaJeremy Allison1-14/+57
the UNIX extensions we use the correct mask/force mask settings for new and existing files/directories. Bug reported by Juran David <ext-david.juran@nokia.com>. Jeremy. (This used to be commit d84af53666369c314f02faa09b708ec6f971fa28)
2007-10-10r21093: Remove the hash and dnotify backends. Disabling FAM for this ↵Volker Lendecke7-779/+6
checkin, I'm working on that right now. Volker (This used to be commit 01c9fb17281e99300b339d2cfc0acac7ca94843c)
2007-10-10r21092: Ok, that's the one that activates the Samba4 notify backend.Volker Lendecke4-46/+117
Now to clean up / fix lots of stuff. Volker (This used to be commit 9e7443fa1417c01be903b15073825dc4def78d99)
2007-10-10r21091: Fix the build without inotifyVolker Lendecke1-0/+4
(This used to be commit 686345b7ed727db7b1d9bc164208ecfb612837b6)
2007-10-10r21090: Add some helper routinesVolker Lendecke2-0/+49
(This used to be commit 985dde8ed0a7e6da5adf9c55654a4fd362b22acb)
2007-10-10r21089: Do notifies on renameVolker Lendecke1-0/+44
(This used to be commit 2aadb95a7e58777ee7ff024cc9e14f4334970d50)
2007-10-10r21087: Make the param list of notify_fname match notify_triggerVolker Lendecke4-16/+18
(This used to be commit defa28f9c3eda85a072b972fffd2d5de8bcf01f7)
2007-10-10r21084: Make the Samba4 files compile in Samba3, not activated yet.Volker Lendecke3-43/+74
Volker (This used to be commit c24854433a28cc066072a7107e29aa7fe2bec3c8)
2007-10-10r21083: Actually make it static... :-)Volker Lendecke1-1/+1
(This used to be commit 65f473d22bd8f3b04becfc0be369758898fdadb6)
2007-10-10r21082: Make canonicalize_path static to service.c -- we do have ↵Volker Lendecke4-59/+31
conn->connectpath (This used to be commit 06f58096e3785d0e2e0b9f2053d4975e44568e15)
2007-10-10r21080: ReformattingVolker Lendecke1-37/+68
(This used to be commit 705f866a78ec3f1169543bf82fb48ea6580160a9)
2007-10-10r21079: Minimizing diff: Adopt the Samba4 style ChangeNotify flags.Volker Lendecke4-9/+8
Volker (This used to be commit a3c1069b0c3da914e2ac7337fd9e924b1c811d39)
2007-10-10r21077: A step to minimize the diff later: This pulls in unmodified files ↵Volker Lendecke3-176/+987
from Samba4, not compiled yet. This way the modifications become visible later. ntvfs/common/notify.c -> smbd/notify_internal.c ntvfs/sysdep/inotify.c -> smbd/notify_inotify.c Naturally I had to disable notify again :-) Volker (This used to be commit cdb7d582b7397faa5926bff5783da7fef4209948)
2007-10-10r21073: Fix compiler warningVolker Lendecke1-2/+2
(This used to be commit 3977ee027f500c76bcfd3de34301d3959e9b6d2b)
2007-10-10r21067: Finished refactoring setqpathinfo to be readableJeremy Allison1-385/+430
and modifiable by other people. Now to look over the build farm and fix any breakage. Jeremy. (This used to be commit 997259f2479842ee888621ae2d5446797b3a7cb6)
2007-10-10r21064: The core of this patch isVolker Lendecke6-34/+55
void message_register(int msg_type, void (*fn)(int msg_type, struct process_id pid, - void *buf, size_t len)) + void *buf, size_t len, + void *private_data), + void *private_data) { struct dispatch_fns *dfn; So this adds a (so far unused) private pointer that is passed from message_register to the message handler. A prerequisite to implement a tiny samba4-API compatible wrapper around our messaging system. That itself is necessary for the Samba4 notify system. Yes, I know, I could import the whole Samba4 messaging system, but I want to do it step by step and I think getting notify in is more important in this step. Volker (This used to be commit c8ae60ed65dcce9660ee39c75488f2838cf9a28b)
2007-10-10r21063: All case statements are now NTSTATUS returningJeremy Allison2-175/+219
functions. Now to factor out the post processing and make all cases behave the same (no mixture of "early returns" and "break"s. Jeremy (This used to be commit 7e17e54cb729e34c935927fe69a43690c7f446ae)
2007-10-10r21062: Should fix the build plus make all refactoredJeremy Allison2-212/+191
functions return NTSTATUS. Jeremy. (This used to be commit 1f3c2b2abca6f1b3b59b73df038832e14106ff76)
2007-10-10r21061: Refactoring all the cases into NTSTATUS returns.Jeremy Allison1-69/+99
Jeremy. (This used to be commit da4ce69d4057c241cf7b4b6b0dd2bf711dd28a43)
2007-10-10r21060: Start refactoring out the non-return case statementsJeremy Allison1-35/+64
into functions. Jeremy. (This used to be commit 461db3c8ed045cac70eccf3200bf9163dbce5826)
2007-10-10r21058: Finish the easy refactoring - split out all the caseJeremy Allison1-158/+213
statements that do early return. Next will be case statements that need post processing, finally on to qfilepathinfo and do the same. Jeremy. (This used to be commit c961d5ce94a8bf2e2ffba645e522f0e2e372e351)
2007-10-10r21057: More refactoring into functions.Jeremy Allison2-65/+95
Jeremy. (This used to be commit fe2d7cb2dcd7c4d25d71f196aa557ce3e287bb4c)
2007-10-10r21054: More function refactoring.Jeremy Allison1-24/+52
Jeremy. (This used to be commit b6f43e9509cfedbf77c883cff793c469d6f86370)
2007-10-10r21053: More refactoring and fix the tests (set position infoJeremy Allison1-53/+93
on a pathname is ignored). Jeremy. (This used to be commit 3c7a876c909d3ba1fdf8f0e38735279a874ab245)
2007-10-10r21052: Refactoring.Jeremy Allison1-25/+43
Jeremy. (This used to be commit 9e31d7dba383c5c14f746537a631a4119dac0cd0)
2007-10-10r21051: More function refactoring... Added #if 0 forJeremy Allison1-34/+55
questionable practice (ignoring bad fsp on handle based call). Jeremy. (This used to be commit 5a8c9286c30319f2d2685d4ae29db37679b87e02)
2007-10-10r21050: Factor out SMB_SET_FILE_DISPOSITION_INFO. MyJeremy Allison1-23/+57
intent is to factor out all cases where we always return from the case. Jeremy. (This used to be commit 3eca52ba435954f338281f0a9d00b942bab28bab)
2007-10-10r21049: Start to refactor some of the setpath set codeJeremy Allison1-74/+73
into separate functions (tridge mailed me a fresh batch) to make it easier to add the POSIX open we'll need soon. Jeremy. (This used to be commit 63bd8759fefe6af80186ab15b470658614690b48)
2007-10-10r21035: Remove unneeded checks on incoming uid/gid forJeremy Allison1-15/+35
mknod (fifo) unix extensions code. Problem discovered by Anders Karlsson <anders.karlsson@redhat.com>. Jeremy. (This used to be commit ec6033ad7c8d343969e3dcf59232cb16d075364f)
2007-10-10r21002: Get rid of unused macros - merge change from 3_0_24Herb Lewis2-40/+40
(This used to be commit 9d23cf0cc4a8974bf0cf74b219a1138383083360)
2007-10-10r20982: Fix a segfault -- I wonder why my make test did not show this earlier...Volker Lendecke1-1/+2
(This used to be commit 4984b0627c84cc192868238c0936ca1a38628cd8)
2007-10-10r20966: Only attempt to reload the config file atfer the fork point if weJames Peach1-2/+6
are in daemon mode. If we are in inetd mode, there's really no point in rechecking it so soon. (This used to be commit 029d4bb5e3ea02a8a396adc3ca564a714bcdfdb8)
2007-10-10r20933: Fix the build without inotifyVolker Lendecke1-2/+2
(This used to be commit 4587d8097255c8b8fb8990bc8a13f8145986d29d)
2007-10-10r20932: This is the basic infrastructure for inotify support. This is far ↵Volker Lendecke2-0/+268
from being complete, in particular the various mask bits are not correctly supported yet. Checkin in now, I want to see how the build farm likes it. Volker (This used to be commit c9a5d011a91359b242f6c26f46e96ecea6a44a3b)
2007-10-10r20931: This changes the notify infrastructure from a polling-based to an ↵Volker Lendecke10-774/+472
event-driven based approach. The only remaining hook into the backend is now void *(*notify_add)(TALLOC_CTX *mem_ctx, struct event_context *event_ctx, files_struct *fsp, uint32 *filter); (Should we put this through the VFS, so that others can more easily plug in?) The trick here is that the backend can pick filter bits that the main smbd should not handle anymore. Thanks to tridge for this idea. The backend can notify the main smbd process via void notify_fsp(files_struct *fsp, uint32 action, char *name); The core patch is not big, what makes this more than 1800 lines are the individual backends that are considerably changed but can be reviewed one by one. Based on this I'll continue with inotify now. Volker (This used to be commit 9cd6a8a82792b7b6967141565d043b6337836a5d)