summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2008-12-17Make greater use of 'GUID_from_data_blob'Andrew Bartlett1-40/+11
This avoids accidentily running off the end of a string, and uses a single 'guess which type of GUID I have' algorithm. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17Fix sequence number generation against OpenLDAPAndrew Bartlett1-0/+8
It seems that in 2deeb99fff1a90c79ba1927e1a069362e250a63c adding the partition control to this request was missed out. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-16Fix header installation after move of gen_ndr headers.Jelmer Vernooij2-29/+29
2008-12-17Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell43-5211/+242
2008-12-17an experimental patch for fixing ldb bloatAndrew Tridgell3-9/+352
ldb indexing can cause huge files, and huge memory usage. This experiment allows us to keep indexes in memory during a transaction, then to write the indexes to disk when the transaction completes. The result is that the db is much smaller (we have seen improvements of about 100x in file size) and memory usage during large transactions is also greatly reduced Note that this patch uses the unusual strategy of putting pointers into a ldb (and thus into a tdb). This works because the pointers are only there during a transaction, so the pointers are not exposed to any other users of the database. The pointers allow us to avoid some really bad allocation problems with tdb record allocation during the re-indexing.
2008-12-16Remove use of C++ keywords.Jelmer Vernooij2-6/+6
2008-12-16Share object files for gen_ndr.Jelmer Vernooij4-141/+131
2008-12-16Simplify idl-deps.pl script a bit.Jelmer Vernooij1-15/+21
2008-12-16Add new script for building IDL files in librpc/idl, generating bothJelmer Vernooij1-1/+1
Samba 3 and Samba 4 output.
2008-12-16s4/provision: Upper case default realm, use only first part of realm as ↵Jelmer Vernooij1-2/+2
default domain name.
2008-12-16nsswitch: Fix paths for Samba4 blackbox wbinfo testKai Blin1-2/+2
2008-12-16Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij31-5061/+82
2008-12-16Rename dom_sid.idl -> server_id.idl (since it no longer actually contains ↵Jelmer Vernooij12-9/+69
the dom_sid). No longer include it from security.idl.
2008-12-16nsswitch: Move nsswitch files from source4 to top level nsswitch dirKai Blin22-5039/+7
2008-12-16nsswitch: Move source3 files to top level dir.Kai Blin1-6/+0
Don't move source4 files yet to not confuse git's rename tracking too much.
2008-12-16Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-develAndrew Bartlett8-15/+61
2008-12-16repack the ldb after re-indexingAndrew Tridgell1-0/+4
re-indexing in ldb is triggered on any modification to the @ATTRIBUTES or @INDEXLIST records. This happens to produce a worst-case fragmentation of the database, as all @INDEX records are deleted then re-created. By repacking after re-indexing we ensure that the database ends up without extreme fragmentation.
2008-12-16use transactions in ldbadd, ldbmodify and ldbeditAndrew Tridgell3-0/+30
The command line tools ldbadd, ldbmodify and ldbedit should operate within a transaction to make them more efficient. The ldbadd tool in particular is much faster when adding a large number of records if all the adds happen within a transaction. Previously there was a transaction per record.
2008-12-16Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell57-681/+21156
2008-12-16A more-commented version of rpc_server crash fix, matching closer theAndrew Bartlett1-1/+14
previous behaviour for the 'bad bind' case. (It is only close, not matching - Windows 2008 sends a different, non-zero, assoc_group_id each time) Andrew Bartlett
2008-12-16Add python extensions for dom_sid.Jelmer Vernooij1-0/+58
2008-12-14Rename ldap.h to ldap-util.h to avoid clashing with the system ldap.hJelmer Vernooij1-1/+1
2008-12-14Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-0/+47
2008-12-13Added torture test for doing an openX over a directoryJeremy Allison1-0/+47
to ensure we get the correct error message. Jeremy.
2008-12-12Move dom_sid to the Samba 3 IDL file, remove the old definition.Jelmer Vernooij3-284/+3
2008-12-12Manually marshall dom_sid, so we can use a fixed size array forJelmer Vernooij6-50/+36
dom_sid.sub_auths rather than a dynamically allocated one. This makes it possible to use the same DCE/RPC object code for Samba 3 and Samba 4's DCE/RPC parsers and allows copying sids more easily (since they no longer contain any pointers). The cost of having additional manual marshalling code is limited (~35 additional lines of C code).
2008-12-12Remove noejs property, which is no longer used.Jelmer Vernooij2-5/+5
2008-12-12s4:fix segfault in rpc-server, when client binds to unsupported service.Stefan Metzmacher1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-11Add interactive flag to setup/provision (also the default when no arguments ↵Jelmer Vernooij1-2/+27
are given).
2008-12-11s4:selftest: samba4 fails the changed delete testStefan Metzmacher1-0/+2
metze
2008-12-11s4:libcli/resolve: add resolve_name_all*() which return all addresses not ↵Stefan Metzmacher7-49/+115
only the first one metze
2008-12-10s4-smbtorture: skip ServerGetTrustInfo for samba4.Günther Deschner1-0/+1
Guenther
2008-12-10s4-smbtorture: add simple netr_ServerGetTrustInfo test.Günther Deschner1-0/+42
Guenther
2008-12-10s4-netlogon: fix the build of netlogon server.Günther Deschner1-4/+4
Guenther
2008-12-10Add AD schema from Microsoft's WSPP documentation.Andrew Bartlett3-0/+19124
This schema is *NOT* licenced under a standard Free Software licence, but does provide us the freedoms we need to use the schema, and the requirement to distribute as 'part of an implemenation' is similar to common Free font licences that are accepted by major linux distributions. Andrew Bartlett
2008-12-09s4: [2/3] Fix a delete on close divergence from windows and the associated ↵Tim Prouty1-5/+18
torture test This second patch fixes the deltest17 BASE-DELETE torture test to pass against win2k3/win2k8/winXPsp2
2008-12-10s4-samr: Fix Bug #5946. userparameters handling in torture test.Matthias Dieter Wallnöfer1-1/+7
Signed-off-by: Günther Deschner <gd@samba.org>
2008-12-10s4-samr: Fix Bug #5946. userparameters handling in samr server.Matthias Dieter Wallnöfer1-4/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2008-12-09s4:rpc_server: don't keep half finished dcesrv_connection_contextsStefan Metzmacher1-41/+42
metze
2008-12-09s4:rpc_server: initialize rpc server module also for the named pipe caseStefan Metzmacher3-33/+49
This fixes bug #5878. metze
2008-12-08s4:rpc_server: fix crash bugs in 26200f4fb1db81be7a9da51f317e46405351b170Stefan Metzmacher1-7/+13
call->context needs to be valid. metze
2008-12-08s4:rpc_server: make it possible for iface->bind() to specify the assoc_group_idStefan Metzmacher2-5/+25
This helps the openchange mapiproxy plugin to work correctly. metze
2008-12-06s4:winbind: fill in the correct variable...Stefan Metzmacher1-1/+1
metze
2008-12-06s4:secrets: remove unused structureStefan Metzmacher1-7/+0
metze
2008-12-06RPC-BROWSER: send the correct data in later requestsStefan Metzmacher1-0/+2
metze
2008-12-06s4:torture: add simple RPC-BROWSER testStefan Metzmacher3-2/+125
metze
2008-12-06s4:librpc: add SUBSYSTEM::RPC_NDR_BROWSERStefan Metzmacher1-0/+5
metze
2008-12-06s4:loadparm: start 'browser' rpc_serverStefan Metzmacher1-1/+1
metze
2008-12-06s4:dcesrv_browser: implement dcesrv_BrowserrQueryOtherDomains()Stefan Metzmacher1-1/+24
metze
2008-12-06s4:rpc_server: add dcesrv_browser templateStefan Metzmacher3-0/+163
metze