summaryrefslogtreecommitdiffstats
path: root/source3/smbd
Commit message (Collapse)AuthorAgeFilesLines
...
* Slightly simplify logic in process_lockingX()Volker Lendecke2008-11-041-7/+8
| | | | The "else" is pointless here, we did a "return True" in the if branch.
* Slightly simplify logic in remove_pending_lock_requests_by_mid()Volker Lendecke2008-11-041-13/+21
| | | | Use "continue" for (SVAL(blr->inbuf,smb_mid) != mid)
* Slightly simplify logic in cancel_pending_lock_requests_by_fid()Volker Lendecke2008-11-041-20/+24
| | | | Use a "continue" for (blr->fsp->fnum != fsp->fnum)
* Convert blocking.c to use tallocVolker Lendecke2008-11-041-23/+15
|
* Rewrite aio.c to keep the whole smb_request structure, not just the inbufVolker Lendecke2008-11-041-75/+41
|
* Make "inbuf" a talloc child of "smb_request" for normal smb requestsVolker Lendecke2008-11-043-3/+5
| | | | | | This is necessary if we want to keep the whole smb_request for deferred ops. The explicit settings of req->inbuf will be removed once all those deferring operations are converted to store the whole request and not just the inbuf.
* Add construct_reply_common_req wrapperVolker Lendecke2008-11-043-3/+8
| | | | The goal is to remove the remaining direct calls to construct_reply_common.
* Fix nonempty blank linesVolker Lendecke2008-11-041-3/+3
|
* Use talloc for struct aio_extraVolker Lendecke2008-11-041-27/+14
|
* Pass all of RAW-ACLS except for inheritence. Working on that next.Jeremy Allison2008-11-041-2/+79
| | | | Jeremy.
* Trigger (and fix) a bug in Samba3 making smbd an infinite data sourceVolker Lendecke2008-11-041-0/+1
| | | | | A deferred open directly followed by a ulogoffX makes smbd3 send an infinite stream of ERRinvuid replies :-(
* Pass the directory versions of the RAW-ACL (still not inheritance). Refactor ↵Jeremy Allison2008-11-031-43/+83
| | | | | | some common code between open_file_ntcreate() and open_directory(). Jeremy.
* Pass all the non-inherited S4 RAW-ACL tests.Jeremy Allison2008-11-031-14/+4
| | | | Jeremy.
* Fix nonempty blank linesVolker Lendecke2008-11-031-14/+14
|
* Make a comment match its function definitionVolker Lendecke2008-11-031-1/+1
|
* Remove some inbuf references by adding "cmd" to smb_requestVolker Lendecke2008-11-024-16/+13
|
* Remove the inbuf reference from map_checkpath_error()Volker Lendecke2008-11-021-4/+4
|
* Remove a direct inbuf reference in reply_negprotVolker Lendecke2008-11-021-2/+8
|
* Make a [un]become_root wrap a bit tighterVolker Lendecke2008-11-021-7/+11
| | | | Sooner or later this would bite us.
* Pass smb_request to send_trans_reply to match with send_[nt]trans[2]_replyVolker Lendecke2008-11-022-10/+10
|
* Use "vwv" in trans parsingVolker Lendecke2008-11-023-72/+67
|
* Remove a bunch of direct inbuf references by adding "vwv" to smb_requestVolker Lendecke2008-11-028-146/+143
|
* Fix bug 5860: safe_strcpy gives a nasty error message for overlong stringsVolker Lendecke2008-11-021-1/+1
| | | | Thanks to Robert Dahlem <Robert.Dahlem@gmx.net> for reporting this!
* Rename "inbuf" to "base_ptr" in srvstr_get_path_*Volker Lendecke2008-11-021-5/+5
|
* Remove some direct inbuf references by adding smbreq_bufremVolker Lendecke2008-11-024-8/+8
|
* Simplify params of srvstr_pull_buf_talloc()Volker Lendecke2008-11-026-47/+34
| | | | | Now that "req" is available everywhere, use it. Rename srvstr_pull_buf_talloc() to srvstr_pull_req()
* Add srvstr_get_path_req[_wcard]Volker Lendecke2008-11-022-115/+59
|
* Kill some fstringsVolker Lendecke2008-11-011-31/+55
|
* Remove a bunch of direct inbuf references by adding "buf" to smb_requestVolker Lendecke2008-11-018-80/+70
|
* In reply_copy, don't write to inbuf when splitting directory and maskVolker Lendecke2008-11-011-19/+14
|
* In reply_search(), don't write to inbuf when splitting directory and maskVolker Lendecke2008-11-011-16/+10
|
* Apply some const to get_lock_*()Volker Lendecke2008-11-012-7/+12
|
* Add a "buflen" struct member to smb_requestVolker Lendecke2008-11-013-19/+11
| | | | | | This removes some explicit inbuf references and also removes a pointless check in reply_echo. The buflen can never be more than 64k, this is just a 16 bit value.
* Remove unused extern declarationVolker Lendecke2008-11-011-2/+0
|
* Merge branch 'master' of /home/jelmer/samba3Jelmer Vernooij2008-11-013-9/+49
|\ | | | | | | | | | | | | | | | | Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c
| * Remove sys_chroot() - libreplace already provides an alternative.Jelmer Vernooij2008-11-011-1/+1
| |
| * Get closer to passing S4 RAW-ACLs.Jeremy Allison2008-10-312-8/+48
| | | | | | | | Jeremy.
* | Use dup2() replacement from libreplace.Jelmer Vernooij2008-11-011-3/+3
|/
* Remove a pointles call to smb_bufremVolker Lendecke2008-10-311-2/+1
| | | | | | | | | This call expanded to (smb_buflen(req->inbuf) - PTR_DIFF(smb_buf(req->inbuf) - smb_buf(req->inbuf))) which seems pretty pointless :-)
* Unify se_access_check with the S4 code. Will makeJeremy Allison2008-10-311-4/+3
| | | | | | calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy.
* Start moving us closer to passing S4 RAW-ACL test using the vfs_acl_xattr ↵Jeremy Allison2008-10-302-1/+10
| | | | | | module. Inheritance fails at the moment though. Jeremy.
* use glibc sys/inotify.h headerAndrew Tridgell2008-10-301-1/+5
| | | | | | when we first added the inotify code glibc didn't have the inotify functions yet. Now that it does we can use the official header and avoid the asm/unistd.h syscall workaround
* Fix CID 574 - tidies up the code expression.Jeremy Allison2008-10-291-2/+2
| | | | Jeremy.
* Move the is_known_pipename check into np_openVolker Lendecke2008-10-252-21/+10
|
* Remove "pipe_handle_offset" -- pipes now use "struct files_struct"Volker Lendecke2008-10-251-5/+0
|
* s3-asn1: make all of s3 asn1 code do a proper asn1_init() first.Günther Deschner2008-10-221-12/+17
| | | | Guenther
* s3: use shared asn1 code.Günther Deschner2008-10-221-1/+1
| | | | Guenther
* Slightly simplify reply_sesssetup_blob(): Remove an else branchVolker Lendecke2008-10-221-10/+11
|
* Don't push the data out to the client in reply_sesssetup_blob()Volker Lendecke2008-10-221-4/+0
| | | | | | Sending the data at this level breaks the assumption at higher levels that req->outbuf == NULL means this request is deferred. It also breaks potential chaining (Kerberos session setup and tcon X in one request)
* Fix a debug message in send_nt_replies()Volker Lendecke2008-10-221-3/+6
|