summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2008-11-04Add construct_reply_common_req wrapperVolker Lendecke3-3/+8
The goal is to remove the remaining direct calls to construct_reply_common.
2008-11-04Fix nonempty blank linesVolker Lendecke1-3/+3
2008-11-04Use talloc for struct aio_extraVolker Lendecke1-27/+14
2008-11-04Pass all of RAW-ACLS except for inheritence. Working on that next.Jeremy Allison1-2/+79
Jeremy.
2008-11-04Trigger (and fix) a bug in Samba3 making smbd an infinite data sourceVolker Lendecke1-0/+1
A deferred open directly followed by a ulogoffX makes smbd3 send an infinite stream of ERRinvuid replies :-(
2008-11-03Pass the directory versions of the RAW-ACL (still not inheritance). Refactor ↵Jeremy Allison1-43/+83
some common code between open_file_ntcreate() and open_directory(). Jeremy.
2008-11-03Pass all the non-inherited S4 RAW-ACL tests.Jeremy Allison1-14/+4
Jeremy.
2008-11-03Fix nonempty blank linesVolker Lendecke1-14/+14
2008-11-03Make a comment match its function definitionVolker Lendecke1-1/+1
2008-11-02Remove some inbuf references by adding "cmd" to smb_requestVolker Lendecke4-16/+13
2008-11-02Remove the inbuf reference from map_checkpath_error()Volker Lendecke1-4/+4
2008-11-02Remove a direct inbuf reference in reply_negprotVolker Lendecke1-2/+8
2008-11-02Make a [un]become_root wrap a bit tighterVolker Lendecke1-7/+11
Sooner or later this would bite us.
2008-11-02Pass smb_request to send_trans_reply to match with send_[nt]trans[2]_replyVolker Lendecke2-10/+10
2008-11-02Use "vwv" in trans parsingVolker Lendecke3-72/+67
2008-11-02Remove a bunch of direct inbuf references by adding "vwv" to smb_requestVolker Lendecke8-146/+143
2008-11-02Fix bug 5860: safe_strcpy gives a nasty error message for overlong stringsVolker Lendecke1-1/+1
Thanks to Robert Dahlem <Robert.Dahlem@gmx.net> for reporting this!
2008-11-02Rename "inbuf" to "base_ptr" in srvstr_get_path_*Volker Lendecke1-5/+5
2008-11-02Remove some direct inbuf references by adding smbreq_bufremVolker Lendecke4-8/+8
2008-11-02Simplify params of srvstr_pull_buf_talloc()Volker Lendecke6-47/+34
Now that "req" is available everywhere, use it. Rename srvstr_pull_buf_talloc() to srvstr_pull_req()
2008-11-02Add srvstr_get_path_req[_wcard]Volker Lendecke2-115/+59
2008-11-01Kill some fstringsVolker Lendecke1-31/+55
2008-11-01Remove a bunch of direct inbuf references by adding "buf" to smb_requestVolker Lendecke8-80/+70
2008-11-01In reply_copy, don't write to inbuf when splitting directory and maskVolker Lendecke1-19/+14
2008-11-01In reply_search(), don't write to inbuf when splitting directory and maskVolker Lendecke1-16/+10
2008-11-01Apply some const to get_lock_*()Volker Lendecke2-7/+12
2008-11-01Add a "buflen" struct member to smb_requestVolker Lendecke3-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.
2008-11-01Remove unused extern declarationVolker Lendecke1-2/+0
2008-11-01Merge branch 'master' of /home/jelmer/samba3Jelmer Vernooij3-9/+49
Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c
2008-11-01Use dup2() replacement from libreplace.Jelmer Vernooij1-3/+3
2008-11-01Remove sys_chroot() - libreplace already provides an alternative.Jelmer Vernooij1-1/+1
2008-10-31Get closer to passing S4 RAW-ACLs.Jeremy Allison2-8/+48
Jeremy.
2008-10-31Remove a pointles call to smb_bufremVolker Lendecke1-2/+1
This call expanded to (smb_buflen(req->inbuf) - PTR_DIFF(smb_buf(req->inbuf) - smb_buf(req->inbuf))) which seems pretty pointless :-)
2008-10-31Unify se_access_check with the S4 code. Will makeJeremy Allison1-4/+3
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy.
2008-10-30Start moving us closer to passing S4 RAW-ACL test using the vfs_acl_xattr ↵Jeremy Allison2-1/+10
module. Inheritance fails at the moment though. Jeremy.
2008-10-30use glibc sys/inotify.h headerAndrew Tridgell1-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
2008-10-29Fix CID 574 - tidies up the code expression.Jeremy Allison1-2/+2
Jeremy.
2008-10-25Move the is_known_pipename check into np_openVolker Lendecke2-21/+10
2008-10-25Remove "pipe_handle_offset" -- pipes now use "struct files_struct"Volker Lendecke1-5/+0
2008-10-22s3-asn1: make all of s3 asn1 code do a proper asn1_init() first.Günther Deschner1-12/+17
Guenther
2008-10-22s3: use shared asn1 code.Günther Deschner1-1/+1
Guenther
2008-10-22Slightly simplify reply_sesssetup_blob(): Remove an else branchVolker Lendecke1-10/+11
2008-10-22Don't push the data out to the client in reply_sesssetup_blob()Volker Lendecke1-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)
2008-10-22Fix a debug message in send_nt_replies()Volker Lendecke1-3/+6
2008-10-19Fix nonempty blank linesVolker Lendecke1-91/+91
2008-10-19"fn_new"->"fn" in smb_messages[], we got beyond that :-)Volker Lendecke1-3/+3
2008-10-19Use a direct compare instead of calling strncmp in valid_smb_headerVolker Lendecke1-1/+5
2008-10-19Move the global hosts_allow() check out of the processing loopVolker Lendecke1-19/+22
2008-10-19Inline the once-used macro "init_dfsroot"Volker Lendecke1-1/+6
2008-10-18s3-build: fix the build of smbd.Günther Deschner1-1/+1
Guenther