Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixes for Win2k "add printer driver" INFO_LEVEL_6 was wrong, also some | Jeremy Allison | 2000-06-20 | 5 | -31/+36 | |
| | | | | | memory fixes. Jeremy. | |||||
* | Fixes for IRIX kernel oplocks and systems that don't have nss.h | Jeremy Allison | 2000-06-20 | 5 | -3/+16 | |
| | | | | Jeremy. | |||||
* | Paranoia changes to ensure that anything touched by a signal handler | Jeremy Allison | 2000-06-19 | 3 | -18/+19 | |
| | | | | | and the main code is declared as VOLATILE SIG_ATOMIC_T. Jeremy. | |||||
* | reverted lukes changes in param/ | Andrew Tridgell | 2000-06-16 | 2 | -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 | |||||
* | more update. | Luke Leighton | 2000-06-16 | 2 | -139/+0 | |
| | ||||||
* | Forgot pipes_struct conversion for api_samr_enum_dom_aliases() | Tim Potter | 2000-06-16 | 1 | -1/+3 | |
| | ||||||
* | Whoops - dodgy make proto. | Tim Potter | 2000-06-16 | 1 | -1/+1 | |
| | ||||||
* | make proto | Tim Potter | 2000-06-16 | 1 | -403/+416 | |
| | ||||||
* | Pass the vuid from the connection_struct to the printing back end functions. | Tim Potter | 2000-06-16 | 1 | -1/+1 | |
| | ||||||
* | Changed function prototype for pipe api functions to take a pipes_struct | Tim Potter | 2000-06-16 | 1 | -1/+1 | |
| | | | | instead of two prs_data pointers. | |||||
* | Added some permission constants that are set for NT printer security | Tim Potter | 2000-06-16 | 1 | -0/+7 | |
| | | | | | descriptors. These seem to be made up of the standard and generic access rights rather than object specific access rights. | |||||
* | Call print_access_check() function from printing back end. | Tim Potter | 2000-06-16 | 1 | -15/+45 | |
| | ||||||
* | Added print_access_check() function for checking printer security | Tim Potter | 2000-06-16 | 1 | -0/+71 | |
| | | | | | descriptors. Currently returns True (plus debug output) which should not affect the behaviour of nt or lanman printing. | |||||
* | Pass the vuid from the connection_struct to the printing back end functions. | Tim Potter | 2000-06-16 | 1 | -6/+6 | |
| | ||||||
* | Simplified server pipe implementation by changing arguments passed down | Tim Potter | 2000-06-16 | 1 | -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(). | |||||
* | Simplified server pipe implementation by changing arguments passed down | Tim Potter | 2000-06-16 | 1 | -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. | |||||
* | Simplified server pipe implementation by changing arguments passed down | Tim Potter | 2000-06-16 | 1 | -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. | |||||
* | Simplified server pipe implementation by changing arguments passed down | Tim Potter | 2000-06-16 | 7 | -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. | |||||
* | support both read and write locks inside the tdb | Andrew Tridgell | 2000-06-15 | 1 | -1/+6 | |
| | ||||||
* | - use read locks when possible | Andrew Tridgell | 2000-06-15 | 1 | -42/+44 | |
| | | | | - don't use as many locks on a store | |||||
* | use the right MMAP flag | Andrew Tridgell | 2000-06-15 | 1 | -1/+1 | |
| | ||||||
* | open files with O_NONBLOCK when available. This is necessary to | Andrew Tridgell | 2000-06-15 | 1 | -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 | |||||
* | added support for kernel level share modes. These are a (small) hack, | Andrew Tridgell | 2000-06-15 | 6 | -132/+233 | |
| | | | | | I suspect we will either get rid of them or do them properly at some stage. | |||||
* | add -d debuglevel option | Andrew Tridgell | 2000-06-15 | 1 | -1/+5 | |
| | ||||||
* | Removed some debugs. | Tim Potter | 2000-06-15 | 1 | -12/+0 | |
| | ||||||
* | Added nsswitch/common.o to SMBD_OBJ1 | Tim Potter | 2000-06-14 | 1 | -1/+1 | |
| | ||||||
* | Changed server side lsa_lookup_sids function to look up SIDs that we are | Tim Potter | 2000-06-14 | 1 | -28/+74 | |
| | | | | not authoritative for using winbindd. | |||||
* | #include nsswitch/winbind_nss.h | Tim Potter | 2000-06-14 | 1 | -0/+2 | |
| | ||||||
* | Merge from TNG. | Tim Potter | 2000-06-14 | 2 | -55/+157 | |
| | ||||||
* | Merged parse_domain_user() from TNG. | Tim Potter | 2000-06-14 | 1 | -0/+20 | |
| | ||||||
* | allow the notify implementation to choose the select timeout change | Andrew Tridgell | 2000-06-14 | 7 | -17/+21 | |
| | ||||||
* | fixed autoconf test for kernel change notify support | Andrew Tridgell | 2000-06-14 | 3 | -131/+203 | |
| | ||||||
* | ZERO_STRUCT() of info3 structure before using it. | Tim Potter | 2000-06-14 | 1 | -0/+2 | |
| | ||||||
* | If I use nmblookup to search for node ZOOB#1B and there is no such name | Christopher R. Hertel | 2000-06-13 | 1 | -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 -)----- | |||||
* | Removed a patch that Andrew had added because 'insure' was incorrectly | Christopher R. Hertel | 2000-06-13 | 1 | -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. | |||||
* | proto update | Andrew Tridgell | 2000-06-13 | 1 | -1/+7 | |
| | ||||||
* | argv parsing fixes | Andrew Tridgell | 2000-06-13 | 1 | -2/+2 | |
| | ||||||
* | allow for lots of connections per server | Andrew Tridgell | 2000-06-13 | 1 | -75/+76 | |
| | ||||||
* | allow posix locking database to be opened read-only (for smbstatus) | Andrew Tridgell | 2000-06-13 | 2 | -11/+11 | |
| | ||||||
* | add some brackets | Andrew Tridgell | 2000-06-13 | 1 | -1/+1 | |
| | ||||||
* | added -L switch to tell smbtorture to use oplocks | Andrew Tridgell | 2000-06-13 | 2 | -4/+7 | |
| | ||||||
* | use DN_ATTRIB kernel change notify attribute | Andrew Tridgell | 2000-06-13 | 1 | -3/+7 | |
| | ||||||
* | fixed the change notify bit definitions | Andrew Tridgell | 2000-06-13 | 1 | -1/+2 | |
| | ||||||
* | always use the DN_CREATE mask (NT expects file creation always to | Andrew Tridgell | 2000-06-13 | 1 | -8/+3 | |
| | | | | cause a notify) | |||||
* | forgot to checkin select.c | Andrew Tridgell | 2000-06-13 | 1 | -0/+107 | |
| | ||||||
* | Created manpage for wbinfo program. | Tim Potter | 2000-06-13 | 6 | -101/+501 | |
| | | | | Misc documentation updates for winbindd manpage. | |||||
* | enable the Linux change notify code and change some notify debug code | Andrew Tridgell | 2000-06-12 | 4 | -16/+65 | |
| | ||||||
* | totally rewrote the async signal, notification and oplock notification | Andrew Tridgell | 2000-06-12 | 17 | -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! | |||||
* | fixed a bug in BlockSignals() for systems that don't have | Andrew Tridgell | 2000-06-12 | 1 | -4/+2 | |
| | | | | sigprocmask() | |||||
* | fixed comments at top of module | Andrew Tridgell | 2000-06-12 | 1 | -2/+3 | |
| |