summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2009-02-24Added torture test from a usage case from the Apple OS/X client.Jeremy Allison1-0/+119
Setting an attribute on a stream fnum must change the attribute on the base file. Jeremy.
2009-02-24Make S4 build on OpenSolaris.Jeremy Allison2-1/+3
Jeremy.
2009-02-24Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison1-11/+22
2009-02-24Fix the build. Looks like no one ever compiled this on a systemJeremy Allison3-0/+16
with a libintl.h before. Jeremy.
2009-02-24Fix some C++ warningsVolker Lendecke1-11/+22
2009-02-24Start fixing Solaris build failures.Jeremy Allison3-3/+4
Jeremy.
2009-02-24libcli/ldap: move generic ldap control encoding code to ldap_message.cStefan Metzmacher4-137/+14
As they can we static there, we pass the specific handlers as parameter where we need to support controls. metze
2009-02-24s4:libcli/ldap: don't use 'void **out' as arguments as the behavior is not ↵Stefan Metzmacher1-17/+32
defined in C. metze
2009-02-24libcli/ldap: move ldap_ndr from source4/ to toplevelStefan Metzmacher4-115/+2
metze
2009-02-24libcli/ldap: move ldap_errors.h to the toplevel and install itStefan Metzmacher3-67/+2
metze
2009-02-24libcli/ldap: move ldap_message.[ch] from source4/ to the toplevelStefan Metzmacher6-1702/+4
metze
2009-02-24s4:libcli/ldap: remove reference to DEBUG()Stefan Metzmacher1-1/+0
This prepares using ldap_message.c in source3/ later metze
2009-02-24s4:libcli: split out LIBCLI_LDAP_MESSAGE subsystemStefan Metzmacher6-287/+301
metze
2009-02-24Added mmr and olc to the OpenLDAP backend provisioning-scriptsOliver Liebel13-63/+224
These extensions add mmr (multi-master-replication) and olc (openldap-online-configuration) capabilities to the provisioning-scripts (provision-backend and provision.py), for use with the openldap-backend (only versions >=2.4.15!). Changes / additions made to the provision-backend -script: added new command-line-options: --ol-mmr-urls=<list of whitespace separated ldap-urls> for use with mmr (can be combined with --ol-olc=yes), --ol-olc=[yes/no] (activate automatic conversion from static slapd.conf to olc), --ol-slaptest=<path to slaptest binary> (needed in conjunction with --ol-olc=yes) Changes / additions made to the provision.py -script: added extensions, that will automatically generate the chosen mmr and/or olc setup for the openldap backend, according to the to chosen parameters set in the provision-backend script Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-02-24Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell30-97/+117
2009-02-24fixed the event context for net vampireAndrew Tridgell1-1/+1
2009-02-24added a missing linefeedAndrew Tridgell1-1/+1
2009-02-23Fix headers, ldb_includes.h is a private header,Simo Sorce28-38/+42
do not reference it from ldb.h
2009-02-23Make all transactions nested in ldb. The current samba4 code expects thisSimo Sorce2-59/+75
behavior anyway, and given we can only have one transaction active per ldb context this is the only sane model we can support. Fix ldb_tdb transactions, we could return back with an error with neither committing nor canceling the actual tdb transaction in some error paths within the ltdb commit and cancel transaction paths. Added also some debugging to trace what was going on.
2009-02-21s4-smbtorture: fix eventlog getinformation test.Günther Deschner1-4/+4
Guenther
2009-02-21Let --enable-external-libldb default to no (since linking againstJelmer Vernooij2-4/+5
external LDB doesn't work yet). Fix flags when using internal libs.
2009-02-21Add --enable-external-* flags for libraries shipped with Samba, to allowJelmer Vernooij2-5/+26
explicitly enabling or disabling the use of the version provided by the system.
2009-02-20s4 torture: Add comment to clarify testZack Kirsch1-0/+3
2009-02-20Moved become_daemon() and close_low_fds() to shared util libSteven Danneman1-1/+1
2009-02-20Added torture tests to RAW-NOTIFYSteven Danneman1-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
2009-02-19s4:librpc/ndr: if uninitialized variable in string_array codeStefan Metzmacher1-1/+1
metze
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-18s4 torture: Add additional streams create disposition testTim Prouty1-0/+20
2009-02-18s4-smbtorture: enable spoolss_AddPrinterDriverEx ndr test.Günther Deschner1-1/+1
Guenther
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-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-17s4-spoolss: fix dcesrv_spoolss_RemoteFindFirstPrinterChangeNotifyEx server.Günther Deschner1-5/+6
Guenther
2009-02-17s4-smbtorture: fix spoolss notify test.Günther Deschner1-14/+14
Guenther
2009-02-16s4:netlogon: implement netr_LogonGetCapabilities with NT_STATUS_NOT_IMPLEMENTEDStefan Metzmacher1-4/+5
This hopefully fixes bug #6109. metze
2009-02-16s4:netlogon: always return correct negotiate_flags in Authenticate[2|3]()Stefan Metzmacher1-1/+31
metze
2009-02-14s4-smbtorture: fix test_PausePrinter and test_ResumePrinter.Günther Deschner1-8/+24
Guenther
2009-02-13s4 torture: Add rename test to imitate the way OS X renames filesAravind Srinivasan1-0/+83
This tests for mis-behaved case-insensitive get_real_filename implementations.
2009-02-13Fix the build. When you do "make distclean; ./autogen; ./configure; make" ↵Jeremy Allison1-0/+4
and it still doesn't build you know it's messed up. Jeremy.
2009-02-13s4:configure: require the same version for external and internal libteventStefan Metzmacher1-1/+1
Until we reach 1.0.0, we better require the exact same version. metze
2009-02-13s4:lib/socket: add socket_address_copy()Stefan Metzmacher2-0/+35
metze
2009-02-13s4:ldb_ildap: remove compiler warningsStefan Metzmacher1-4/+9
metze
2009-02-13s4:libcli/ldap: use const char * const *attributes as in all other placesStefan Metzmacher2-2/+2
metze
2009-02-13s4:ntvfs_generic: use talloc_get_type() to remote compiler warningsStefan Metzmacher1-3/+5
metze
2009-02-13s4:torture/samba3rpc: fix the build after get_myname() changesStefan Metzmacher1-3/+3
metze
2009-02-13Remove the s4 version of smbspool.cVolker Lendecke1-353/+0