summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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
|
* S3: Stop creating SMBD cores when failing to create a pipe.todd stecher2009-02-183-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.
* S3: Allow SMBD processes to survive in low memory condidtionstodd stecher2009-02-183-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.
* s3-spoolss: remove old spoolss_GetPrinterDriverDirectory.Günther Deschner2009-02-194-256/+0
| | | | Guenther
* s3-spoolss: use pidl for _spoolss_GetPrinterDriverDirectory.Günther Deschner2009-02-193-95/+38
| | | | Guenther
* s3-rpcclient: use rpccli_spoolss_GetPrinterDriverDirectory in rpcclient.Günther Deschner2009-02-191-17/+37
| | | | Guenther
* s3-spoolss: add support for "AddPort" via _spoolss_XcvData for Vista.Günther Deschner2009-02-191-9/+68
| | | | Guenther
* Interesting C compiler you have there... :-)Volker Lendecke2009-02-191-1/+1
|
* Fix coverity CID-602. Possible use of uninitialized var.Jeremy Allison2009-02-181-1/+1
| | | | Jeremy.
* s3-spoolss: remove old spoolss_XcvData.Günther Deschner2009-02-184-234/+0
| | | | Guenther
* s3-spoolss: use pidl for _spoolss_XcvData.Günther Deschner2009-02-183-84/+113
| | | | Guenther
* Don't miss an absolute pathname as a kerberos keytab path. From Glenn Machin ↵Jeremy Allison2009-02-171-0/+5
| | | | | | <gmachin@sandia.gov>. Jeremy.
* Fix bug #6117 - Samba 3.3.0: pdbedit -a core dumps.Jeremy Allison2009-02-171-1/+12
| | | | Jeremy.
* Fix warning about missmatch of uint32_t and size_t.Jeremy Allison2009-02-171-1/+1
| | | | Jeremy.
* s3:winbindd: make do_async_domain() static.Michael Adam2009-02-172-12/+6
| | | | Michael
* s3:build: improve the check for a working krb5-config.Michael Adam2009-02-171-1/+1
| | | | | | | | | | | Not only check if it exists and is executable, but also check whether it accepts the command line "krb5-config --libs gssapi". Chris Hoogendyk <hoogendyk@bio.umass.edu> has reported configure failing on a Solaris machine due to krb5-config raising errors on these options. Michael
* s3-spoolss: remove old spoolss_ResetPrinter.Günther Deschner2009-02-173-62/+0
| | | | Guenther
* s3-spoolss: use pidl for _spoolss_ResetPrinter.Günther Deschner2009-02-172-38/+10
| | | | Guenther
* s3-netapi: fix Coverity #881 and #882.Günther Deschner2009-02-171-7/+56
| | | | Guenther
* Fix an invalid typecastingVolker Lendecke2009-02-171-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | entry->num_of_strings is a uint16_t. Casting it with (int *)&entry->num_of_strings is wrong, because it gives add_string_to_array the illusion that the object "num" points to is an int, which it is not. In case we are running on a machine where "int" is 32 or 64 bits long, what happens with that cast? "add_string_to_array" interprets the byte field that starts where "num_of_strings" starts as an int. Under very particular circumstances this might work in a limited number of cases: When the byte order of an int is such that the lower order bits of the int are stored first, the subsequent bytes which do not belong to the uint16_t anymore happen to be 0 and the result of the increment still fits into the first 2 bytes of that int, i.e. the result is < 65536. The correct solution to this problem is to use the implicit type conversion that happens when an assignment is done. BTW, this bug is found if you compile with -O3 -Wall, it shows up as a warning: rpc_server/srv_eventlog_lib.c:574: warning: dereferencing type-punned pointer will break strict-aliasing rules Thanks, Volker
* s3-rpcclient: use rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx.Günther Deschner2009-02-171-20/+29
| | | | Guenther
* Fix bug 5920Yasuma Takeda2009-02-161-1/+1
| | | | | The length of the memcpy was calculated wrong, r->out.return_authenticator is a pointer
* s3:netlogon: implement _netr_LogonGetCapabilities() with ↵Stefan Metzmacher2009-02-161-4/+3
| | | | | | | | NT_STATUS_NOT_IMPLEMENTED This hopefully fixes bug #6100. metze
* s3 auth: Add parameter that forces every user through an NSS lookupZach Loafman2009-02-163-4/+35
| | | | | | When set to yes, "force username map" forces every user, even AD users, through an NSS lookup. This allows the token to be overridden with information from NSS in certain broken environments.
* s3 perfcount: Fix segfault with smbclient 'echo 3 foo'Tim Prouty2009-02-161-33/+11
|
* s3 OneFS: Add defaults to the fake timestamp parametersTim Prouty2009-02-162-8/+19
|
* make receive_smb_raw_talloc more readableTim Prouty2009-02-161-4/+4
|
* Attempt to fix bug #6099. According to MicrosoftJeremy Allison2009-02-151-17/+26
| | | | | | | | | | Windows 7 looks at the negotiate_flags returned in this structure *even if the call fails with access denied ! So in order to allow Win7 to connect to a Samba NT style PDC we set the flags before we know if it's an error or not. Jeremy.
* remove accidental white spaceDerrell Lipman2009-02-141-1/+0
|
* enums are traditionally signed. Avoid use of high bit in bit flags.Derrell Lipman2009-02-141-3/+3
|
* Get rid of the warnings I had for testingDerrell Lipman2009-02-141-5/+0
|
* It seems some systems use f_flags instead of f_flag. Use the appropriate one.Derrell Lipman2009-02-142-4/+28
|
* Remove a pointless NULL checkVolker Lendecke2009-02-141-3/+0
|
* Fix some nonempty blank linesVolker Lendecke2009-02-141-22/+22
|
* Rename lp_smb_perfcount_module() to lp_perfcount_module() to match the ↵Volker Lendecke2009-02-143-3/+3
| | | | parameter name
* Replace a // style comment with a /* */ oneVolker Lendecke2009-02-141-1/+1
|
* Fix some C++ warningsVolker Lendecke2009-02-141-7/+14
|
* Make smb_load_perfcount_module staticVolker Lendecke2009-02-141-1/+1
|
* f_frsize field is not ubiquitous. Check for it.Derrell Lipman2009-02-141-0/+4
|
* The f_fsid field is not always an integer type. Don't set it in that case.Derrell Lipman2009-02-141-0/+5
|
* Ensure consistency of values on stack (caught by AIX compiler)Derrell Lipman2009-02-141-16/+16
|
* Check for the right error return valueDerrell Lipman2009-02-141-2/+3
|
* [Bug 6069] Add a fstatvfs function for libsmbclientDerrell Lipman2009-02-144-26/+11
| | | | | | | - Revert Tim's changes for the moment. I need to see what the issue is and arrange to use "struct statvfs" if at all possible. Derrell
* Attempt to fix the build on Solaris 8Volker Lendecke2009-02-141-1/+1
|
* Fix a valgrind errorVolker Lendecke2009-02-141-1/+5
|
* s3 OneFS: Add recvfile implementationTim Prouty2009-02-133-0/+198
|