summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3: Modifications to generic notify structures to allow implementation of ↵Steven Danneman2009-02-206-0/+56
| | | | | | | | | | | | | | OneFS notify. The OneFS kernel based change notify system takes an fd of the directory to watch in it's initialization syscall. Since we already have this directory open, this commit plumbs that fd down to the VFS layer via the notify_entry struct. We also need to know if the watch is taken out on a snapshot directory. The full file_id struct is also passed down to make this determination. The file_id marshalling wrappers are hand written here, but should eventually be auto-generated by moving the struct file_id into the idl.
* Added torture tests to RAW-NOTIFYSteven Danneman2009-02-201-2/+150
| | | | | | | | | * This adds a test to check the change notify behavior of the SMB server when more events have been generated than can be returned in a single change notify response. * Second test makes sure the server doesn't return notification events for changes to the watched directory itself
* Fix bug #6133 - Cannot delete non-ACL files on Solaris/ZFS/NFSv4 ACL filesystem.Jeremy Allison2009-02-201-1/+7
| | | | | | | As the NFSv4 ACL mapping code doesn't map write directory into the DELETE_CHILD permission bit (which we require before allowing a delete) no one can delete files without an explicit DELETE_CHILD bit set on the directory. Add this mapping. Jeremy.
* variable grouping: just my OCD desire to keep similar things togetherDerrell Lipman2009-02-201-5/+7
|
* Make libsmbclient work with DFSBo Yang2009-02-207-6/+108
| | | | Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
* s3/docs: Add hint about getfattr in man vfs_acl_xattr.Karolin Seeger2009-02-201-0/+9
| | | | Karolin
* s3/docs: Add man vfs_acl_tdb.Karolin Seeger2009-02-201-0/+66
| | | | Karolin
* s3/docs: Add man vfs_acl_xattr.Karolin Seeger2009-02-201-0/+61
| | | | Karolin
* s3/docs: Fix several typos.Karolin Seeger2009-02-2019-27/+24
| | | | | | | | This fixes bug #6127. Thanks to Justin T Pryzby <justinpryzby [at] users.sourceforge.net> for the review! Karolin
* s3 OneFS: Add shadow copy moduleTim Prouty2009-02-195-1/+1538
|
* s3 OneFS: Add file_id_create implementation to take advantage of snapshotsTim Prouty2009-02-191-0/+18
|
* s3: Change the vfs_GetWd cache to use the file_id structTim Prouty2009-02-191-12/+3
|
* s3: Remove unused inform_level2_message structTim Prouty2009-02-191-8/+0
|
* s3: Add extid to the dev/inode pairTim Prouty2009-02-1914-63/+122
| | | | | | | | | | | This extends the file_id struct to add an additional generic uint64_t field: extid. For backwards compatibility with dev/inodes stored in xattr_tdbs and acl_tdbs, the ext id is ignored for these databases. This patch should cause no functional change on systems that don't use SMB_VFS_FILE_ID_CREATE to set the extid. Existing code that uses the smb_share_mode library will need to be updated to be compatibile with the new extid.
* s3: Modify SMB_VFS_FILE_ID_CREATE to take a stat structTim Prouty2009-02-1912-44/+56
| | | | | Since file_id_create_dev is incompatible with the concept of file_ids, it is now static and in the one file that needs it.
* Fix printf warnings found on systems where time_t <> long int.Jeremy Allison2009-02-193-10/+11
| | | | Jeremy.
* Fix printf type warning.Jeremy Allison2009-02-191-2/+2
| | | | Jeremy.
* Fix an uninitialized variableVolker Lendecke2009-02-191-0/+1
|
* Fix a O(n^2) algorithm in regdb_fetch_keys()Volker Lendecke2009-02-191-5/+27
|
* s3-spoolss: fix vista fallback in _spoolss_AddPrinterDriverEx.Günther Deschner2009-02-191-2/+1
| | | | | | | Martin Zielinski, if you're reading this, please have a look. Vista nicely takes just a WERR_UNKNOWN_LEVEL here and retries with a level 6 add. Guenther
* s3-spoolss: remove old spoolss_AddPrinterDriver{Ex}.Günther Deschner2009-02-193-207/+0
| | | | Guenther
* s3-spoolss: use pidl for _spoolss_AddPrinterDriver{Ex}.Günther Deschner2009-02-193-130/+218
| | | | Guenther
* s3-spoolss: remove old spoolss_GetPrintProcessorDirectory.Günther Deschner2009-02-194-233/+0
| | | | Guenther
* s3-spoolss: use pidl for _spoolss_GetPrintProcessorDirectory.Günther Deschner2009-02-193-83/+46
| | | | Guenther.
* s3-rpcclient: use rpccli_spoolss_GetPrintProcessorDirectory in rpcclient.Günther Deschner2009-02-191-12/+35
| | | | Guenther
* s3-spoolss: fix _spoolss_GetPrinterDriverDirectory.Günther Deschner2009-02-191-1/+6
| | | | | | | treat architecture correctly as it is a [unique] pointer, and newer Windows versions sometimes send in an empty string. Guenther
* s3-rpcclient: use SPOOLSS_ARCHITECTURE_NT_X86 define in spoolss getdriverdir ↵Günther Deschner2009-02-191-1/+1
| | | | | | cmd. Guenther
* s3-spoolss: _spoolss_OpenPrinterEx needs to wipe out policy handle upon failure.Günther Deschner2009-02-191-0/+10
| | | | Guenther
* s3-spoolss: _spoolss_AddPrinterEx needs to wipe out policy handle upon failure.Günther Deschner2009-02-191-0/+1
| | | | Guenther
* spoolss: add ndr_size_spoolss_StringArray to spoolss helper.Günther Deschner2009-02-192-0/+11
| | | | Guenther
* s3: re-run make samba3-idl.Günther Deschner2009-02-193-7/+1
| | | | Guenther
* spoolss: remove gensize calculation from spoolss_StringArray. Thanks metze!Günther Deschner2009-02-191-1/+1
| | | | Guenther
* Fix a buffer handling bug when adding lots of registry keysVolker Lendecke2009-02-191-9/+24
| | | | | This is *ancient*... From 2002, and nobody noticed until someone added lots of shares using net conf... :-)
* s3: re-run make samba3-idl.Günther Deschner2009-02-196-0/+358
| | | | Guenther
* spoolss: fill in spoolss_GetPrintProcessorDirectory.Günther Deschner2009-02-191-1/+17
| | | | Guenther
* s3-libnet: fix coverity #848 (UNINIT).Günther Deschner2009-02-191-1/+1
| | | | Guenther
* s4:librpc/ndr: if uninitialized variable in string_array codeStefan Metzmacher2009-02-191-1/+1
| | | | metze
* s3:librpc/ndr: if uninitialized variable in string_array codeStefan Metzmacher2009-02-191-1/+1
| | | | metze
* librpc: rerun make idlStefan Metzmacher2009-02-191-1/+1
|
* pidl:NDR/Parser: don't call [noopnum] function when creating the ↵Stefan Metzmacher2009-02-191-3/+3
| | | | | | ndr_interface_table metze
* s3 OneFS: Fixes "inherit permissions" and "nt acl support" for Onefs.Zack Kirsch2009-02-191-1/+11
|
* S3: Dumb down debug spew in perfcount module codetodd stecher2009-02-191-4/+4
|
* S3: Make changes to perfcount API set for when a single request leads to ↵todd stecher2009-02-194-16/+120
| | | | | | multiple replies (e.g. reply_echo). Change test and onefs modules to match new api set (thanks Volker!).
* s4 torture: Add new test to create a file with a lot of streamsTim Prouty2009-02-181-0/+45
| | | | | | | | | | | This tests how streaminfo deals with large buffers smbclient seems to have problems when the buffer size approaches the max data size. Also smbclient exposes no way to specify the max data size that is sent in a trans2 request. Instead it hardcodes in a much larger max than windows uses. For these reasons this test isn't actually run, but is more of a reference for how windows handles streaminfo buffers.
* s3: Fix bug opening streams with truncating dispositionTim Prouty2009-02-181-1/+1
| | | | | | | Do not attempt to delete streams on a truncating open, if the name we're opening is itself a stream. Port 176e8857203944bc332844b700749120ce90c891 to standard open path
* s4 torture: Add additional streams create disposition testTim Prouty2009-02-181-0/+20
|
* s3: OneFS: Pass in the client's fnum to the ifs_cbrl syscall.Zack Kirsch2009-02-181-3/+4
|
* s3: Fix OneFS bug opening streams with truncating dispositionAravind Srinivasan2009-02-181-1/+1
| | | | | Do not attempt to delete streams on a truncating open, if the name we're opening is itself a stream
* s3: Fix streams enumeration bug in OneFS implementationAravind Srinivasan2009-02-183-18/+68
| | | | | | | | | | | | | Previously, we didn’t call SMB_VFS_OPEN_DIR from the streams module, instead we called fdopendir(). As a result we failed to populate the dir_state list in the readdirplus module. So when we tried to view the stream data, we will always returned NULL. To solve this I separated onefs_opendir() and the initialization of the dir_state list. This is done by introducing a new utility function “onefs_rdp_add_dir_state()”, which initializes the dir_state structure and adds it to the dir_state list. This function is called from the streams module before calling readdir().
* S3: Log warning in smbstatus about lack of pid in anonymous mode.todd stecher2009-02-181-0/+4
|