summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-16Revert "s4-smbtorture: only pull info when status code indicates success in ↵Günther Deschner2-16/+6
smbcli_rap_netprintqgetinfo()." This reverts commit 1f1c04010a55e67d8dc2110276eed4cf2a8a0afa.
2010-06-16pidl: make sure to fill in cli->pipes_struct->hdr_req.opnum in s3 server ↵Günther Deschner1-0/+3
dispatch tables. Guenther
2010-06-16s3-lanman: Fix return code for "" printqname in api_DosPrintQGetInfo().Günther Deschner1-0/+5
Guenther
2010-06-16s4-smbtorture: test smbcli_rap_netprintqgetinfo() with "" printqname.Günther Deschner1-0/+8
Guenther
2010-06-16s4-smbtorture: only pull info when status code indicates success in ↵Günther Deschner2-6/+16
smbcli_rap_netprintqgetinfo(). Guenther
2010-06-16s3-printing: add BUILTIN\Print Operators as FULL CONTROL to default sd.Günther Deschner1-2/+22
Guenther
2010-06-16s3-spoolss: Provide a memory context for clean_up_driver_struct().Andreas Schneider3-5/+7
If we use a stack variable to setup spoolss_AddDriverInfoCtr this would segfault with a talloc bad magic value.
2010-06-16s4:dsdb Allow renames with (now removed) linked attributesAndrew Bartlett1-3/+11
It is important to allow the rename, even if we just have one-way links, as this happens on deleted objects, which have the backlinks alredy removed by repl_meta_data. Andrew Bartlett
2010-06-16s4:selftest Change domain name for functional level 2000 DCAndrew Bartlett1-2/+2
2010-06-16s4:libnet Remove 'ads min function level' checks.Andrew Bartlett1-23/+0
We support Windows 2000 native now. Andrew Bartlett
2010-06-16s4:dsdb Fix linked_attributes to cope with the Feb 2010 changes to DLISTAndrew Bartlett1-2/+6
The DLIST macros changed in behaviour in Feb 2010, and walking the lists backwards is no longer safe if you don't use the macros. Andrew Bartlett
2010-06-16s4:dsdb Assert that we can't get backlinks as input in linked_attributesAndrew Bartlett1-2/+15
The objectclass_attr module should prevent users creating such links, and the mrepl_meta_data module should only create them in functional level 2003 or above. Andrew Bartlett
2010-06-16s4:selftest Add test environment for functional level 2000Andrew Bartlett2-8/+81
This required that we pass the name of the realm down as a parameter, so we can start up two different realms. Andrew Bartlett
2010-06-16s4:provision Add import for DS_DOMAIN_FUNCTION_2000Andrew Bartlett1-0/+1
2010-06-16s4:provision Allow functional level 2000 to be chosenAndrew Bartlett1-1/+3
2010-06-16s4:selftest Add vampire_dc test environmentAndrew Bartlett2-4/+83
This starts a domain controller, after running 'net vampire' to populate it. We don't use it as the 'all' environment yet, as the rest of the code isn't quite ready to handle it. Andrew Bartlett
2010-06-16s4:dsdb use dsdb_module_modify() rather than ldb_next_request()Andrew Bartlett1-22/+2
This does exactly the same thing, but with less code. Andrew Bartlett
2010-06-16s4:dsdb Handle backlinks for Windows 2000 level linked attributesAndrew Bartlett2-12/+928
This revives the code from 5964acfa741d691c0196f91c0796122ec025f177, before tridge and I simplified this too much, and removed the Windows 2000 functional level linked attribute support. By telling the linked_attributes module that repl_meta_data has handled the links, we avoid a conflict for the new style (functional level 2003 and above) linked attributes. However, we still need backlinks for 2000 style linked attributes, so this allows that code in the linked_attributes module to be revived to handle those. Andrew Bartlett
2010-06-16s4:dsdb Add control for signaling between repl_meta_data and linked_attributesAndrew Bartlett3-0/+7
This control will allow the linked_attributes module to know if repl_meta_data has already handled the creation of forward and back links. Andrew Bartlett
2010-06-15Remove unused function.Jeremy Allison2-15/+0
2010-06-16waf: Fix installation of pidl manapges.Jelmer Vernooij3-7/+5
2010-06-15s4 torture: RAW-SEARCH: break out some of the old search levelsAravind Srinivasan3-2/+33
* Added two new parameters: raw_search_search and raw_ea_size which can be enabled/disabled based on whether the server supports RAW_SEARCH_SEARCH and/or RAW_SEARCH_EA_SIZE levels * Skip unsupported levels from the server and give a warning rather than failing. Signed-off-by: Tim Prouty <tprouty@samba.org>
2010-06-15s4 torture: RAW-SEARCH: Only test supported info levelsTim Prouty1-9/+45
2010-06-15s4-waf: Fix build of libldb_ildap against system ldb.Jelmer Vernooij2-2/+2
2010-06-15wafsamba: Fix include path inheritance from module subsystems.Jelmer Vernooij2-16/+16
2010-06-15dcerpc-samr: Fix library name.Jelmer Vernooij1-1/+1
2010-06-15Attempt to fix SamDB test infrastructure (not used in Samba anywhere, only ↵Jelmer Vernooij2-21/+25
in OpenChange).
2010-06-15ldb: Bump version number, use same ABI version for Samba4 and non-Samba 4 ↵Jelmer Vernooij2-5/+221
versions.s
2010-06-15ldb: Fix included ldb build.Jelmer Vernooij3-1/+15
2010-06-15wafsamba: Fix filenames for ldb modules.Jelmer Vernooij1-2/+10
2010-06-15wafsamba: Fix building of modules as shared libraries.Jelmer Vernooij2-23/+23
2010-06-15wafsamba: Improve assertion error message to include the module.Jelmer Vernooij1-1/+2
2010-06-15ldb: Only build standard ldb modules when building bundled ldb.Jelmer Vernooij3-75/+74
2010-06-15dsdb: Fix includes when building against system ldb.Jelmer Vernooij5-44/+45
2010-06-15wafsamba: Only add init function if not building module as shared library.Jelmer Vernooij1-8/+9
2010-06-15dsdb: Build modules as external modules when using system ldb.Jelmer Vernooij1-3/+37
2010-06-15ldb-samba: Add missing dependency on credentials code.Jelmer Vernooij1-1/+1
2010-06-15s3-waf: fix the build.Günther Deschner1-1/+1
Guenther
2010-06-15s4:dsdb Move linked attribute restrictions to objectclass_attrsAndrew Bartlett1-0/+9
This puts more of the schema restrictions in one place. Andrew Bartlett
2010-06-15s4:dsdb Add const to dsdb_dn functions that operate on an ldb_val.Andrew Bartlett1-2/+2
Andrew Bartlett
2010-06-15s4:selftest Remove unused basedn specification in selftest env setupAndrew Bartlett1-5/+1
2010-06-15s4:selftest Remove becomedc tests from knownfail, these should now passAndrew Bartlett1-1/+0
Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-15s4:dsdb Rework the vampire schema handling to convert 3 times.Andrew Bartlett1-57/+117
This seems like a lot of duplicate work, but by the end we should have, in normal LDB format, the remote DRS schema, having bootstrapped it with the locally loaded schema. The multiple steps are to resolve the problems with references to schema items that we don't 'yet' know about. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-15s4:provision Allow a specific prefix map to be loaded into a new schema ↵Andrew Bartlett5-6/+37
provision This allows the prefixMap from a DRS server to be used when loading the schema from the local files. This helps us then import other schema with this map in place. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-15s4:dsdb Keep the DRS-based prefix map for use in provision-based schemaAndrew Bartlett1-2/+13
We need to use the remote prefix map for the provision schema, or else we can't decode new, non-standard attributes into OIDs. Then once we decode that schema, we can try again and get them properly translated. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-15s4:dsdb Allow the setting an override on the schemaAndrew Bartlett3-6/+27
The change here is to try and convert a per the previous rules, but if we don't know a particular OID as a attributeID, then store it as an OID (for example). This allows known values to be converted as before, but still copes with unknown values. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-15s4:dsdb Use the schema from our local provision to decode the schemaAndrew Bartlett2-445/+40
This works on the assumption that the schema partition can only contain schema objects. We may need to pass down some kind of 'relax' to the DRS -> LDB conversion code, so that it allows incomplete conversions, so that we don't fail if a new attribute is present, and we can't decode it. This would then be resolved the second time we do the conversion. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-15s4:torture Rework NET-API-BECOMEDC test to use libnet_vampire callbacks.Andrew Bartlett1-582/+59
The libnet_vampire code was derived from this code in the first place, but has continued to evolve, while this code has often bitrotted. This avoids the needless duplication of the callbacks, while keeping the toture wrapper. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-15s4:libnet Steal ldb and lp_ctx from python result into correct structures.Andrew Bartlett1-2/+2
Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-15s4:libnet Make the libnet_vampire default callbacks non-staticAndrew Bartlett2-40/+71
These are intended to be called from the NET-API-BECOMEDC torture test to avoid duplication of code. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>