summaryrefslogtreecommitdiffstats
path: root/source/smbd
Commit message (Collapse)AuthorAgeFilesLines
...
* Start pushing the NTSTATUS stuff out to the wire for session setups.Andrew Bartlett2001-09-161-51/+27
| | | | | | | | | Rework the 'map to guest' code, its now possible to follow what its trying to do... Add an NT_STATUS_EQUAL(x,y) macro to make this stuff sane to look at. Andrew Bartlett
* use variables _before_ freeing them!Simo Sorce2001-09-151-3/+2
| | | | thanks to Andreas Moroder for spotting these two.
* Kill off the //server/share%user hack in share level security.Andrew Bartlett2001-09-153-93/+21
| | | | | | This should help make much of this code simpiler. Andrew Bartlett
* Oops... For reference, NTLMv2 passwords are > 24 chars in length, whileAndrew Bartlett2001-09-151-1/+1
| | | | NTLMv1 passwords (and old LM passwords) are exactly 24 in lenghth.
* This looked suspicious now we are attempting to to NTLMv2.Andrew Bartlett2001-09-151-2/+2
| | | | Andrew Bartlett
* Actually fill in the status for sainity checksAndrew Bartlett2001-09-151-1/+1
| | | | Andrew Bartlett
* Now that we always get back an NTSTATUS code actually pass it on to theAndrew Bartlett2001-09-142-17/+5
| | | | | | auth subsytem. Also kill off the (unneeded) wrapper fuction. Andrew Bartlett
* Some patches to authentication:Tim Potter2001-09-125-19/+29
| | | | | | | | | - the usersupplied_info now contains a smb_username (as it comes across on the wire) and a unix_username (after being passed through mapping functions) - when doing security={server,domain} use the smb_username, otherwise use the unix_username
* - enable MSDFS by default, there seems no reason not to have it enabledAndrew Tridgell2001-09-122-5/+1
| | | | | | | | by default in Samba 3.x - got rid of some unused parameters in Makefile.in - declare DEBUGLEVEL in debug.h rather than in each file
* Fix for second logic bug when handing oplock breaks and client messagesJeremy Allison2001-09-101-1/+11
| | | | | simultaneously. Jeremy.
* made a couple of local fns staticAndrew Tridgell2001-09-102-6/+12
|
* replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell2001-09-101-5/+0
| | | | | | | | | replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default.
* convert more code to using d_printfAndrew Tridgell2001-09-082-2/+2
|
* Don't fail if no owner/group owner set. Use existing owners.Jeremy Allison2001-09-071-3/+7
| | | | Jeremy.
* #ifdef out function when not used.Jeremy Allison2001-09-071-0/+2
| | | | Jeremy.
* Fix the 62bit locking onto 32 bit NFS mounts problem generically for HPUX.Jeremy Allison2001-09-061-0/+32
| | | | | Don. please check this out. Jeremy.
* got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2001-09-062-2/+2
|
* Removed unneeded set of delete on close in fsp->share_mode.Jeremy Allison2001-09-051-7/+0
| | | | Jeremy.
* Fix I think for the fcntl spinning problem. Re-prioritize soJeremy Allison2001-09-052-1/+21
| | | | | that oplock break messages get priority over incoming client messages. Jeremy.
* when you update the share mode in the db you must also updateAndrew Tridgell2001-09-051-0/+7
| | | | | | fsp->share_mode otherwise the check to see if the fsp share mode matches the one in the db will fail when you come to delete it, thus leaving us with a share mode on a file that isn't even open!
* fixed formatting to make the code vaguely readable. It's still a dogsAndrew Tridgell2001-09-051-142/+143
| | | | breakfast, but at least you can follow the indents
* merge profile data changes from 2.2Herb Lewis2001-09-051-6/+36
|
* added filename to error_packet()Andrew Tridgell2001-09-051-7/+8
|
* Fixes to ensure invalid vuids cannot stop oplock breaks.Jeremy Allison2001-09-041-5/+7
| | | | | This may have bearing on the Solaris fcntl spin bug. Jeremy.
* Merge of transfer file code from 2.2, fix for readbraw.Jeremy Allison2001-09-044-350/+286
| | | | Jeremy.
* the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell2001-09-0412-158/+143
| | | | the client code still needs some work
* tidied up some unused vars in JFs new fnsAndrew Tridgell2001-09-031-12/+0
|
* more NTSTATUS changesAndrew Tridgell2001-09-011-17/+4
|
* Fix crash bug with indirecting through null pointer on recursive delete.Jeremy Allison2001-08-301-134/+119
| | | | Jeremy.
* if no ACL elements then use chmod - fixes ability to set read-only bitHerb Lewis2001-08-301-2/+2
| | | | on files that do not have an ACL
* this was a stupid typo,Simo Sorce2001-08-301-1/+1
| | | | thanks to Jochen Dolze (dolze@epcnet.de) for pointing out.
* Ouch ! I didn't think I would have to do that: add 2 new rap calls !Jean-François Micouleau2001-08-281-0/+127
| | | | | | | | | It's a quick and ugly hack as a proof of concept: the dell powervault 705 works with a samba PDC. I'll do a correct user enumeration later. J.F.
* Added dummy handlers for SAM_SYNC and SAM_REPL messages.Tim Potter2001-08-281-0/+30
|
* converted another bunch of stuff to NTSTATUSAndrew Tridgell2001-08-278-40/+40
|
* started converting NTSTATUS to be a structure on systems with gcc in order ↵Andrew Tridgell2001-08-275-35/+38
| | | | to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs
* converted smbd to use NTSTATUS by defaultAndrew Tridgell2001-08-2713-1323/+995
| | | | | | | | | | | | | | | | major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night
* get rid of compiler warningsHerb Lewis2001-08-245-11/+11
|
* fixed level2 find first for unisys clientsAndrew Tridgell2001-08-241-0/+1
|
* Fixed incorrect debug.Tim Potter2001-08-241-4/+1
|
* flush on a invalid fsp should give an errorAndrew Tridgell2001-08-241-16/+16
|
* Fix W2K profiles writing to a Samba PDC. Thanks to Microsoft for their help !Jeremy Allison2001-08-231-15/+6
| | | | Jeremy.
* Fix to only send the status32 error for status32 clients, not to otherAndrew Bartlett2001-08-231-3/+1
| | | | nt_smb clients. As spotted by Thursby.
* Fix up some unused variables and functions, fix up formattingAndrew Bartlett2001-08-232-3/+0
|
* A few changes:Andrew Bartlett2001-08-223-38/+17
| | | | | | | | | | | | drop paramaters: status utmp hostname change session code to always record each vuid current on the server. The sessionid struct is no longer packed, as I couldn't get that to work ;-) change smbstatus to show this info and less of the connections.tdb info (its not actualy that accurate). I'll get swat doing some of this shortly.
* The DELL powervault 705 is sending a tcon&x with the service name beingJean-François Micouleau2001-08-221-5/+15
| | | | | | | | | "share" instead of "\\server\share". Fix that. Still not able to get the user list but that's something else. Jeremy I don't think I broke anything ;-) J.F.
* force checking of log size after 200 smbd in a row or after 30 sec with noHerb Lewis2001-08-221-2/+3
| | | | | | | smbds. This should fix one case of logs not getting rotated properly. We may need to test this to make sure there is no big performance hit from the extra stat call.
* Missed '\' at eol...Jeremy Allison2001-08-221-1/+1
| | | | Jeremy.
* Tidyup fixes for fcntl spin problem.Jeremy Allison2001-08-221-3/+13
| | | | Jeremy.
* Fixed the (incorrect) paranioa fix I put in for the fcntl lock spin.Jeremy Allison2001-08-223-11/+50
| | | | | | Don't delete a share mode that failed to remove the oplock (doh!), just set the oplock entry to zero.... Jeremy.
* Add a new option to disable our paranoid server check.Andrew Bartlett2001-08-211-1/+1
| | | | Defaults to ON, ie checking