summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
| * s4-smbtorture: expand RPC-SPOOLSS enumform and getform tests for level 2 forms.Günther Deschner2009-02-251-32/+42
| | | | | | | | Guenther
| * s4-smbtorture: add test_GetPrintProcessorDirectory to RPC-SPOOLSS.Günther Deschner2009-02-251-0/+64
| | | | | | | | Guenther
| * s4: make libintl a build dependency of heimdal_krb5 so all dependent ↵Tim Prouty2009-02-251-1/+1
| | | | | | | | binaries are linked properly
| * Use stdbool.h instead of manually defining boolSimo Sorce2009-02-251-10/+1
| |
| * s4:lib/events: map TEVENT_DEBUG_TRACE to debug level 10Stefan Metzmacher2009-02-251-1/+1
| | | | | | | | metze
| * Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-02-2539-2078/+408
| |\ | | | | | | | | | | | | Conflicts: source4/scripting/python/samba/provision.py
| | * s4 heimdal: Link libintl correctlyTim Prouty2009-02-251-0/+6
| | |
| | * s4:build: add some comments to the SMB_EXT_LIB() definitionStefan Metzmacher2009-02-251-0/+7
| | | | | | | | | | | | metze
| | * Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison2009-02-243-31/+9
| | |\
| | * | Added torture test from a usage case from the Apple OS/X client.Jeremy Allison2009-02-241-0/+119
| | | | | | | | | | | | | | | | | | | | | | | | Setting an attribute on a stream fnum must change the attribute on the base file. Jeremy.
| * | | Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-02-2430-97/+117
| |\ \ \
| * | | | expand tabs in python file, consistent with the rest of the file.Jelmer Vernooij2009-02-244-9/+9
| | | | |
| * | | | expand tabs in python file, consistent with the rest of the file.Jelmer Vernooij2009-02-241-39/+39
| | | | |
| * | | | Fix finding of setup data.Jelmer Vernooij2009-02-241-1/+1
| | | | |
* | | | | Add the new, updated AD schema file from MicrosoftAndrew Bartlett2009-02-254-1623/+1585
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove the copy of the licence text from licence.txt, to ensure we don't get variations between the copies. Andrew Bartlett
* | | | | Don't parse the schema data twiceAndrew Bartlett2009-02-251-12/+8
| | | | |
* | | | | Tolerate more whitespace errorsAndrew Bartlett2009-02-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to trim trailing spaces in the Microsoft-supplied schema. Andrew Bartlett
* | | | | Create schema.ldif at runtime directly from ad-schema filesSreepathi Pai2009-02-252-5/+278
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here's a first attempt at moving the minschema_wspp code into a library as Andrew requested. Since this script no longer has to generate CN=aggregate, I've simplified it quite a bit to a level where it almost does a line-by-line translation. This is faster and simpler, but it may not catch as many errors in the ad-schema files as the previous versions did. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* | | | Updates to the recent cn=config support for the OpenLDAP backendOliver Liebel2009-02-253-31/+9
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - removed workaround for olcSyncprovConfig - creation (works perfect now with 2.4.15, release was today) - added 1 message-helpline, which is displayed when running provision-backend with olc and/or mmr setup - corrected 1 wrong slapcommand-helpline - slapd.conf is removed now in case of olc-setup - added 1 copyright-line to provision.py and provision-backend Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* | | Make S4 build on OpenSolaris.Jeremy Allison2009-02-242-1/+3
| | | | | | | | | | | | Jeremy.
* | | Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison2009-02-241-11/+22
|\ \ \
| * | | Fix some C++ warningsVolker Lendecke2009-02-241-11/+22
| | | |
* | | | Fix the build. Looks like no one ever compiled this on a systemJeremy Allison2009-02-243-0/+16
|/ / / | | | | | | | | | | | | with a libintl.h before. Jeremy.
* | | Start fixing Solaris build failures.Jeremy Allison2009-02-243-3/+4
| | | | | | | | | | | | Jeremy.
* | | libcli/ldap: move generic ldap control encoding code to ldap_message.cStefan Metzmacher2009-02-244-137/+14
| | | | | | | | | | | | | | | | | | | | | As they can we static there, we pass the specific handlers as parameter where we need to support controls. metze
* | | s4:libcli/ldap: don't use 'void **out' as arguments as the behavior is not ↵Stefan Metzmacher2009-02-241-17/+32
| | | | | | | | | | | | | | | | | | defined in C. metze
* | | libcli/ldap: move ldap_ndr from source4/ to toplevelStefan Metzmacher2009-02-244-115/+2
| | | | | | | | | | | | metze
* | | libcli/ldap: move ldap_errors.h to the toplevel and install itStefan Metzmacher2009-02-243-67/+2
| | | | | | | | | | | | metze
* | | libcli/ldap: move ldap_message.[ch] from source4/ to the toplevelStefan Metzmacher2009-02-246-1702/+4
| | | | | | | | | | | | metze
* | | s4:libcli/ldap: remove reference to DEBUG()Stefan Metzmacher2009-02-241-1/+0
| | | | | | | | | | | | | | | | | | This prepares using ldap_message.c in source3/ later metze
* | | s4:libcli: split out LIBCLI_LDAP_MESSAGE subsystemStefan Metzmacher2009-02-246-287/+301
| | | | | | | | | | | | metze
* | | Added mmr and olc to the OpenLDAP backend provisioning-scriptsOliver Liebel2009-02-2413-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>
* | | Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2009-02-2430-97/+117
|\ \ \ | | |/ | |/|
| * | Fix headers, ldb_includes.h is a private header,Simo Sorce2009-02-2328-38/+42
| | | | | | | | | | | | do not reference it from ldb.h
| * | Make all transactions nested in ldb. The current samba4 code expects thisSimo Sorce2009-02-232-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.
* | fixed the event context for net vampireAndrew Tridgell2009-02-241-1/+1
| |
* | added a missing linefeedAndrew Tridgell2009-02-241-1/+1
|/
* s4-smbtorture: fix eventlog getinformation test.Günther Deschner2009-02-211-4/+4
| | | | Guenther
* Let --enable-external-libldb default to no (since linking againstJelmer Vernooij2009-02-212-4/+5
| | | | | external LDB doesn't work yet). Fix flags when using internal libs.
* 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.