summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-06-20Fixes for IRIX kernel oplocks and systems that don't have nss.hJeremy Allison5-3/+16
Jeremy. (This used to be commit 711f15ac230092bac000e63f99e8dfaa4a644847)
2000-06-19Paranoia changes to ensure that anything touched by a signal handlerJeremy Allison3-18/+19
and the main code is declared as VOLATILE SIG_ATOMIC_T. Jeremy. (This used to be commit b737c784e34b0e1af014cb828ef37d5b6d73c3e2)
2000-06-16reverted lukes changes in param/Andrew Tridgell2-0/+139
apparently they were not deliberate, they were probably a result of Luke accidentally copying a CVS directory from one spot to another in error (This used to be commit 2d35d0cf1d152438c20648d863f5993e672337dc)
2000-06-16more update.Luke Leighton2-139/+0
(This used to be commit ac91ef30932e3e472a16c4c756f6dfddc1b18487)
2000-06-16Forgot pipes_struct conversion for api_samr_enum_dom_aliases()Tim Potter1-1/+3
(This used to be commit 66372765e7c3f85240d54894547a150351426d5f)
2000-06-16Whoops - dodgy make proto.Tim Potter1-1/+1
(This used to be commit 87cd080441a924afd57d03e86c926a60c4416967)
2000-06-16make protoTim Potter1-403/+416
(This used to be commit b3f2946d3958ef92ad7d30a52d00bcfd50229388)
2000-06-16Pass the vuid from the connection_struct to the printing back end functions.Tim Potter1-1/+1
(This used to be commit a8975d6e226e7271f60d5487243301db3c220d87)
2000-06-16Changed function prototype for pipe api functions to take a pipes_structTim Potter1-1/+1
instead of two prs_data pointers. (This used to be commit 73e4466fc30fee149f51a5aa45c26beb783306c5)
2000-06-16Added some permission constants that are set for NT printer securityTim Potter1-0/+7
descriptors. These seem to be made up of the standard and generic access rights rather than object specific access rights. (This used to be commit 07099fd4464eca2b5f061ef25309f41b8ab5e00b)
2000-06-16Call print_access_check() function from printing back end.Tim Potter1-15/+45
(This used to be commit 979e083d3dd844b98b03108e636dfe11ae157fb0)
2000-06-16Added print_access_check() function for checking printer securityTim Potter1-0/+71
descriptors. Currently returns True (plus debug output) which should not affect the behaviour of nt or lanman printing. (This used to be commit a9b4710e649e887e07d68c1bf826e00c9811e4ee)
2000-06-16Pass the vuid from the connection_struct to the printing back end functions.Tim Potter1-6/+6
(This used to be commit 6120d03200ed6d89640332aedc75172bdf77e2a0)
2000-06-16Simplified server pipe implementation by changing arguments passed downTim Potter1-14/+17
through to the individual pipe api calls. Instead of passing two prs_struct pointers, we now pass the pipes_struct pointer which contains the former information as well as other useful stuff like the vuid. Pass the vuid from the pipes_struct down to the lower level spoolss functions to perform security checks. ZERO_STRUCTP the info_2 structure before filling it. Free the device mode field before freeing the info_2 to avoid a memory leak. Fixed uninitialised pointer bug in fill_job_info_2(). (This used to be commit a9547b7e3a068941cda5619f05a64e798584535a)
2000-06-16Simplified server pipe implementation by changing arguments passed downTim Potter1-40/+108
through to the individual pipe api calls. Instead of passing two prs_struct pointers, we now pass the pipes_struct pointer which contains the former information as well as other useful stuff like the vuid. Pass the vuid from the pipes_struct down to the lower level spoolss functions to perform security checks. (This used to be commit f6436aacd631abeda60b87d671993f9e426cc684)
2000-06-16Simplified server pipe implementation by changing arguments passed downTim Potter1-18/+29
through to the individual pipe api calls. Instead of passing two prs_struct pointers, we now pass the pipes_struct pointer which contains the former information as well as other useful stuff like the vuid. Removed dependency on extern current_user and fetch the vuid from the pipes_struct. (This used to be commit 1b06451fff11f54be7def4a427a1528bbb52f3d7)
2000-06-16Simplified server pipe implementation by changing arguments passed downTim Potter7-170/+259
through to the individual pipe api calls. Instead of passing two prs_struct pointers, we now pass the pipes_struct pointer which contains the former information as well as other useful stuff like the vuid. (This used to be commit 96addba216bad2189120d78f5531d5caa6f37880)
2000-06-15support both read and write locks inside the tdbAndrew Tridgell1-1/+6
(This used to be commit d0a1f96e0f699f8e3ceb0e0d826423cd643803e7)
2000-06-15- use read locks when possibleAndrew Tridgell1-42/+44
- don't use as many locks on a store (This used to be commit ee12b10d21022287baf4432d1df743c4b28223b2)
2000-06-15use the right MMAP flagAndrew Tridgell1-1/+1
(This used to be commit a2f5977ac34d02cd64acd0022cb5bc065eab713f)
2000-06-15open files with O_NONBLOCK when available. This is necessary toAndrew Tridgell1-1/+6
prevent possible deadlocks with kernel leases and harmless when kernel leases are not used. basically we don't ever want smbd to block (This used to be commit 9fd67b94a7e43c9dcbe098940b88879ae8743c00)
2000-06-15added support for kernel level share modes. These are a (small) hack,Andrew Tridgell6-132/+233
I suspect we will either get rid of them or do them properly at some stage. (This used to be commit fabe1f350e1fc58db33d22cebd38652950697ced)
2000-06-15add -d debuglevel optionAndrew Tridgell1-1/+5
(This used to be commit 448f21325f8ff53f3ff5e45c22e07f7164529bc9)
2000-06-15Removed some debugs.Tim Potter1-12/+0
(This used to be commit 6faa963b232b4c4d883c1b346c73b2f2b6da6370)
2000-06-14Added nsswitch/common.o to SMBD_OBJ1Tim Potter1-1/+1
(This used to be commit 6c743427dfa2fbd6f3ab47991165db9e705eba20)
2000-06-14Changed server side lsa_lookup_sids function to look up SIDs that we areTim Potter1-28/+74
not authoritative for using winbindd. (This used to be commit a39cdffb141a8e4188b00dfb6eb3317f134cddda)
2000-06-14#include nsswitch/winbind_nss.hTim Potter1-0/+2
(This used to be commit ce40ba9fba62d4debc43ab53b8564fc24d1f9e3b)
2000-06-14Merge from TNG.Tim Potter2-55/+157
(This used to be commit e5cb97dda89fe23612b75861232591e4831733e0)
2000-06-14Merged parse_domain_user() from TNG.Tim Potter1-0/+20
(This used to be commit f64ac9d9068901862290f7b25874156d6f0d4d73)
2000-06-14allow the notify implementation to choose the select timeout changeAndrew Tridgell7-17/+21
(This used to be commit b1441d9622609af5ef598c5e1e1f5af438dc0731)
2000-06-14fixed autoconf test for kernel change notify supportAndrew Tridgell3-131/+203
(This used to be commit 92d0382c9e1d6d31e6047ca3d78523a3204d36f8)
2000-06-14ZERO_STRUCT() of info3 structure before using it.Tim Potter1-0/+2
(This used to be commit efe7f818c927a925f2dee1ef4f6040c137e0c84e)
2000-06-13If I use nmblookup to search for node ZOOB#1B and there is no such nameChristopher R. Hertel1-4/+6
registered within the search space, nmblookup would report name_query failed to find name ZOOB I've changed it to report any non-zero type, so the above message becomes name_query failed to find name ZOOB#1B If the query is for ZOOB or even ZOOB#00 then the old style error message is given. Chris -)----- (This used to be commit 5ecf0c61718afbc7106e853d327428bd72f77690)
2000-06-13Removed a patch that Andrew had added because 'insure' was incorrectlyChristopher R. Hertel1-9/+0
reporting a memory leak in the cache module. I've modified the cache code to prevent insure getting confused, so the patch can now be removed. (This used to be commit 50599b0fa2b78109e3bd2cf50007dc69c4059955)
2000-06-13proto updateAndrew Tridgell1-1/+7
(This used to be commit 7d0f9258589c2856dbc54a10ee35c26201d16f41)
2000-06-13argv parsing fixesAndrew Tridgell1-2/+2
(This used to be commit 502751cc62df7395683dc45d15887535baa5656b)
2000-06-13allow for lots of connections per serverAndrew Tridgell1-75/+76
(This used to be commit 4bbc218922d2b1f40d50a611a389c9956851050f)
2000-06-13allow posix locking database to be opened read-only (for smbstatus)Andrew Tridgell2-11/+11
(This used to be commit b9d78738bb30da3d989dfacc95cfde529f2afca5)
2000-06-13add some bracketsAndrew Tridgell1-1/+1
(This used to be commit bf67721ef5cc6d5ad1762fca320ef612025b4593)
2000-06-13added -L switch to tell smbtorture to use oplocksAndrew Tridgell2-4/+7
(This used to be commit 73033d0803317c7de017cac7f7669f4afb08e7c0)
2000-06-13use DN_ATTRIB kernel change notify attributeAndrew Tridgell1-3/+7
(This used to be commit 9f542484d11b7b908d3170b702b3bad82ba71525)
2000-06-13fixed the change notify bit definitionsAndrew Tridgell1-1/+2
(This used to be commit 17d3c3a14885a42889d69459e7b3af7040a45499)
2000-06-13always use the DN_CREATE mask (NT expects file creation always toAndrew Tridgell1-8/+3
cause a notify) (This used to be commit 20a06b7fb7c855e874b79b86251d597e7797b3c0)
2000-06-13forgot to checkin select.cAndrew Tridgell1-0/+107
(This used to be commit 719bc2f130393a55058f5c45ca6fbd30a78de2dc)
2000-06-13Created manpage for wbinfo program.Tim Potter6-101/+501
Misc documentation updates for winbindd manpage. (This used to be commit 1f225fddd93d8569d9836310e2f0a56be7f4250e)
2000-06-12enable the Linux change notify code and change some notify debug codeAndrew Tridgell4-16/+65
(This used to be commit c6be511fcc1be79619a0184f03d4c33dbfe12f04)
2000-06-12totally rewrote the async signal, notification and oplock notificationAndrew Tridgell17-584/+698
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-06-12fixed a bug in BlockSignals() for systems that don't haveAndrew Tridgell1-4/+2
sigprocmask() (This used to be commit abf06fa90ba49f6a1ec5458d056f8b8cf20b6512)
2000-06-12fixed comments at top of moduleAndrew Tridgell1-2/+3
(This used to be commit 02577ab7d275dfb49e104f3358cb3caa66b3b09e)
2000-06-12split all the change notify code out into a separate moduleAndrew Tridgell4-409/+439
smbd/notify.c. All the data structures are now private to that module. this is in preparation for Linux kernel support for change notify (coming soon to a CVS tree near you) (This used to be commit 1bb0aad4f66dbfa2d0f767ea90f926affff20b17)