summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
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
2008-10-18Use separate make variables for libutil and libcrypto.Jelmer Vernooij1-2/+2
2008-10-16Cope with bad trans2mkdir requests from System i QNTC IBM SMB client.Jeremy Allison1-3/+4
If total_data == 4 Windows doesn't care what values are placed in that field, it just ignores them. The System i QNTC IBM SMB client puts bad values here, so ignore them. Jeremy.
2008-10-14Note url explaining this code.Jeremy Allison1-0/+4
Jeremy.
2008-10-14Remove unused stuffVolker Lendecke1-12/+0
2008-10-14Use {u,}int64_t instead of SMB_BIG_{U,}INT.Jelmer Vernooij12-237/+237
2008-10-13Remove smb_np_structVolker Lendecke4-137/+3
2008-10-13Use "struct files_struct" for pipes instead of smb_np_structVolker Lendecke5-99/+99
2008-10-13Remove the chain_fsp globalVolker Lendecke3-21/+11
2008-10-13Pass struct smb_request to file_freeVolker Lendecke9-77/+80
on the way to get rid of chain_fsp
2008-10-13Pass struct smb_request to file_newVolker Lendecke6-22/+25
Goal is to remove the chain_fsp global variable
2008-10-13Pass struct smb_request to file_fspVolker Lendecke5-34/+34
The goal is to get rid of the chain_fsp global variable
2008-10-13s3: fix another build warning.Günther Deschner1-4/+4
Guenther
2008-10-13Fix bug 5691: SIGBUS on SolarisVolker Lendecke1-1/+4
2008-10-12Use common util_file code.Jelmer Vernooij3-6/+6
2008-10-12Cope with the fact that the data blobs returned are nowJelmer Vernooij1-4/+20
talloc-allocated. Ideally, this memory should be talloc-stolen (and perhaps have DATA_BLOB in the interface everywhere), but that requires some more complex changes so I've just changed it to copy it for now.
2008-10-12Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij1-2/+2
2008-10-11Cope with changed signature of http_timestring().Jelmer Vernooij1-1/+1
2008-10-11Make use of talloc_tos()Volker Lendecke1-2/+2
2008-10-11Fix some nonempty blank linesVolker Lendecke2-23/+23
2008-10-11Fix a "nexted extern declaration" warningVolker Lendecke1-1/+1
2008-10-09Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison1-19/+7
Jeremy.