Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-10-31 | Remove a pointles call to smb_bufrem | Volker Lendecke | 1 | -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-31 | Unify se_access_check with the S4 code. Will make | Jeremy Allison | 1 | -4/+3 | |
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy. | |||||
2008-10-30 | Start moving us closer to passing S4 RAW-ACL test using the vfs_acl_xattr ↵ | Jeremy Allison | 2 | -1/+10 | |
module. Inheritance fails at the moment though. Jeremy. | |||||
2008-10-30 | use glibc sys/inotify.h header | Andrew Tridgell | 1 | -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-29 | Fix CID 574 - tidies up the code expression. | Jeremy Allison | 1 | -2/+2 | |
Jeremy. | |||||
2008-10-25 | Move the is_known_pipename check into np_open | Volker Lendecke | 2 | -21/+10 | |
2008-10-25 | Remove "pipe_handle_offset" -- pipes now use "struct files_struct" | Volker Lendecke | 1 | -5/+0 | |
2008-10-22 | s3-asn1: make all of s3 asn1 code do a proper asn1_init() first. | Günther Deschner | 1 | -12/+17 | |
Guenther | |||||
2008-10-22 | s3: use shared asn1 code. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2008-10-22 | Slightly simplify reply_sesssetup_blob(): Remove an else branch | Volker Lendecke | 1 | -10/+11 | |
2008-10-22 | Don't push the data out to the client in reply_sesssetup_blob() | Volker Lendecke | 1 | -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-22 | Fix a debug message in send_nt_replies() | Volker Lendecke | 1 | -3/+6 | |
2008-10-19 | Fix nonempty blank lines | Volker Lendecke | 1 | -91/+91 | |
2008-10-19 | "fn_new"->"fn" in smb_messages[], we got beyond that :-) | Volker Lendecke | 1 | -3/+3 | |
2008-10-19 | Use a direct compare instead of calling strncmp in valid_smb_header | Volker Lendecke | 1 | -1/+5 | |
2008-10-19 | Move the global hosts_allow() check out of the processing loop | Volker Lendecke | 1 | -19/+22 | |
2008-10-19 | Inline the once-used macro "init_dfsroot" | Volker Lendecke | 1 | -1/+6 | |
2008-10-18 | s3-build: fix the build of smbd. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2008-10-18 | Use separate make variables for libutil and libcrypto. | Jelmer Vernooij | 1 | -2/+2 | |
2008-10-16 | Cope with bad trans2mkdir requests from System i QNTC IBM SMB client. | Jeremy Allison | 1 | -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-14 | Note url explaining this code. | Jeremy Allison | 1 | -0/+4 | |
Jeremy. | |||||
2008-10-14 | Remove unused stuff | Volker Lendecke | 1 | -12/+0 | |
2008-10-14 | Use {u,}int64_t instead of SMB_BIG_{U,}INT. | Jelmer Vernooij | 12 | -237/+237 | |
2008-10-13 | Remove smb_np_struct | Volker Lendecke | 4 | -137/+3 | |
2008-10-13 | Use "struct files_struct" for pipes instead of smb_np_struct | Volker Lendecke | 5 | -99/+99 | |
2008-10-13 | Remove the chain_fsp global | Volker Lendecke | 3 | -21/+11 | |
2008-10-13 | Pass struct smb_request to file_free | Volker Lendecke | 9 | -77/+80 | |
on the way to get rid of chain_fsp | |||||
2008-10-13 | Pass struct smb_request to file_new | Volker Lendecke | 6 | -22/+25 | |
Goal is to remove the chain_fsp global variable | |||||
2008-10-13 | Pass struct smb_request to file_fsp | Volker Lendecke | 5 | -34/+34 | |
The goal is to get rid of the chain_fsp global variable | |||||
2008-10-13 | s3: fix another build warning. | Günther Deschner | 1 | -4/+4 | |
Guenther | |||||
2008-10-13 | Fix bug 5691: SIGBUS on Solaris | Volker Lendecke | 1 | -1/+4 | |
2008-10-12 | Use common util_file code. | Jelmer Vernooij | 3 | -6/+6 | |
2008-10-12 | Cope with the fact that the data blobs returned are now | Jelmer Vernooij | 1 | -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-12 | Use common strlist implementation in Samba 3 and Samba 4. | Jelmer Vernooij | 1 | -2/+2 | |
2008-10-11 | Cope with changed signature of http_timestring(). | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-11 | Make use of talloc_tos() | Volker Lendecke | 1 | -2/+2 | |
2008-10-11 | Fix some nonempty blank lines | Volker Lendecke | 2 | -23/+23 | |
2008-10-11 | Fix a "nexted extern declaration" warning | Volker Lendecke | 1 | -1/+1 | |
2008-10-09 | Remove SEC_ACCESS. It's a uint32_t. | Jeremy Allison | 1 | -19/+7 | |
Jeremy. | |||||
2008-10-09 | Remove a pointless level of indirection | Volker Lendecke | 2 | -11/+1 | |
2008-10-09 | Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2008-10-08 | For the vfs_acl_xattr.c module, make sure we map GENERIC file and directory bits | Jeremy Allison | 2 | -0/+9 | |
to specific bits every time a security descriptor is set. The S4 torture suite proves that generic bits are not returned when querying an ACL set using them (ie. only the specific bits are stored on disk). Jeremy. | |||||
2008-10-08 | Deal with inheritance from parent directory when setting Windows | Jeremy Allison | 1 | -1/+1 | |
ACLs. Jeremy. | |||||
2008-10-08 | Remove unused CHECK_FSP macro | Volker Lendecke | 1 | -3/+2 | |
2008-10-07 | Update vfs version as I've added a const to the security_descriptor paramter ↵ | Jeremy Allison | 1 | -25/+26 | |
in fset_nt_acl(). Need to watch the build farm to make sure I haven't broken the AIX or Solaris ACL modules. Jeremy. | |||||
2008-10-03 | Simply our main loop processing. A lot :-). Correctly use events for all the ↵ | Jeremy Allison | 3 | -187/+40 | |
previous "special" cases. A step on the way to adding signals to the events and being able to merge the S3 event system with the S4 one. Jeremy. | |||||
2008-10-01 | Fix use of DLIST_REMOVE as spotted by Constantine Vetoshev <gepardcv@gmail.com>. | Jeremy Allison | 1 | -1/+1 | |
This API is unusual in that if used to remove a non-list head it nulls out the next and prev pointers. This is what you want for debugging (don't want an entry removed from the list to be still virtually linked into it) but means there is no consistent idiom for use as the next and prev pointers get trashed on removal from the list, meaning you must save them yourself. You can use it one way when deleting everything via the head pointer, as this preserves the next pointer, but you *must* use it another way when not deleting everything via the head pointer. Fix all known uses of this (the main one is in conn_free_internal() and would not free all the private data entries for vfs modules. The other changes in web/statuspage.c and winbindd_util.c are not strictly neccessary, as the head pointer is being used, but I've done them for consistency. Long term we must revisit this as this API is too hard to use correctly. Jeremy. | |||||
2008-09-30 | Fix the make test problem Karolin reported. Now rename_open_files actually ↵ | Jeremy Allison | 1 | -2/+2 | |
works correctly we must emit the change notify before we change the name, not before. Jeremy. | |||||
2008-09-26 | Second part of the fix for bug #5790 - samba returns ↵ | Jeremy Allison | 1 | -4/+6 | |
STATUS_OBJECT_NAME_NOT_FOUND on set file disposition call. This was my fault. I use a singleton cache (positive and negative) to speed up pathname based qfileinfo/setfileinfo lookups for alternate fsp's open on the same path. I only invalidated the negative cache on adding a new file fsp, as I incorrectly imagined the new fsp was put at the *end* of the open files list. DLIST_ADD puts it at the start, meaning any subsequent open wasn't seen once the cache was set. Doh ! Jeremy. | |||||
2008-09-26 | Fix bug #5797 - Moving readonly files fails. Reported by infomail@lordb.de. | Jeremy Allison | 1 | -3/+1 | |
We don't need to deny a DELETE open on a readonly file (I'm also adding a s4 torture test for this), the set_file_disposition call will return NT_STATUS_CANNOT_DELETE if the delete-on-close bit is set on a readonly file (and we already do this). Jeremy. |