summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* Add --enable-external-* flags for libraries shipped with Samba, to allowJelmer Vernooij2009-02-212-5/+26
| | | | | explicitly enabling or disabling the use of the version provided by the system.
* s4 torture: Add comment to clarify testZack Kirsch2009-02-201-0/+3
|
* Moved become_daemon() and close_low_fds() to shared util libSteven Danneman2009-02-201-1/+1
|
* 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
* s4:librpc/ndr: if uninitialized variable in string_array codeStefan Metzmacher2009-02-191-1/+1
| | | | metze
* 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.
* s4 torture: Add additional streams create disposition testTim Prouty2009-02-181-0/+20
|
* s4-smbtorture: enable spoolss_AddPrinterDriverEx ndr test.Günther Deschner2009-02-181-1/+1
| | | | Guenther
* s4:netlogon: don't mix in and out negotiate_flags in ↵Stefan Metzmacher2009-02-181-3/+4
| | | | | | dcesrv_netr_ServerAuthenticate() metze
* Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-develAndrew Bartlett2009-02-188-11/+69
|\
| * Worked around a problem with select/poll/epoll and gnutls Andrew Tridgell2009-02-185-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.
| * fixed some of the TLS problemsAndrew Tridgell2009-02-183-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.
* | paper over failure to reprovision with os.unlink()Andrew Bartlett2009-02-181-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
* s4-smbtorture: fix spoolss test after count out,ref idl changes.Günther Deschner2009-02-173-10/+38
| | | | Guenther
* s4-spoolss: fix spoolss server after out,ref count pointer changes.Günther Deschner2009-02-172-15/+14
| | | | Guenther
* s4-spoolss: fix dcesrv_spoolss_RemoteFindFirstPrinterChangeNotifyEx server.Günther Deschner2009-02-171-5/+6
| | | | Guenther
* s4-smbtorture: fix spoolss notify test.Günther Deschner2009-02-171-14/+14
| | | | Guenther
* s4:netlogon: implement netr_LogonGetCapabilities with NT_STATUS_NOT_IMPLEMENTEDStefan Metzmacher2009-02-161-4/+5
| | | | | | This hopefully fixes bug #6109. metze
* s4:netlogon: always return correct negotiate_flags in Authenticate[2|3]()Stefan Metzmacher2009-02-161-1/+31
| | | | metze
* s4-smbtorture: fix test_PausePrinter and test_ResumePrinter.Günther Deschner2009-02-141-8/+24
| | | | Guenther
* s4 torture: Add rename test to imitate the way OS X renames filesAravind Srinivasan2009-02-131-0/+83
| | | | | This tests for mis-behaved case-insensitive get_real_filename implementations.
* Fix the build. When you do "make distclean; ./autogen; ./configure; make" ↵Jeremy Allison2009-02-131-0/+4
| | | | | | and it still doesn't build you know it's messed up. Jeremy.
* s4:configure: require the same version for external and internal libteventStefan Metzmacher2009-02-131-1/+1
| | | | | | Until we reach 1.0.0, we better require the exact same version. metze
* s4:lib/socket: add socket_address_copy()Stefan Metzmacher2009-02-132-0/+35
| | | | metze
* s4:ldb_ildap: remove compiler warningsStefan Metzmacher2009-02-131-4/+9
| | | | metze
* s4:libcli/ldap: use const char * const *attributes as in all other placesStefan Metzmacher2009-02-132-2/+2
| | | | metze
* s4:ntvfs_generic: use talloc_get_type() to remote compiler warningsStefan Metzmacher2009-02-131-3/+5
| | | | metze
* s4:torture/samba3rpc: fix the build after get_myname() changesStefan Metzmacher2009-02-131-3/+3
| | | | metze
* Remove the s4 version of smbspool.cVolker Lendecke2009-02-131-353/+0
|
* Replace get_myname() with the talloc version from v3-3-testVolker Lendecke2009-02-132-4/+4
|
* Remove useless invocation of messaging_init() in RPC-PAC testAndrew Bartlett2009-02-131-9/+0
|
* Push sam_get_server_info_principal into the auth subsystemAndrew Bartlett2009-02-138-63/+122
| | | | | | | | | This means it must be accessed via the supplied auth_context in the GENSEC server, and should remove the hard depenceny of GENSEC on the auth subsystem and ldb (allowing LDB not to rely on LDB is considered a good thing, apparently) Andrew Bartlett
* Remove auth/ntlm as a dependency of GENSEC by means of function pointers.Andrew Bartlett2009-02-1322-110/+230
| | | | | | | | | | | When starting GENSEC on the server, the auth subsystem context must be passed in, which now includes function pointers to the key elements. This should (when the other dependencies are fixed up) allow GENSEC to exist as a client or server library without bundling in too much of our server code. Andrew Bartlett
* Fix Coverity ID 871 -- do not dereference "sp" before checking for NULLVolker Lendecke2009-02-121-1/+3
|
* Fix Coverity ID 872 -- we have alread dereferenced "ac" 2 lines aboveVolker Lendecke2009-02-121-1/+1
|
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-02-125-18/+579
|\
| * s4-smbtorture: fix the build of the ndr spoolss tester.Günther Deschner2009-02-111-4/+4
| | | | | | | | Guenther
| * s4-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.Günther Deschner2009-02-111-6/+6
| | | | | | | | Guenther
| * s4 torture: Smbtorture additions for Windows BRLZack Kirsch2009-02-112-5/+568
| | | | | | | | | | | | - Adds a few new BRL tests to RAW-LOCK - Adds a "win7" target to allow torture to handle protocol changes in windows 7
| * s4 torture: Two minor fixes to smbtorture BRL tests.Zack Kirsch2009-02-112-3/+1
| |
* | Provide a SamDB TestCase-class that can be used by OpenChange.Jelmer Vernooij2009-02-121-0/+10
| |
* | Use created loadparm context, rather than the one specified on the command-line.Jelmer Vernooij2009-02-121-2/+2
| |
* | Catch specific exceptions, rather than catching everything, which might hide ↵Jelmer Vernooij2009-02-111-3/+3
|/ | | | other exceptions silently.
* Use convenience function for finding setup dir in SaMDB tests.Jelmer Vernooij2009-02-111-2/+2
|
* Use convenience function for finding setup_dir based on location ofJelmer Vernooij2009-02-114-5/+23
| | | | python module.
* Move some samdb-specific code out of provision.Jelmer Vernooij2009-02-112-6/+10
|
* Make it possible to override the setup path.Jelmer Vernooij2009-02-111-9/+11
|
* Cancel transactions when exceptions are raised.Jelmer Vernooij2009-02-112-83/+93
|
* --interactive doesn't take any argument.Jelmer Vernooij2009-02-111-1/+1
|
* s4 torture: Change nttransrename to use a normal access maskTim Prouty2009-02-101-1/+1
| | | | batch9 already tests for stat-only opens