summaryrefslogtreecommitdiffstats
path: root/source/smbd/negprot.c
Commit message (Collapse)AuthorAgeFilesLines
* sync with SAMBA_2_2 for rc4Gerald Carter2002-10-151-1/+1
|
* Start of merge to 2_2_RELEASE branch for release.Jeremy Allison2002-04-301-12/+6
| | | | Jeremy.
* Move over to RELEASE branch.Jeremy Allison2002-02-011-3/+2
| | | | Jeremy.
* Syncup getting ready for release.Jeremy Allison2001-07-061-0/+2
| | | | Jeremy.
* added 'lanman auth' & 'min protocol' code. See smb.conf(5)Gerald Carter2001-03-081-1/+2
| | | | for details
* But Doctor, I had to kill the patient in order to save him....Jeremy Allison2001-02-211-4/+0
| | | | | | | | | | | | | | | | | | | This will probably break 2.2 for a while. Do *NOT* checkout unless you like core dumps. This is the first merge of the TNG SAMR code into 2.2. It will eventually give us a wonderful PDC, but maybe painful in the short term. It had to be done however, and this touches almost every file (mostly just removing the OLD_NT_DOMAIN) stuff. I removed some SAMR functionality from rpcclient that would no longer compile. Also changed fstring to 256 bytes to better match an NT pathname. Jeremy.
* Ok - fixed a bug in our levelII oplock code. We need to break a level II onJeremy Allison2000-11-161-1/+1
| | | | | | | | | a byte range lock (write lock only, but Win2k breaks on read lock also so I do the same) - if you think about why, this is obvious. Also fixed our client code to do level II oplocks, if requested, and fixed the code where we would assume the client wanted level II if it advertised itself as being level II capable - it may not want that. Jeremy.
* add remaining profile statsHerb Lewis2000-10-101-11/+2
|
* add some profile stats - all under #ifdef WITH_PROFILEHerb Lewis2000-10-051-0/+11
| | | | still more to come but I wanted to commit so it didn't get lost
* Changed MS_DFS to WITH_MSDFS throughout.Shirish Kalele2000-05-261-1/+1
| | | | Fixed trans2 calls on IPC$ to let dfs referral calls through.
* 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
* Added sys_fork() and sys_getpid() functions to stop the overheadJeremy Allison2000-05-021-3/+3
| | | | | of doing a system call every time we want to just get our pid. Jeremy.
* include/smb.h:Jeremy Allison2000-03-131-1/+4
| | | | | | | | smbd/negprot.c: smbd/reply.c: Fixes to recognise Win2k. param/loadparm.c: Put debug timestamp parameter back to correct default. smbd/nttrans.c: Fix to detect Win2k unicode bug with transact create. Jeremy.
* dded Microsoft Dfs services.Shirish Kalele2000-03-081-0/+5
| | | | | | | | | | | | | | | | | * added a new msdfs/ directory under source/ * added msdfs sources under this directory. * modified configure setup to add a --with-msdfs configure time option Modified Files: Makefile.in acconfig.h configure configure.in include/config.h.in include/includes.h include/proto.h include/smb.h include/smb_macros.h param/loadparm.c smbd/negprot.c smbd/nttrans.c smbd/process.c smbd/reply.c smbd/server.c smbd/trans2.c Added Files: include/msdfs.h msdfs/README msdfs/msdfs.c msdfs/msdfs_tdb.c msdfs/parse_dfs_map.c ----------------------------------------------------------------------
* smbd/mangle.cJeremy Allison2000-01-081-1/+1
| | | | | | smbd/negprot.c: Tidyup of static initializers. smbd/server.c: Fix -l option. Jeremy.
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-49/+46
|
* reading in smb server domain name from SMBnegprot responseLuke Leighton1999-09-161-3/+4
|
* Jean-Francois Micouleau's rewritten DFS patch, originally written byLuke Leighton1999-07-121-0/+7
| | | | | Nigel Williams. despite the data format being *exactly* the same as NT's, this still doesn't work yet. more work needed.
* added server ntlmv2 false/auto/true parameter, defaults to off.Luke Leighton1999-05-011-13/+20
|
* gto ri of a bunch more #ifdef LARGE_SMB_OFF_T checks by introducing aAndrew Tridgell1998-09-181-5/+2
| | | | | | | SOFF_T() macro for setting an SMB_OFF_T variable also limited mmap based reads to MAX_MMAP_SIZE. We really can't mmap 2^50 bytes due to virtual address space problems.
* configure configure.in: Added checks for statvfs64. Last bit of 64 bit ↵Jeremy Allison1998-09-171-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | widening (I hope :-). include/config.h.in: Added #undef STAT_STATVFS64. include/includes.h: Added SMB_STRUCT_STATVFS type, Changed SMB_BIG_INTEGER to SMB_BIG_UINT and SMB_BIG_INT types. include/smb.h: Added flag defines from CIFS spec. lib/debug.c: Fixed one more mode_t issue. lib/system.c: Added sys_statvfs wrapper. lib/util.c: Changed trim_string to use size_t. param/loadparm.c: Moved "blocking locks" into locking section. Alphabetised locking options. Question - shuld we do this for all options ? passdb/ldap.c: Changed SMB_BIG_INTEGER to SMB_BIG_UINT. passdb/nispass.c: Changed SMB_BIG_INTEGER to SMB_BIG_UINT. passdb/smbpass.c: Changed SMB_BIG_INTEGER to SMB_BIG_UINT. smbd/dfree.c: Changed to use 64 bit types if available. Moved to use unsigned types. smbd/dosmode.c: Fixed one more mode_t issue. smbd/negprot.c: Changed literals to be FLAG_ #defines. smbd/nttrans.c: Removed dead code. smbd/open.c: Changed disk_free call. smbd/process.c: Changed literals to be FLAG_ #defines. smbd/reply.c: Changed disk_free call. smbd/trans2.c: Fixed but in SMB_QUERY_FS_VOLUME_INFO call. Was using UNICODE - should use ascii. tests/summary.c: Added STAT_STATVFS64 check. Jeremy.
* Ok - this is the 'expose 64 bit to the clients' checkin.Jeremy Allison1998-09-111-2/+6
| | | | | | | | | | I have tested it by creating a 'holey' 20GB file - checking that it shows up correctl in the NT file view (it does) and am busily copying it to NULL: on the NT box. All good so far.... :-). Also implemented NT 'delete on close' semantics. Jeremy.
* Improved stat cache code by uppercasing any search name that gets added toJeremy Allison1998-09-101-2/+2
| | | | | | | it if we're in case insensitive mode, and then doing a memcmp rather than a StrnCaseCmp (which is *horribly* slow) on every lookup. Fixed bug with refusing NT SMB's (use *brackets* where needed :-). Jeremy.
* Bugfix for leak in reference counted file struct.Jeremy Allison1998-09-051-1/+2
| | | | | Added "nt smb support" parameter to allow NT SMB's to be turned off. Jeremy.
* now that we have no global arrays we can start to split up the monsterAndrew Tridgell1998-08-171-0/+415
server.c without breaking things. this splits off netprot.c and fileio.c for negprot and read/write/seek handling respectively.