summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-16Typos in wintestZahari Zahariev2-3/+3
2010-12-16Fix old bug in openX code, exposed when "strict allocate" is set to true.Jeremy Allison1-5/+9
We need to return the file size here, not the allocation size, but we were not updating the stat struct after the vfs_set_filesize() call. Ensure we always use fresh data in openX replies. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Dec 16 02:37:58 CET 2010 on sn-devel-104
2010-12-15Change strict allocate to default to true. (cherry picked from commit ↵Jeremy Allison2-6/+7
820ea22a07b062b1717d35de8fa7051fc1067c3f)
2010-12-15s4-tests: Added a speedtest for LDAP search operations with different accounts.Nadezhda Ivanova1-11/+67
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Dec 15 21:32:09 CET 2010 on sn-devel-104
2010-12-15s4-tests: Added tests for LDAP add/delete/modify using anonymous login.Nadezhda Ivanova1-8/+50
2010-12-15s4-dsdb: Fixed incorrect LDAP return code when anonymous login is used.Nadezhda Ivanova1-1/+1
2010-12-15Fix bug 7866 - "net" in v3-6-test broken.Jeremy Allison3-3/+22
Someone wasn't careful about testing when not running as root :-). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 15 20:45:25 CET 2010 on sn-devel-104
2010-12-15ldb: Bump API after symbol changes.Jelmer Vernooij2-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Dec 15 18:18:52 CET 2010 on sn-devel-104
2010-12-15ldb: Build modules as .so files.Jelmer Vernooij1-0/+9
2010-12-15join: Properly cancel transaction on exceptions.Jelmer Vernooij1-35/+44
2010-12-15Move get_loadparm() and get_credentials() to samba.tests.TestCase.Jelmer Vernooij1-8/+15
2010-12-15s3:rpc_client: implement rpc_transport_np_init() on top of ↵Stefan Metzmacher2-400/+38
rpc_transport_tstream_init() This also makes use of tstream_cli_np_open() to get the tstream. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Dec 15 16:12:30 CET 2010 on sn-devel-104
2010-12-15s3:rpc_client: implement rpc_transport_sock_init() on top of ↵Stefan Metzmacher1-231/+13
rpc_transport_tstream_init() metze
2010-12-15s3:rpc_client/rpc_transport_tstream.c: add some logic to handle cli_np tstreamsStefan Metzmacher1-2/+197
metze
2010-12-15s3:rpc_client/rpc_transport_tstream: timeout should be unsigned intStefan Metzmacher1-1/+1
metze
2010-12-15s3:rpc_client: let rpc_transport_tstream_init() create read and write queueStefan Metzmacher3-28/+17
metze
2010-12-15s3:libsmb: add tstream_cli_np_get_cli_state()Stefan Metzmacher2-0/+10
metze
2010-12-15s3:libsmb: add tstream_cli_np_set_timeout()Stefan Metzmacher2-0/+18
metze
2010-12-15s3:libsmb: add tstream_cli_np_use_trans() and the needed logicStefan Metzmacher2-0/+183
tstream_cli_np_use_trans() defers the next tstream_writev to the next tstream_readv and send both as an SMBtrans request. metze
2010-12-15s3:libsmb: add tstream_is_cli_np()Stefan Metzmacher2-0/+15
metze
2010-12-15s3:libsmb: add cli_np_tstream.cStefan Metzmacher3-0/+823
This abstracts a named pipe over smb as a tstream, which will make it easier to implement the dcerpc layer in a more generic way. metze
2010-12-15s4-dsdb/tests/python: Explicitly pass comamnd line LoadParm() instance to ↵Kamen Mazdrashki9-10/+10
system_session() Otherwise system_session() creates a LoadParm() instance which resets certain global parameters to their defaults from smb.conf ("log level" for instance) Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 15 15:10:47 CET 2010 on sn-devel-104
2010-12-15s4-dns: implemented parsing and storing of DNS records from bindAndrew Tridgell2-46/+640
DNS updates from nsupdate against our ldb SAM now work Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 15 12:36:46 CET 2010 on sn-devel-104
2010-12-15s4-dns: added basic DLZ writeable support to dlz_bind9Andrew Tridgell3-99/+448
this implements the expanded DLZ update driver API, allowing for bind9 to send dynamic updates to the Samba DLZ driver. This change also adds support for exporting all DNS zones in the SAM database, which also means we now correctly separate the _msdcs zone from the main zone.
2010-12-15waf: fixed re-running of build rulesAndrew Tridgell2-4/+5
the addition of ldflags deps caused us to re-run the build rules every time.
2010-12-15s3-waf: use shared libwbclient wscript_build.Günther Deschner2-12/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 15 11:42:16 CET 2010 on sn-devel-104
2010-12-15s3-waf: fix winbind-client subsystem.Günther Deschner1-7/+9
Guenther
2010-12-15s3-waf: add libkrb5 winbind locator plugin.Günther Deschner1-0/+6
Guenther
2010-12-15s3-waf: rework rpc_server handling a bit.Günther Deschner2-21/+21
Guenther
2010-12-15build: openbsd plateform is openbsd4Matthieu Patou1-1/+1
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Dec 15 10:55:08 CET 2010 on sn-devel-104
2010-12-15build: hpux didn't support -BdynamicMatthieu Patou1-1/+1
2010-12-15Protect the onefs sendfile from EAGAIN/EWOULDBLOCK.Jeremy Allison1-1/+5
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 15 03:26:43 CET 2010 on sn-devel-104
2010-12-15Implement "use sendfile = yes" for SMB2. (cherry picked from commit ↵Jeremy Allison4-3/+164
95cb7adcd03a1abbd0af395b6c96dd8e0eebd3d1) Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 15 02:24:08 CET 2010 on sn-devel-104
2010-12-15Fix read/write calls over sockets to cope with EAGAIN/EWOULDBLOCK for ↵Jeremy Allison2-16/+68
non-blocking sockets.
2010-12-15Change interface of schedule_smb2_aio_read() to allocate the return DATA_BLOB.Jeremy Allison3-10/+27
Change smb2_read code to allocate return DATA_BLOB just before the read. Preparing for SMB2 sendfile change which will not need to allocate return buffer. Jeremy
2010-12-15s4-test/repl_schema: remove unused and commented out codeKamen Mazdrashki1-3/+0
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 15 01:37:10 CET 2010 on sn-devel-104
2010-12-15s4-test/repl_schema: Make sure every object is with unique nameKamen Mazdrashki1-2/+5
This way, test writer don't have to be careful to choose unique objects suffix
2010-12-15s4-dsdb_schema: Handle remote ATTIDs based on msDs-IntId valueKamen Mazdrashki1-4/+17
If we get such an msDs-IntId value, then we should just use it, there is no mapping available for such values
2010-12-15s4-schema_syntax: Log error message when ↵Kamen Mazdrashki1-1/+5
_dsdb_syntax_OID_oid_drsuapi_to_ldb() fails I haven't found a way to test this function during replication so far, but when I do, it will be useful to notice this error in the log file
2010-12-15s4-drepl: We won't need a working schema for empty replicas sent.Kamen Mazdrashki1-2/+5
Without this check, receiving empty replica leads to a situation where we left with a working_schema attached to the ldb. The problem here is that working_schema is not fully functional schema cache and keeping it attached to the ldb may lead to modules failing to accomplish their jobs
2010-12-15s4-dsdb_schema: We need base_dn in Schema's shallow copy tooKamen Mazdrashki1-1/+7
2010-12-15s4-schema_syntax: We should use make_ATTID function when converting ↵Kamen Mazdrashki1-1/+1
remote-ATTID to local one We may have no prefix for the remote ATTID (remote OID strictly speaking) So this is the place for us to update our local prefixMap adding a prefix for the numeric OID we've recived
2010-12-15s4-drepl: User working schema for commiting objects when replicating Schema NCKamen Mazdrashki1-6/+4
2010-12-15s4-repl: Allow dsdb_replicated_objects_commit() to use different schema ↵Kamen Mazdrashki3-2/+59
while committing objects working_schema is to be used while committing a Schema replica. When we replicate Schema, then we most probably won't be able to convert all replicated objects using the current Schema cache (as we don't know anything about those new objects). Thus, during Schema replication, we make a temporary working_schema that contains both our current Schema + all objects we get on the wire. When we commit those new objects, we should use our working_schema (by setting it to the ldb), and after all changes are commited, we can refresh the schema cache so we have a brand new, full-featured Schema cache
2010-12-15s4-schema_syntax: Use remote prefixMap to map remote ATTID to local oneKamen Mazdrashki1-5/+13
in dsdb_attribute_drsuapi_to_ldb() function. drsuapi_DsReplicaAttribute *in parameter come from remote DC so we can't rely on in->attid to map it directly to an dsdb_attribute in our local schema cache
2010-12-15s4-test/repl_schema: use 'top' as default base class for our test ↵Kamen Mazdrashki1-1/+1
classSchema objects Otherwise we will end up passing whole inheritance chain every time we create some new fancy classSchema object (as the 'cls-A' and 'cls-B' ones in test_classWithCustomAttribute test)
2010-12-15s4-test/repl_schema: New test to test a classSchema with custom attributeKamen Mazdrashki1-0/+24
Create new Attribute and a Class, that has value for newly created attribute. This should check code path that searches for AttributeID_id in Schema cacheThis test. It also tests how we replicate a leaf classSchema that inherits from a new classSchema with attribute added - tests both dsdb_attribute_drsuapi_to_ldb() and _dsdb_syntax_OID_obj_drsuapi_to_ldb() syntax handler
2010-12-15s4-dsdb_schema: Seize using global_schema when referencing new schema for an LDBKamen Mazdrashki1-0/+6
Without this change, when a schema is set to ldb, the effect is that dsdb_get_schema() returns global_schema preferably. Thus we end up with two schemas in effect: - global one, which is the old one and it is still used everywhere - new one, which is just cached in ldb, but can't be used, as there is no way to access it
2010-12-15s3-waf: libwbclient does not depend on talloc anymore.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 15 00:50:08 CET 2010 on sn-devel-104
2010-12-14s3-waf: add missing libnss_wins.so.2 library.Günther Deschner1-2/+8
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Dec 14 23:29:25 CET 2010 on sn-devel-104