summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2008-12-19Here's the prefixMap from w2k8.Stefan (metze) Metzmacher1-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>
2008-12-18s4: Fix include path to work with teventTim Prouty1-1/+1
2008-12-19Move aggregate schema stub to it's own fileAndrew Bartlett3-3/+5
This should make it easier to import just the schema entries from the WSPP docs. Andrew Bartlett
2008-12-19Fix failures setting a random passwordAndrew Bartlett1-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
2008-12-18Cope with slight changes in tdb API.Jelmer Vernooij1-31/+46
2008-12-18Fix Python event tests after rename to tevent.Jelmer Vernooij1-1/+1
2008-12-18Fix samba3sam test after removal of dom_sid IDL file.Jelmer Vernooij1-2/+2
2008-12-18Use plain Python C API for registry module, rather than SWIG.Jelmer Vernooij4-20/+323
2008-12-18Add convenience macro for raising exceptions for NTSTATUS / WERROR.Jelmer Vernooij1-0/+12
2008-12-18Merge branch 'master' of ssh://git.samba.org/data/git/samba into pyregistryJelmer Vernooij136-9698/+4763
2008-12-18s4:lib/socket: socket_connect_send() and socket_connect_ev() should only ↵Stefan Metzmacher8-51/+9
wrok with addresses metze
2008-12-18s4:librpc/rpc: remove we should not redo the name resolving for secondary ↵Stefan Metzmacher2-13/+15
tcp connections metze
2008-12-18s4:libcli/wrepl: we don't need to resolve namesStefan Metzmacher4-14/+10
metze
2008-12-18s4:libcli/replace: add some RESOLVE_NAME_FLAG* flagsStefan Metzmacher4-18/+43
metze
2008-12-18s4:selftest: we pass raw.delete.delete21Stefan Metzmacher1-1/+0
metze
2008-12-18s4:ntvfs_generic: pass RAW-OPEN againStefan Metzmacher1-0/+2
This is the samba4 version of commit 9391dad85d08bb0939f4db1472c6cf063ebea892 metze
2008-12-18RAW-CHKPATH: not every server behaves like samba3...Stefan Metzmacher1-1/+1
metze
2008-12-18BASE-LOCK: fix LOCK5Stefan Metzmacher1-4/+12
We need to close all 3 file handle to make the unlink work. metze
2008-12-18Handle different failure modes when we wipe the db in provisionAndrew Bartlett1-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.
2008-12-18Parse options (and open the database) before starting transactionsAndrew Bartlett1-2/+2
2008-12-18Print error strings when transactions fail in ldb toolsAndrew Bartlett3-6/+6
2008-12-18Rename ldb index pointer wrapper functionAndrew Bartlett1-8/+8
This also asserts that it is used only for index records. Andrew Bartlett
2008-12-17Samba3 smbd now passes test BATCH23 (with the fix for bug #5979), only ↵Jeremy Allison1-4/+0
BATCH22 left to fix. Jeremy.
2008-12-17s4: smbtorture, fix the build of netlogon test after idl change.Günther Deschner1-2/+2
Guenther
2008-12-17s4: fix smbtorture build after idl change.Günther Deschner1-4/+13
Guenther
2008-12-17s4:libcli/resolve: specify the port for the resulting socket_addressesStefan Metzmacher8-9/+25
metze
2008-12-17s4:libcli/resolve: optionally return the name that belongs to the returned ↵Stefan Metzmacher8-23/+82
address E.g. this helps for DNS CNAME and SRV results. metze
2008-12-17s4:libcli/resolve: pass down flags to the resolver backendsStefan Metzmacher8-8/+29
metze
2008-12-17s4:libcli/resolve: remove all backend specific sync functionsStefan Metzmacher5-85/+0
metze
2008-12-17s4:libcli/resolve: let the "host" module use the dns_ex.c codeStefan Metzmacher1-183/+11
That means we now return all ip addresses instead of just the first one. metze
2008-12-17s4:libcli/resolve: add getaddrinfo()/dns_looup() resolvingStefan Metzmacher2-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
2008-12-17s4:libcli/resolve: don't use __RESOLVE_H__ it might be used by system ↵Stefan Metzmacher1-3/+3
headers too metze
2008-12-17s4:lib/socket: we need to lookup the #20 netbios name when we connect to a ↵Stefan Metzmacher2-2/+2
remote server metze
2008-12-17s4:lib/socket: remove unused codeStefan Metzmacher1-22/+0
metze
2008-12-17s4:headermap: dom_sid.h was renamed to server_id.hStefan Metzmacher2-3/+3
metze
2008-12-17s4:headermap: we need the pathes for gen_ndr headers with and without ../Stefan Metzmacher1-25/+52
This should fix the OpenChange build metze
2008-12-17s4:lib/tevent: add lib/events/ compat and let things compileStefan Metzmacher8-3/+18
metze
2008-12-17s4:lib/events: move to toplevel directory as lib/tevent/Stefan Metzmacher30-7911/+0
This commit will not compile on its own. metze
2008-12-17s4: fix LIBEVENTS dependencies and use more forward declarationsStefan Metzmacher22-16/+23
We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze
2008-12-17s4:ldb: add some python tests for extended dnsAndrew Bartlett1-27/+60
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:dsdb: remove normalise moduleAndrew Bartlett2-206/+0
The extended_dn_out module provides the functionality now. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:provision: use extended_dn_out_ldb or extended_dn_out_dereference ↵Andrew Bartlett2-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>
2008-12-17s4:dsdb: split extended_dn into extended_dn_in, extended_dn_out and ↵Andrew Bartlett7-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>
2008-12-17s4:dsdb: Make the linked_attributes module set an extended dnAndrew Bartlett1-192/+325
This means that linked attributes will always have the same case form as the actaul entry, as we search for that entry. We then also use the GUID and SID found on that entry to fill in the extended DN on disk. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:rootdse: fix the logic to indentify a rootdse searchAndrew Bartlett1-2/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:ldb: make it possible to return per entry controlsAndrew Bartlett25-27/+62
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:setup: fix cut-n-paste error Builtin-Domain => Samba4-Local-DomainAndrew Bartlett1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:setup: don't set objectCategory: CN=Domain-DNS,${SCHEMADN}Andrew Bartlett1-3/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:torture: add ldb testsAndrew Bartlett3-1/+751
These tests are for both the new extended DN functionality (and were vital in finding bugs during implementation) and for the normal DN parsing and comparison routines. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:ldap_server: return the extended dn to the LDAP client if availableAndrew Bartlett1-1/+16
This uses an early peek at the extended_dn_control (in the request) to see what output format to use. Signed-off-by: Stefan Metzmacher <metze@samba.org>