summaryrefslogtreecommitdiffstats
path: root/source3/smbd
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix nonempty blank linesVolker Lendecke2008-10-191-91/+91
|
* "fn_new"->"fn" in smb_messages[], we got beyond that :-)Volker Lendecke2008-10-191-3/+3
|
* Use a direct compare instead of calling strncmp in valid_smb_headerVolker Lendecke2008-10-191-1/+5
|
* Move the global hosts_allow() check out of the processing loopVolker Lendecke2008-10-191-19/+22
|
* Inline the once-used macro "init_dfsroot"Volker Lendecke2008-10-191-1/+6
|
* s3-build: fix the build of smbd.Günther Deschner2008-10-181-1/+1
| | | | Guenther
* Use separate make variables for libutil and libcrypto.Jelmer Vernooij2008-10-181-2/+2
|
* Cope with bad trans2mkdir requests from System i QNTC IBM SMB client.Jeremy Allison2008-10-161-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.
* Note url explaining this code.Jeremy Allison2008-10-141-0/+4
| | | | Jeremy.
* Remove unused stuffVolker Lendecke2008-10-141-12/+0
|
* Use {u,}int64_t instead of SMB_BIG_{U,}INT.Jelmer Vernooij2008-10-1412-237/+237
|
* Remove smb_np_structVolker Lendecke2008-10-134-137/+3
|
* Use "struct files_struct" for pipes instead of smb_np_structVolker Lendecke2008-10-135-99/+99
|
* Remove the chain_fsp globalVolker Lendecke2008-10-133-21/+11
|
* Pass struct smb_request to file_freeVolker Lendecke2008-10-139-77/+80
| | | | on the way to get rid of chain_fsp
* Pass struct smb_request to file_newVolker Lendecke2008-10-136-22/+25
| | | | Goal is to remove the chain_fsp global variable
* Pass struct smb_request to file_fspVolker Lendecke2008-10-135-34/+34
| | | | The goal is to get rid of the chain_fsp global variable
* s3: fix another build warning.Günther Deschner2008-10-131-4/+4
| | | | Guenther
* Fix bug 5691: SIGBUS on SolarisVolker Lendecke2008-10-131-1/+4
|
* Use common util_file code.Jelmer Vernooij2008-10-123-6/+6
|
* Cope with the fact that the data blobs returned are nowJelmer Vernooij2008-10-121-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.
* Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij2008-10-121-2/+2
|
* Cope with changed signature of http_timestring().Jelmer Vernooij2008-10-111-1/+1
|
* Make use of talloc_tos()Volker Lendecke2008-10-111-2/+2
|
* Fix some nonempty blank linesVolker Lendecke2008-10-112-23/+23
|
* Fix a "nexted extern declaration" warningVolker Lendecke2008-10-111-1/+1
|
* Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison2008-10-091-19/+7
| | | | Jeremy.
* Remove a pointless level of indirectionVolker Lendecke2008-10-092-11/+1
|
* Fix a typoVolker Lendecke2008-10-091-1/+1
|
* For the vfs_acl_xattr.c module, make sure we map GENERIC file and directory bitsJeremy Allison2008-10-082-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.
* Deal with inheritance from parent directory when setting WindowsJeremy Allison2008-10-081-1/+1
| | | | | ACLs. Jeremy.
* Remove unused CHECK_FSP macroVolker Lendecke2008-10-081-3/+2
|
* Update vfs version as I've added a const to the security_descriptor paramter ↵Jeremy Allison2008-10-071-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.
* Simply our main loop processing. A lot :-). Correctly use events for all the ↵Jeremy Allison2008-10-033-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.
* Fix use of DLIST_REMOVE as spotted by Constantine Vetoshev <gepardcv@gmail.com>.Jeremy Allison2008-10-011-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.
* Fix the make test problem Karolin reported. Now rename_open_files actually ↵Jeremy Allison2008-09-301-2/+2
| | | | | | works correctly we must emit the change notify before we change the name, not before. Jeremy.
* Second part of the fix for bug #5790 - samba returns ↵Jeremy Allison2008-09-261-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.
* Fix bug #5797 - Moving readonly files fails. Reported by infomail@lordb.de.Jeremy Allison2008-09-261-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.
* Fix bug #5790 samba returns STATUS_OBJECT_NAME_NOT_FOUND on set file ↵Jeremy Allison2008-09-241-4/+2
| | | | | | | | disposition. We were checking that fd != -1 in file_find_di_XXX calls which is no longer needed due to a change in internal semantics. Jeremy.
* Fix bug #5783 FindFirst fails where search pattern == mangled filename.Jeremy Allison2008-09-232-8/+8
| | | | | That was an old and subtle bug. Jeremy.
* s3: use samba4 prototype for ndr_push/pull_struct_blob.Günther Deschner2008-09-231-4/+4
| | | | Guenther
* Fix aio on FreeBSD.Timur2008-09-151-1/+16
|
* Fix cut and paste error in quota code.Timur2008-09-151-2/+2
|
* Fix bug 5761 "open of mangled directory name results in 'is a stream name'"Jeremy Allison2008-09-151-3/+7
| | | | | reported by Regan Heath <Regan.Heath@BridgeHeadSoftware.com>. Jeremy.
* Modify a comment to make things clearer.Jeremy Allison2008-09-121-1/+3
| | | | | Jeremy. (This used to be commit 9d55ca85ffc73e3fa5fb9895fbcb1ee22f4e320d)
* Fix bug #5052 - not work cancel inheritance on share. We wereJeremy Allison2008-09-101-3/+10
| | | | | | | using the parent security descriptor type and flags instead of using the passed in SD. Jeremy. (This used to be commit 0d824d7188518aaa7b4e890885e6bc42e94397c5)
* When requesting UNIX info levels on findfirst/findnext, don't play games ↵Jeremy Allison2008-09-101-1/+5
| | | | | | | | with write time, just return what the underlying filesystem says. Trying not to confuse UNIX apps any more than necessary. Jeremy. (This used to be commit b81a4dd003957a611ea190979d828b75d07a1f80)
* Add some debug to reply_nttransVolker Lendecke2008-09-091-0/+11
| | | | (This used to be commit 23e9fed28cf9998534b3c55f4b20a562da507552)
* Fix calculation of useable_space for trans2 and nttrans repliesVolker Lendecke2008-09-082-18/+19
| | | | | | | When alignment was in place, we pretended to send more data/params according to the param_offset/param_length and data_offset/data_length parameters than would actually fit into the SMB according to the NBSS length field. (This used to be commit ef3c132b8455c6fe4d0bb9f0be881040a806a4ed)
* smbd: some write time fixesStefan Metzmacher2008-09-081-8/+7
| | | | | | | | | | | | | | | - only the first non truncating write causes the write time update with 2 seconds delay. It's not enough to check for an existing update event as it will be NULL after the event was triggered. - SMBwrite truncates always update the write time unless the sticky write time is set. - SMBwrite truncates don't trigger a write time update on close. metze (This used to be commit 3d17089b6dc773303c8c553f3f6140e60e348fb7)