summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* Reprocess LDB SWIG file.Jelmer Vernooij2008-12-191-0/+2
|
* Depend on specific version of LDB, as the API seems to unstableJelmer Vernooij2008-12-191-1/+1
| | | | | to predict that newer versions (even minor versions) are going to be be backwards compatible :-(
* Specify explicit path to tevent.h, compilation breaks without it for me.Jelmer Vernooij2008-12-191-1/+1
|
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-12-19151-14703/+4999
|\
| * s4:cosmetic: Remove trailing tabs and spacesSimo Sorce2008-12-191-59/+59
| |
| * Small cosmetic LDB patch regarding return values.Matthias Dieter Wallnöfer2008-12-193-7/+7
| | | | | | | | It changes some "return 0" in "return LDB_SUCCESS"
| * Fix errors in MS-AD_Schema_Attributes_v20080618.txtSreepathi Pai2008-12-192-36/+9
| | | | | | | | | | | | | | | | | | | | - Remove spurious line breaks - Add missing attributeId from docs - Remove incorrect multiple values of systemFlags - Fix duplicate attributeId - Fix schemaIdGuid syntax Signed-off-by: Andrew Bartlett <abartlet@samba.org>
| * Here's the prefixMap from w2k8.Stefan (metze) Metzmacher2008-12-191-2/+9
| | | | | | | | | | | | | | | | | | We need to move 1.3.6.1.4.1.7165.4.1 and 1.3.6.1.4.1.7165.4.2 to the end...(if we still need them, which we should avoid) metze Signed-off-by: Andrew Bartlett <abartlet@samba.org>
| * s4: Fix include path to work with teventTim Prouty2008-12-181-1/+1
| |
| * Move aggregate schema stub to it's own fileAndrew Bartlett2008-12-193-3/+5
| | | | | | | | | | | | | | This should make it easier to import just the schema entries from the WSPP docs. Andrew Bartlett
| * Fix failures setting a random passwordAndrew Bartlett2008-12-191-1/+1
| | | | | | | | | | | | | | | | The test in extract_pw_from_buffer was incorrect: It tested if the first byte of the new password was 0 (a 1/256 chance for the random passwords), not if the password was allocated. Andrew Bartlett
| * Cope with slight changes in tdb API.Jelmer Vernooij2008-12-181-31/+46
| |
| * Fix Python event tests after rename to tevent.Jelmer Vernooij2008-12-181-1/+1
| |
| * Fix samba3sam test after removal of dom_sid IDL file.Jelmer Vernooij2008-12-181-2/+2
| |
| * Use plain Python C API for registry module, rather than SWIG.Jelmer Vernooij2008-12-184-20/+323
| |
| * Add convenience macro for raising exceptions for NTSTATUS / WERROR.Jelmer Vernooij2008-12-181-0/+12
| |
| * Merge branch 'master' of ssh://git.samba.org/data/git/samba into pyregistryJelmer Vernooij2008-12-18136-9698/+4763
| |\
| | * s4:lib/socket: socket_connect_send() and socket_connect_ev() should only ↵Stefan Metzmacher2008-12-188-51/+9
| | | | | | | | | | | | | | | | | | wrok with addresses metze
| | * s4:librpc/rpc: remove we should not redo the name resolving for secondary ↵Stefan Metzmacher2008-12-182-13/+15
| | | | | | | | | | | | | | | | | | tcp connections metze
| | * s4:libcli/wrepl: we don't need to resolve namesStefan Metzmacher2008-12-184-14/+10
| | | | | | | | | | | | metze
| | * s4:libcli/replace: add some RESOLVE_NAME_FLAG* flagsStefan Metzmacher2008-12-184-18/+43
| | | | | | | | | | | | metze
| | * s4:selftest: we pass raw.delete.delete21Stefan Metzmacher2008-12-181-1/+0
| | | | | | | | | | | | metze
| | * s4:ntvfs_generic: pass RAW-OPEN againStefan Metzmacher2008-12-181-0/+2
| | | | | | | | | | | | | | | | | | | | | This is the samba4 version of commit 9391dad85d08bb0939f4db1472c6cf063ebea892 metze
| | * RAW-CHKPATH: not every server behaves like samba3...Stefan Metzmacher2008-12-181-1/+1
| | | | | | | | | | | | metze
| | * BASE-LOCK: fix LOCK5Stefan Metzmacher2008-12-181-4/+12
| | | | | | | | | | | | | | | | | | We need to close all 3 file handle to make the unlink work. metze
| | * Handle different failure modes when we wipe the db in provisionAndrew Bartlett2008-12-181-7/+8
| | | | | | | | | | | | | | | | | | We didn't handle the mode where we can't load the main sam.ldb due to the modules being 'wrong', and when we did remove the file, we didn't wipe the partitions.
| | * Parse options (and open the database) before starting transactionsAndrew Bartlett2008-12-181-2/+2
| | |
| | * Print error strings when transactions fail in ldb toolsAndrew Bartlett2008-12-183-6/+6
| | |
| | * Rename ldb index pointer wrapper functionAndrew Bartlett2008-12-181-8/+8
| | | | | | | | | | | | | | | | | | This also asserts that it is used only for index records. Andrew Bartlett
| | * Samba3 smbd now passes test BATCH23 (with the fix for bug #5979), only ↵Jeremy Allison2008-12-171-4/+0
| | | | | | | | | | | | | | | | | | BATCH22 left to fix. Jeremy.
| | * s4: smbtorture, fix the build of netlogon test after idl change.Günther Deschner2008-12-171-2/+2
| | | | | | | | | | | | Guenther
| | * s4: fix smbtorture build after idl change.Günther Deschner2008-12-171-4/+13
| | | | | | | | | | | | Guenther
| | * s4:libcli/resolve: specify the port for the resulting socket_addressesStefan Metzmacher2008-12-178-9/+25
| | | | | | | | | | | | metze
| | * s4:libcli/resolve: optionally return the name that belongs to the returned ↵Stefan Metzmacher2008-12-178-23/+82
| | | | | | | | | | | | | | | | | | | | | | | | address E.g. this helps for DNS CNAME and SRV results. metze
| | * s4:libcli/resolve: pass down flags to the resolver backendsStefan Metzmacher2008-12-178-8/+29
| | | | | | | | | | | | metze
| | * s4:libcli/resolve: remove all backend specific sync functionsStefan Metzmacher2008-12-175-85/+0
| | | | | | | | | | | | metze
| | * s4:libcli/resolve: let the "host" module use the dns_ex.c codeStefan Metzmacher2008-12-171-183/+11
| | | | | | | | | | | | | | | | | | That means we now return all ip addresses instead of just the first one. metze
| | * s4:libcli/resolve: add getaddrinfo()/dns_looup() resolvingStefan Metzmacher2008-12-172-0/+485
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This "dns_ex" module provides flexible lookup methods for dns lookups. The getaddrinfo() part looks at /etc/hosts and dns. As it handles CNAME replies badly we fallback to use dns_lookup(name, "A"). The dns_lookup() makes DNS SRV lookups possible. This module is not a real resolve module, it's just a generic helper as the nbtlist.c code is. The next step will be that the "host" module will use the dns_ex.c code. metze
| | * s4:libcli/resolve: don't use __RESOLVE_H__ it might be used by system ↵Stefan Metzmacher2008-12-171-3/+3
| | | | | | | | | | | | | | | | | | headers too metze
| | * s4:lib/socket: we need to lookup the #20 netbios name when we connect to a ↵Stefan Metzmacher2008-12-172-2/+2
| | | | | | | | | | | | | | | | | | remote server metze
| | * s4:lib/socket: remove unused codeStefan Metzmacher2008-12-171-22/+0
| | | | | | | | | | | | metze
| | * s4:headermap: dom_sid.h was renamed to server_id.hStefan Metzmacher2008-12-172-3/+3
| | | | | | | | | | | | metze
| | * s4:headermap: we need the pathes for gen_ndr headers with and without ../Stefan Metzmacher2008-12-171-25/+52
| | | | | | | | | | | | | | | | | | This should fix the OpenChange build metze
| | * s4:lib/tevent: add lib/events/ compat and let things compileStefan Metzmacher2008-12-178-3/+18
| | | | | | | | | | | | metze
| | * s4:lib/events: move to toplevel directory as lib/tevent/Stefan Metzmacher2008-12-1730-7911/+0
| | | | | | | | | | | | | | | | | | This commit will not compile on its own. metze
| | * s4: fix LIBEVENTS dependencies and use more forward declarationsStefan Metzmacher2008-12-1722-16/+23
| | | | | | | | | | | | | | | | | | | | | We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze
| | * s4:ldb: add some python tests for extended dnsAndrew Bartlett2008-12-171-27/+60
| | | | | | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
| | * s4:dsdb: remove normalise moduleAndrew Bartlett2008-12-172-206/+0
| | | | | | | | | | | | | | | | | | The extended_dn_out module provides the functionality now. Signed-off-by: Stefan Metzmacher <metze@samba.org>
| | * s4:provision: use extended_dn_out_ldb or extended_dn_out_dereference ↵Andrew Bartlett2008-12-172-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | depending on the backend This just changes the existing stratagy of loading different modules for the OpenLDAP backend to also include extended_dn_out_* When we provision the OpenLDAP backend, we make sure to include the 'deref' overlay (which must be made available by the OpenLDAP build) Signed-off-by: Stefan Metzmacher <metze@samba.org>
| | * s4:dsdb: split extended_dn into extended_dn_in, extended_dn_out and ↵Andrew Bartlett2008-12-177-673/+1517
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | extended_dn_store. By splitting the module, the extended_dn_in and extended_dn_store moudles can use extended_dn_out to actually get the extended DN. This avoids code duplication. The extended_dn_out module also contains a client implementation of the OpenLDAP dereference control (draft-masarati-ldap-deref-00). This also introduces a new control 'DSDB_CONTROL_DN_STORAGE_FORMAT_OID' to ask the extended_dn_out module to return whatever the 'storage format' is. This allows us to work with both OpenLDAP (which performs a dereference at run time) and LDB (which stores the GUID and SID on disk). Signed-off-by: Stefan Metzmacher <metze@samba.org>