summaryrefslogtreecommitdiff
path: root/source3/include/nterr.h
AgeCommit message (Collapse)AuthorFilesLines
2000-06-12totally rewrote the async signal, notification and oplock notificationAndrew Tridgell1-1/+1
handling in Samba. This was needed due to several limitations and races in the previous code - as a side effect the new code is much cleaner :) in summary: - changed sys_select() to avoid a signal/select race condition. It is a rare race but once we have signals doing notification and oplocks it is important. - changed our main processing loop to take advantage of the new sys_select semantics - split the notify code into implementaion dependent and general parts. Added the following structure that defines an implementation: struct cnotify_fns { void * (*register_notify)(connection_struct *conn, char *path, uint32 flags); BOOL (*check_notify)(connection_struct *conn, uint16 vuid, char *path, uint32 flags, void *data, time_t t); void (*remove_notify)(void *data); }; then I wrote two implementations, one using hash/poll (like our old code) and the other using the new Linux kernel change notify. It should be easy to add other change notify implementations by creating a sructure of the above type. - fixed a bug in change notify where we were returning the wrong error code. - rewrote the core change notify code to be much simpler - moved to real-time signals for leases and change notify Amazingly, it all seems to work. I was very surprised! (This used to be commit 44766c39e0027c762bee8b33b12c621c109a3267)
2000-05-10more mergingAndrew Tridgell1-505/+509
it is now at the stage that winbindd can compile in the head branch, but not link (This used to be commit d178c00aae77710ae6ff20a7f54a30e3bd8232bb)
2000-03-10getprinter level 0: was to short, found most of the fields, undocumented,Jean-François Micouleau1-11/+0
undecoded, nothing in MSDN, but now it works :-) cleanup of error codes. fixed some dfs declarations function. J.F. (This used to be commit 87da4404aba29a2ebd999886e4c06958c96d3e05)
2000-03-07fixed enumprinterdata.Jean-François Micouleau1-1/+8
J.F. (This used to be commit 2b4f09e7bbcbf1bf835f299e9f6bf89b32a7f03f)
2000-02-07spoolss include definitionsJean-François Micouleau1-0/+11
J.F. (This used to be commit 853a1a3027dde7608027dc78f6e15789d5fc9152)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1-10/+1
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1999-11-09debugging rpcclient spoolenum and spooljobs commands. oh, did i forgetLuke Leighton1-0/+4
to mention, there's a spooljobs <printer name> command, and it uses command-line completion? prints out NT print jobs really nicely, too. (This used to be commit e6e5caf16c8d120f0c11fa63061f2786098e3357)
1999-10-26cut/paste code from smbclient for wait_keyboard() function. oops.Luke Leighton1-2/+5
(This used to be commit c25560ba43bd1b53d79456cbceab954aa3bb1dac)
1999-10-25one of those wonderful moments when running against a different MSRPCLuke Leighton1-1/+1
implementation (NT5) when you discover that your code is trash. samr_enum_dom_users(), samr_enum_dom_aliases() and samr_enum_dom_groups() all take a HANDLE for multiple-call enumeration purposes. (This used to be commit 19490d8b4fb8a103f3df4e6104f6f22937b0c518)
1999-04-23Adding scheduler control pipe (\atsvc), client-side routines, and rpcclientMatthew Chapman1-0/+2
command "at" (compatible with NT's "at" command - see rpcclient commit) - useful for remote NT administration. (This used to be commit cf30a472f702d7b50c3a85e2cf2f55b46a2bd452)
1998-08-11Makefile.in: Added CHECK target back in (at Herb's request). AddedJeremy Allison1-0/+1
manpath in (although we don't currently use it). client/client.c: Added John Blair's fixes for "put -". include/nterr.h: Added NT_STATUS_NOTIFY_ENUM_DIR error code. smbd/nttrans.c: Added in devious fix for one-shot NT change notify bug. Jeremy. (This used to be commit 4ac3091e57e9ab234b3c051333ba521a92defa99)
1998-03-11"For I have laboured mightily on Luke's code, and hath brokenJeremy Allison1-0/+1
all I saw" - the book of Jeremy, chapter 1 :-). So here is the mega-merge of the NTDOM branch server code. It doesn't include the new client side pieces, we'll look at that later. This should give the same functionality, server wise, as the NTDOM branch does, only merged into the main branch. Any fixes to domain controler functionality should be added to the main branch, not the NTDOM branch. This code compiles without warnings on gcc2.8, but will need further testing before we are sure all the working functionality of the NTDOM server branch has been correctly carried over. I hereby declare the server side of the NTDOM branch dead (and all who sail in her :-). Jeremy. (This used to be commit 118ba4d77a33248e762a2cf843fb7cbc906ee6e7)
1997-10-04This is all the NT error codes less than 1000. I extracted them usingAndrew Tridgell1-0/+505
smbclient+netmon If we want to start supporting NT error codes in Samba (which may be forced upon us by buggy apps) then this is a good start. (This used to be commit 20bfde40b20f43cf8c6714ab9fb5a3fd17bc1575)