Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-12-19 | Remove swig support from standalone ldb build. | Jelmer Vernooij | 6 | -21/+7 | |
2008-12-19 | Initial work using manual Python bindings for LDB, rather than ↵ | Jelmer Vernooij | 6 | -9331/+1783 | |
SWIG-generated ones. | |||||
2008-12-18 | Cope with slight changes in tdb API. | Jelmer Vernooij | 1 | -31/+46 | |
2008-12-18 | Fix Python event tests after rename to tevent. | Jelmer Vernooij | 1 | -1/+1 | |
2008-12-18 | Fix samba3sam test after removal of dom_sid IDL file. | Jelmer Vernooij | 1 | -2/+2 | |
2008-12-18 | Use plain Python C API for registry module, rather than SWIG. | Jelmer Vernooij | 4 | -20/+323 | |
2008-12-18 | Add convenience macro for raising exceptions for NTSTATUS / WERROR. | Jelmer Vernooij | 1 | -0/+12 | |
2008-12-18 | Merge branch 'master' of ssh://git.samba.org/data/git/samba into pyregistry | Jelmer Vernooij | 136 | -9698/+4763 | |
2008-12-18 | s4:lib/socket: socket_connect_send() and socket_connect_ev() should only ↵ | Stefan Metzmacher | 8 | -51/+9 | |
wrok with addresses metze | |||||
2008-12-18 | s4:librpc/rpc: remove we should not redo the name resolving for secondary ↵ | Stefan Metzmacher | 2 | -13/+15 | |
tcp connections metze | |||||
2008-12-18 | s4:libcli/wrepl: we don't need to resolve names | Stefan Metzmacher | 4 | -14/+10 | |
metze | |||||
2008-12-18 | s4:libcli/replace: add some RESOLVE_NAME_FLAG* flags | Stefan Metzmacher | 4 | -18/+43 | |
metze | |||||
2008-12-18 | s4:selftest: we pass raw.delete.delete21 | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2008-12-18 | s4:ntvfs_generic: pass RAW-OPEN again | Stefan Metzmacher | 1 | -0/+2 | |
This is the samba4 version of commit 9391dad85d08bb0939f4db1472c6cf063ebea892 metze | |||||
2008-12-18 | RAW-CHKPATH: not every server behaves like samba3... | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2008-12-18 | BASE-LOCK: fix LOCK5 | Stefan Metzmacher | 1 | -4/+12 | |
We need to close all 3 file handle to make the unlink work. metze | |||||
2008-12-18 | Handle different failure modes when we wipe the db in provision | Andrew Bartlett | 1 | -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-18 | Parse options (and open the database) before starting transactions | Andrew Bartlett | 1 | -2/+2 | |
2008-12-18 | Print error strings when transactions fail in ldb tools | Andrew Bartlett | 3 | -6/+6 | |
2008-12-18 | Rename ldb index pointer wrapper function | Andrew Bartlett | 1 | -8/+8 | |
This also asserts that it is used only for index records. Andrew Bartlett | |||||
2008-12-17 | Samba3 smbd now passes test BATCH23 (with the fix for bug #5979), only ↵ | Jeremy Allison | 1 | -4/+0 | |
BATCH22 left to fix. Jeremy. | |||||
2008-12-17 | s4: smbtorture, fix the build of netlogon test after idl change. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2008-12-17 | s4: fix smbtorture build after idl change. | Günther Deschner | 1 | -4/+13 | |
Guenther | |||||
2008-12-17 | s4:libcli/resolve: specify the port for the resulting socket_addresses | Stefan Metzmacher | 8 | -9/+25 | |
metze | |||||
2008-12-17 | s4:libcli/resolve: optionally return the name that belongs to the returned ↵ | Stefan Metzmacher | 8 | -23/+82 | |
address E.g. this helps for DNS CNAME and SRV results. metze | |||||
2008-12-17 | s4:libcli/resolve: pass down flags to the resolver backends | Stefan Metzmacher | 8 | -8/+29 | |
metze | |||||
2008-12-17 | s4:libcli/resolve: remove all backend specific sync functions | Stefan Metzmacher | 5 | -85/+0 | |
metze | |||||
2008-12-17 | s4:libcli/resolve: let the "host" module use the dns_ex.c code | Stefan Metzmacher | 1 | -183/+11 | |
That means we now return all ip addresses instead of just the first one. metze | |||||
2008-12-17 | s4:libcli/resolve: add getaddrinfo()/dns_looup() resolving | Stefan Metzmacher | 2 | -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-17 | s4:libcli/resolve: don't use __RESOLVE_H__ it might be used by system ↵ | Stefan Metzmacher | 1 | -3/+3 | |
headers too metze | |||||
2008-12-17 | s4:lib/socket: we need to lookup the #20 netbios name when we connect to a ↵ | Stefan Metzmacher | 2 | -2/+2 | |
remote server metze | |||||
2008-12-17 | s4:lib/socket: remove unused code | Stefan Metzmacher | 1 | -22/+0 | |
metze | |||||
2008-12-17 | s4:headermap: dom_sid.h was renamed to server_id.h | Stefan Metzmacher | 2 | -3/+3 | |
metze | |||||
2008-12-17 | s4:headermap: we need the pathes for gen_ndr headers with and without ../ | Stefan Metzmacher | 1 | -25/+52 | |
This should fix the OpenChange build metze | |||||
2008-12-17 | s4:lib/tevent: add lib/events/ compat and let things compile | Stefan Metzmacher | 8 | -3/+18 | |
metze | |||||
2008-12-17 | s4:lib/events: move to toplevel directory as lib/tevent/ | Stefan Metzmacher | 30 | -7911/+0 | |
This commit will not compile on its own. metze | |||||
2008-12-17 | s4: fix LIBEVENTS dependencies and use more forward declarations | Stefan Metzmacher | 22 | -16/+23 | |
We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze | |||||
2008-12-17 | s4:ldb: add some python tests for extended dns | Andrew Bartlett | 1 | -27/+60 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2008-12-17 | s4:dsdb: remove normalise module | Andrew Bartlett | 2 | -206/+0 | |
The extended_dn_out module provides the functionality now. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2008-12-17 | s4:provision: use extended_dn_out_ldb or extended_dn_out_dereference ↵ | Andrew Bartlett | 2 | -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-17 | s4:dsdb: split extended_dn into extended_dn_in, extended_dn_out and ↵ | Andrew Bartlett | 7 | -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-17 | s4:dsdb: Make the linked_attributes module set an extended dn | Andrew Bartlett | 1 | -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-17 | s4:rootdse: fix the logic to indentify a rootdse search | Andrew Bartlett | 1 | -2/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2008-12-17 | s4:ldb: make it possible to return per entry controls | Andrew Bartlett | 25 | -27/+62 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2008-12-17 | s4:setup: fix cut-n-paste error Builtin-Domain => Samba4-Local-Domain | Andrew Bartlett | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2008-12-17 | s4:setup: don't set objectCategory: CN=Domain-DNS,${SCHEMADN} | Andrew Bartlett | 1 | -3/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2008-12-17 | s4:torture: add ldb tests | Andrew Bartlett | 3 | -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-17 | s4:ldap_server: return the extended dn to the LDAP client if available | Andrew Bartlett | 1 | -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> | |||||
2008-12-17 | s4:ldb-samba: register samba specific extended dn handlers | Andrew Bartlett | 1 | -51/+138 | |
This provides the two extended DN handlers for the GUID and SID types, and makes the parsing more strict (where possible, it uses ndr_pull_struct_blob_all(), to cause an error if trailing data is found). Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2008-12-17 | s4:samldb: make use of dom_sid_split_rid() | Andrew Bartlett | 1 | -4/+3 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> |