Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-02-19 | s3: Add extid to the dev/inode pair | Tim Prouty | 14 | -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. | |||||
2009-02-19 | s3: Modify SMB_VFS_FILE_ID_CREATE to take a stat struct | Tim Prouty | 12 | -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. | |||||
2009-02-19 | Fix printf warnings found on systems where time_t <> long int. | Jeremy Allison | 3 | -10/+11 | |
Jeremy. | |||||
2009-02-19 | Fix printf type warning. | Jeremy Allison | 1 | -2/+2 | |
Jeremy. | |||||
2009-02-19 | Fix an uninitialized variable | Volker Lendecke | 1 | -0/+1 | |
2009-02-19 | Fix a O(n^2) algorithm in regdb_fetch_keys() | Volker Lendecke | 1 | -5/+27 | |
2009-02-19 | s3-spoolss: fix vista fallback in _spoolss_AddPrinterDriverEx. | Günther Deschner | 1 | -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 | |||||
2009-02-19 | s3-spoolss: remove old spoolss_AddPrinterDriver{Ex}. | Günther Deschner | 3 | -207/+0 | |
Guenther | |||||
2009-02-19 | s3-spoolss: use pidl for _spoolss_AddPrinterDriver{Ex}. | Günther Deschner | 3 | -130/+218 | |
Guenther | |||||
2009-02-19 | s3-spoolss: remove old spoolss_GetPrintProcessorDirectory. | Günther Deschner | 4 | -233/+0 | |
Guenther | |||||
2009-02-19 | s3-spoolss: use pidl for _spoolss_GetPrintProcessorDirectory. | Günther Deschner | 3 | -83/+46 | |
Guenther. | |||||
2009-02-19 | s3-rpcclient: use rpccli_spoolss_GetPrintProcessorDirectory in rpcclient. | Günther Deschner | 1 | -12/+35 | |
Guenther | |||||
2009-02-19 | s3-spoolss: fix _spoolss_GetPrinterDriverDirectory. | Günther Deschner | 1 | -1/+6 | |
treat architecture correctly as it is a [unique] pointer, and newer Windows versions sometimes send in an empty string. Guenther | |||||
2009-02-19 | s3-rpcclient: use SPOOLSS_ARCHITECTURE_NT_X86 define in spoolss getdriverdir ↵ | Günther Deschner | 1 | -1/+1 | |
cmd. Guenther | |||||
2009-02-19 | s3-spoolss: _spoolss_OpenPrinterEx needs to wipe out policy handle upon failure. | Günther Deschner | 1 | -0/+10 | |
Guenther | |||||
2009-02-19 | s3-spoolss: _spoolss_AddPrinterEx needs to wipe out policy handle upon failure. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-02-19 | spoolss: add ndr_size_spoolss_StringArray to spoolss helper. | Günther Deschner | 2 | -0/+11 | |
Guenther | |||||
2009-02-19 | s3: re-run make samba3-idl. | Günther Deschner | 3 | -7/+1 | |
Guenther | |||||
2009-02-19 | spoolss: remove gensize calculation from spoolss_StringArray. Thanks metze! | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-02-19 | Fix a buffer handling bug when adding lots of registry keys | Volker Lendecke | 1 | -9/+24 | |
This is *ancient*... From 2002, and nobody noticed until someone added lots of shares using net conf... :-) | |||||
2009-02-19 | s3: re-run make samba3-idl. | Günther Deschner | 6 | -0/+358 | |
Guenther | |||||
2009-02-19 | spoolss: fill in spoolss_GetPrintProcessorDirectory. | Günther Deschner | 1 | -1/+17 | |
Guenther | |||||
2009-02-19 | s3-libnet: fix coverity #848 (UNINIT). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-02-19 | s4:librpc/ndr: if uninitialized variable in string_array code | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-02-19 | s3:librpc/ndr: if uninitialized variable in string_array code | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-02-19 | librpc: rerun make idl | Stefan Metzmacher | 1 | -1/+1 | |
2009-02-19 | pidl:NDR/Parser: don't call [noopnum] function when creating the ↵ | Stefan Metzmacher | 1 | -3/+3 | |
ndr_interface_table metze | |||||
2009-02-19 | s3 OneFS: Fixes "inherit permissions" and "nt acl support" for Onefs. | Zack Kirsch | 1 | -1/+11 | |
2009-02-19 | S3: Dumb down debug spew in perfcount module code | todd stecher | 1 | -4/+4 | |
2009-02-19 | S3: Make changes to perfcount API set for when a single request leads to ↵ | todd stecher | 4 | -16/+120 | |
multiple replies (e.g. reply_echo). Change test and onefs modules to match new api set (thanks Volker!). | |||||
2009-02-18 | s4 torture: Add new test to create a file with a lot of streams | Tim Prouty | 1 | -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. | |||||
2009-02-18 | s3: Fix bug opening streams with truncating disposition | Tim Prouty | 1 | -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 | |||||
2009-02-18 | s4 torture: Add additional streams create disposition test | Tim Prouty | 1 | -0/+20 | |
2009-02-18 | s3: OneFS: Pass in the client's fnum to the ifs_cbrl syscall. | Zack Kirsch | 1 | -3/+4 | |
2009-02-18 | s3: Fix OneFS bug opening streams with truncating disposition | Aravind Srinivasan | 1 | -1/+1 | |
Do not attempt to delete streams on a truncating open, if the name we're opening is itself a stream | |||||
2009-02-18 | s3: Fix streams enumeration bug in OneFS implementation | Aravind Srinivasan | 3 | -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(). | |||||
2009-02-18 | S3: Log warning in smbstatus about lack of pid in anonymous mode. | todd stecher | 1 | -0/+4 | |
2009-02-18 | S3: Stop creating SMBD cores when failing to create a pipe. | todd stecher | 3 | -4/+22 | |
This was uncovered when the MAX FD limit was hit, causing an instant core and invoking error reporting. This fix causes SMBD to exit, but without building a core. | |||||
2009-02-18 | S3: Allow SMBD processes to survive in low memory condidtions | todd stecher | 3 | -0/+39 | |
This commit adds a configure argument which allows for setting MADV_PROTECT in the madvise() API. With this enabled the kernel won't kill SMBD when it's running low on memory. | |||||
2009-02-19 | s3-spoolss: remove old spoolss_GetPrinterDriverDirectory. | Günther Deschner | 4 | -256/+0 | |
Guenther | |||||
2009-02-19 | s3-spoolss: use pidl for _spoolss_GetPrinterDriverDirectory. | Günther Deschner | 3 | -95/+38 | |
Guenther | |||||
2009-02-19 | s3-rpcclient: use rpccli_spoolss_GetPrinterDriverDirectory in rpcclient. | Günther Deschner | 1 | -17/+37 | |
Guenther | |||||
2009-02-19 | s3: re-run make samba3-idl. | Günther Deschner | 3 | -3/+11 | |
Guenther | |||||
2009-02-19 | spoolss: make spoolss_DriverDirectoryInfo1 public and gensize. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-02-19 | s3-spoolss: add support for "AddPort" via _spoolss_XcvData for Vista. | Günther Deschner | 1 | -9/+68 | |
Guenther | |||||
2009-02-19 | Interesting C compiler you have there... :-) | Volker Lendecke | 1 | -1/+1 | |
2009-02-19 | s3: re-run make samba3-idl. | Günther Deschner | 3 | -6/+122 | |
Guenther | |||||
2009-02-19 | spoolss: add spoolss_PortData2 (used by vista). | Günther Deschner | 1 | -0/+17 | |
Guenther | |||||
2009-02-19 | spoolss: use spoolss access mask in OpenPrinter{Ex}. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2009-02-18 | Fix coverity CID-602. Possible use of uninitialized var. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. |