summaryrefslogtreecommitdiffstats
path: root/source/smbd/conn.c
Commit message (Collapse)AuthorAgeFilesLines
* - Support absolute paths in vfs and charset modulesJelmer Vernooij2003-03-311-2/+2
| | | | | | | - 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)
* Don't try and dlsym or dlclose a NULL pointer.Andrew Bartlett2003-03-311-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
* Non-error connection numbers are always positiveAndrew Bartlett2003-02-011-2/+2
|
* Fix reference count bug where smbd's would not terminate with noJeremy Allison2003-01-171-1/+12
| | | | | open resources. Jeremy.
* Based orginally by work by Kai, this patch moves our NT_TOKEN generation intoAndrew Bartlett2002-08-201-2/+22
| | | | | | | | | | | | | | | our authenticaion code - removing some of the duplication from the current code. This also gets us *much* closer to supporting a real SAM backend, becouse the SAM can give us the right info then. This also changes our service.c code, so that we do a VUID (rather than uid) cache on the connection struct, and do full NT ACL/NT_TOKEN checks (or cached equivilant) on every packet, for the same r or rw mode the whole share was open for. Andrew Bartlett
* Fixed compiler warning.Tim Potter2002-08-011-1/+1
|
* OK!Simo Sorce2002-07-301-4/+19
| | | | | | | | Finally the cascaded VFS patch is in. Testing is very welcome, specially with layered multiple vfs modules. A big thank to Alexander Bokovoy for his work and patience :) Simo.
* Get the sco boxes compiling again - use the sys_ intefaces for all the dl*Andrew Bartlett2002-05-171-1/+1
| | | | funcitons.
* Removed HAVE_LIBDL from most places (except system.c). Added checks forJeremy Allison2002-03-271-2/+0
| | | | | | dlopen & friends into configure.in. This should help building on *BSD where dl*** calls are in libc. Jeremy
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-2/+0
|
* move to SAFE_FREE()Simo Sorce2001-09-171-3/+2
|
* added a close-share smbcontrol message that forcibly closes a share in smbd ↵Andrew Tridgell2001-06-201-0/+30
| | | | (to allow unmount)
* Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison2001-03-111-4/+0
| | | | | | RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy.
* Restructuring of vfs layer to include a "this" pointer - can be an fsp orJeremy Allison2000-10-061-11/+3
| | | | | | | | | | | | | | | a conn struct depending on the call. We need this to have a clean NT ACL call interface. This will break any existing VFS libraries (that's why this is pre-release code). Andrew gets credit for this one :-) :-). In addition - added Herb's WITH_PROFILE changes - Herb - please examine the changes I've made to the smbd/reply.c code you added. The original code was very ugly and I have replaced it with a START_PROFILE(x)/END_PROFILE(x) pair using the preprocessor. Please check this compiles ok with the --with-profile switch. Jeremy.
* Added an NT_USER_TOKEN structure that is copied/passed around associatedJeremy Allison2000-08-031-1/+4
| | | | | | | with the current user. This will allow se_access_check() to quickly do a SD check without having to translate uid/gid's to SIDs. Still needs work on pipe calls. Jeremy.
* Getting back to a compilable state (not there yet but close).Jeremy Allison2000-06-011-0/+3
| | | | | | | Added patches for random -> sys_random. Added set_effective_xxx patches for AFS code. Memory allocation changes in spoolss code. Jeremy.
* more merging voodooAndrew Tridgell2000-05-101-0/+4
| | | | | | this adds "#define OLD_NTDOMAIN 1" in lots of places. Don't panic - this isn't permanent, it should go after another few merge steps have been done
* fixed a vfs crash bugAndrew Tridgell2000-05-061-6/+4
|
* Moved deletion of vfs handle into smbd/conn.c as it was being done tooJeremy Allison2000-04-281-0/+15
| | | | | | | | | | soon in smbd/service.c (file operations were being done after the handle was closed). It looks cleaner in smbd/conn.c as it is part of the closing of a conn struct anyway. Jeremy.
* use string_set() instead of string_init()Andrew Tridgell2000-01-161-4/+4
| | | | bug pointed out by Richard
* some cleanups to use ZERO_STRUCT() and friendsAndrew Tridgell1998-09-051-2/+2
|
* added some optimisation for the case where the number of open files isAndrew Tridgell1998-08-171-17/+10
| | | | | | | | | very large. files.c now promotes a files_struct to the top of the list if it is used when it is more than 10 elements from the top. also moved common linked list code for the 5 sets of linked lists that I've created over the past few days into dlinklist.h (I've explained to Chris why I didn't use the ubiqx code)
* moved connection_struct handling code into smbd/conn.c and changed itAndrew Tridgell1998-08-171-0/+196
to a linked list with bitmap format.