summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-02-19S3: Make changes to perfcount API set for when a single request leads to ↵todd stecher4-16/+120
multiple replies (e.g. reply_echo). Change test and onefs modules to match new api set (thanks Volker!).
2009-02-18s4 torture: Add new test to create a file with a lot of streamsTim Prouty1-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-18s3: Fix bug opening streams with truncating dispositionTim Prouty1-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-18s4 torture: Add additional streams create disposition testTim Prouty1-0/+20
2009-02-18s3: OneFS: Pass in the client's fnum to the ifs_cbrl syscall.Zack Kirsch1-3/+4
2009-02-18s3: Fix OneFS bug opening streams with truncating dispositionAravind Srinivasan1-1/+1
Do not attempt to delete streams on a truncating open, if the name we're opening is itself a stream
2009-02-18s3: Fix streams enumeration bug in OneFS implementationAravind Srinivasan3-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-18S3: Log warning in smbstatus about lack of pid in anonymous mode.todd stecher1-0/+4
2009-02-18S3: Stop creating SMBD cores when failing to create a pipe.todd stecher3-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-18S3: Allow SMBD processes to survive in low memory condidtionstodd stecher3-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-19s3-spoolss: remove old spoolss_GetPrinterDriverDirectory.Günther Deschner4-256/+0
Guenther
2009-02-19s3-spoolss: use pidl for _spoolss_GetPrinterDriverDirectory.Günther Deschner3-95/+38
Guenther
2009-02-19s3-rpcclient: use rpccli_spoolss_GetPrinterDriverDirectory in rpcclient.Günther Deschner1-17/+37
Guenther
2009-02-19s3: re-run make samba3-idl.Günther Deschner3-3/+11
Guenther
2009-02-19spoolss: make spoolss_DriverDirectoryInfo1 public and gensize.Günther Deschner1-1/+1
Guenther
2009-02-19s3-spoolss: add support for "AddPort" via _spoolss_XcvData for Vista.Günther Deschner1-9/+68
Guenther
2009-02-19Interesting C compiler you have there... :-)Volker Lendecke1-1/+1
2009-02-19s3: re-run make samba3-idl.Günther Deschner3-6/+122
Guenther
2009-02-19spoolss: add spoolss_PortData2 (used by vista).Günther Deschner1-0/+17
Guenther
2009-02-19spoolss: use spoolss access mask in OpenPrinter{Ex}.Günther Deschner1-2/+2
Guenther
2009-02-18Fix coverity CID-602. Possible use of uninitialized var.Jeremy Allison1-1/+1
Jeremy.
2009-02-18s4-smbtorture: enable spoolss_AddPrinterDriverEx ndr test.Günther Deschner1-1/+1
Guenther
2009-02-18s3: re-run make samba3-idl.Günther Deschner5-64/+1886
Guenther
2009-02-18spoolss: fix idl for spoolss_AddPrinterDriver and spoolss_AddPrinterDriverEx.Günther Deschner1-6/+9
Guenther
2009-02-18spoolss: add spoolss_AddDriverInfo8 (used by vista for adding drivers).Günther Deschner1-0/+34
Guenther
2009-02-18s3-spoolss: remove old spoolss_XcvData.Günther Deschner4-234/+0
Guenther
2009-02-18s3-spoolss: use pidl for _spoolss_XcvData.Günther Deschner3-84/+113
Guenther
2009-02-18s3: re-run make samba3-idl.Günther Deschner2-13/+14
Guenther
2009-02-18spoolss: fix spoolss_MonitorUi struct.Günther Deschner1-1/+1
Guenther
2009-02-18s3: re-run make samba3-idl.Günther Deschner3-0/+178
Guenther
2009-02-18spoolss: add spoolss_MonitorUi struct.Günther Deschner1-0/+4
Guenther
2009-02-18spoolss: add spoolss_PortData1.Günther Deschner1-0/+24
Guenther
2009-02-18tevent: add tevent_wakeup_send/recv()Stefan Metzmacher3-1/+76
This can be used as tevent_req based timer event. metze
2009-02-18tevent: rename tevent_req_set_timeout() => tevent_req_set_endtime()Stefan Metzmacher2-2/+2
This makes more clear what the function does. metze
2009-02-18s4:netlogon: don't mix in and out negotiate_flags in ↵Stefan Metzmacher1-3/+4
dcesrv_netr_ServerAuthenticate() metze
2009-02-18Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-develAndrew Bartlett8-11/+69
2009-02-18paper over failure to reprovision with os.unlink()Andrew Bartlett1-1/+2
We need to figure out why the deletes on the database fail, but for now doing an unlink of templates_tdb isn't too bad. Andrew Bartlett
2009-02-18Worked around a problem with select/poll/epoll and gnutls Andrew Tridgell5-1/+47
Our packet layer relies on the event system reliably telling us when a packet is available. When we are using a socket layer like TLS then things get a bit trickier, as there may be bytes in the encryption buffer which could be read even if there are no bytes at the socket level. The GNUTLS library is supposed to prevent this happening by always leaving some data at the socket level when there is data to be processed in its buffers, but it seems that this is not always reliable. To work around this I have added a new packet option packet_set_unreliable_select() which tells the packet layer to not assume that the socket layer has a reliable select, and to instead keep trying to read from the socket until it gets back no data. This option is set for the ldap client and server when TLS is negotiated. This seems to fix the problems with the ldaps tests.
2009-02-18fixed some of the TLS problemsAndrew Tridgell3-10/+22
This fixes two things in the TLS support for Samba4. The first is to use a somewhat more correct hostname instead of 'Samba' when generating the test certificates. That allows TLS test clients (such as gnutls-cli) to connect to Samba4 using auto-generated certificates. The second fix is to add a call to gcry_control() to tell gcrypt to use /dev/urandom instead of /dev/random (on systems that support that). That means that test certificate generation is now very fast, which was previously an impediment to putting the TLS tests on the build farm.
2009-02-17Don't miss an absolute pathname as a kerberos keytab path. From Glenn Machin ↵Jeremy Allison1-0/+5
<gmachin@sandia.gov>. Jeremy.
2009-02-17Fix bug #6117 - Samba 3.3.0: pdbedit -a core dumps.Jeremy Allison1-1/+12
Jeremy.
2009-02-17Fix warning about missmatch of uint32_t and size_t.Jeremy Allison1-1/+1
Jeremy.
2009-02-17docs: extend the example in the idmp_rid manpage to configure 2 domains with ridMichael Adam1-1/+13
Michael
2009-02-17docs: extend the idmap_rid manpageMichael Adam1-5/+24
Michael
2009-02-17s3:winbindd: make do_async_domain() static.Michael Adam2-12/+6
Michael
2009-02-17s3:build: improve the check for a working krb5-config.Michael Adam1-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
2009-02-17s4-smbtorture: fix spoolss test after count out,ref idl changes.Günther Deschner3-10/+38
Guenther
2009-02-17s4-spoolss: fix spoolss server after out,ref count pointer changes.Günther Deschner2-15/+14
Guenther
2009-02-17spoolss: fix spoolss helper for out ref count pointer.Günther Deschner1-2/+4
Guenther
2009-02-17s3: re-run make samba3-idl.Günther Deschner5-112/+294
Guenther