Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-09-02 | wrap the entire vampire operation in a transaction | Andrew Tridgell | 1 | -13/+24 | |
We want to grab the whole database, or none of it. This is also needed to get linked attributes right | |||||
2009-09-02 | use ldb_cmdline_help() in ldbsearch | Andrew Tridgell | 2 | -8/+3 | |
2009-09-02 | added ldb_cmdline_help() | Andrew Tridgell | 1 | -29/+36 | |
This allows the ldb tools to show their full command line options | |||||
2009-09-02 | add the partition_control control to replication requests | Andrew Tridgell | 1 | -0/+22 | |
We know the partition DN from the DRS objects, we need to pass this down the modules below us to ensure they operate on the right partition | |||||
2009-09-02 | change the dsdb_control_current_partition to not include internal variables | Andrew Tridgell | 2 | -82/+88 | |
This structures was used in two ways. In one way it held variables that are logically internal to the partition module, and in the other way it was used to pass the partition DN down to other modules. This change makes the structure contain just the dn which is being passed down. This change is part of the support for linked attributes. We will be passing this control down from above the partition module to force which partition a request acts upon. The partition module now only adds this control if it isn't already there. | |||||
2009-09-02 | don't allow two controls to be added with the same OID | Andrew Tridgell | 1 | -1/+7 | |
Two controls with the same OID makes no sense, as they may have different data attached | |||||
2009-09-02 | Display ldif formatted versions of all DRS changes at log level 4 | Andrew Tridgell | 1 | -0/+18 | |
This helps a lot with debugging the DRS replication code | |||||
2009-09-02 | Wrap DRS changes in a transaction | Andrew Tridgell | 1 | -0/+18 | |
We should always apply a whole set of DRS changes or none of them. See [MS-DRSR] 3.3.2 | |||||
2009-09-02 | fixed spelling | Andrew Tridgell | 1 | -1/+1 | |
2009-09-02 | added ldb_ldif_message_string() | Andrew Tridgell | 2 | -0/+28 | |
This function provides a easy function for displaying a ldb_message structure in a human readable format. It is especially useful for calling in gdb. | |||||
2009-08-30 | ldb: Depend on libtalloc 2.0.0 | Simo Sorce | 1 | -1/+1 | |
2009-08-30 | ldb: cosmetic changes in ldb_dn | Simo Sorce | 1 | -193/+292 | |
- remove trailing spaces and tabs - shorten some variable names for readability - try to break superlong lines for readability | |||||
2009-08-28 | s4:ldb Don't sleep(100) in this error case, but debug the LDIF | Andrew Bartlett | 1 | -6/+6 | |
2009-08-28 | s4: Create helpers functions related to provision | Matthieu Patou | 1 | -17/+34 | |
One for getting attributes with DN syntax, one for getting forward linked attributes and one for getting the list of partition | |||||
2009-08-28 | s4-ldb: update dlinklist.h to match main copy (lib/util/dlinklist.h) | Michael Adam | 1 | -6/+5 | |
Michael | |||||
2009-08-28 | s4: include ntlmssp header in auth/ntlmssp/ntlmssp.h. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-08-28 | s4-ntlmssp: use interface constants in TargetInfo blob. | Günther Deschner | 1 | -5/+5 | |
Guenther | |||||
2009-08-28 | s4-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants. | Günther Deschner | 5 | -50/+21 | |
Guenther | |||||
2009-08-27 | s4-schannel: add ldb suffix to schannel functions. | Günther Deschner | 2 | -10/+10 | |
Guenther | |||||
2009-08-27 | s4-smbtorture: do not hard code BDC secure channel type into RPC-NETLOGON tests. | Günther Deschner | 1 | -9/+12 | |
Guenther | |||||
2009-08-27 | s4-smbtorture: add test_SetPassword_flags to RPC-NETLOGON-S3 testsuite. | Günther Deschner | 1 | -0/+101 | |
Guenther | |||||
2009-08-27 | s4:python Add helper to get at the domain SID | Andrew Bartlett | 2 | -0/+33 | |
2009-08-26 | s4-smbtorture: add RPC-NETLOGON-S3 to test samba3 netlogon server. | Günther Deschner | 2 | -0/+19 | |
Guenther | |||||
2009-08-26 | s4:heimdal_build: lib/hcrypto/evp-aes-cts.o belongs to HEIMDAL_HCRYPTO | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-08-26 | schannel: move schannel.idl to main directory. | Günther Deschner | 2 | -45/+1 | |
Guenther | |||||
2009-08-26 | s4:provision Ensure that @OPTIONS is mirrored into each partition | Andrew Bartlett | 3 | -3/+7 | |
The previous patches to the provision system cut down on the number of reconnects, and disabled the partition handling for part of the process. This means we lost the setting of @OPTIONS as a replicated attribute into the partitions. Andrew Bartlett | |||||
2009-08-26 | s4:ldb Add ldb_ldif_write_string() and python wrappers | Andrew Bartlett | 4 | -1/+95 | |
This allows us to turn a python LdbMessage back into a string. Andrew Bartlett | |||||
2009-08-26 | s4:ldb Add hooks to get/set the flags on a ldb_message_element | Andrew Bartlett | 2 | -5/+65 | |
Also add tests to prove that we got this correct, and correct the existing tests which used the wrong constants. Andrew Bartlett | |||||
2009-08-26 | s4:schema Rework dsdb_write_prefixes_from_schema_to_ldb() to use talloc | Andrew Bartlett | 1 | -14/+20 | |
This changes dsdb_write_prefixes_from_schema_to_ldb() to use an internal talloc hirarchy, so we can safely give it a NULL context from the python. It also fixes manual construction of the ldb_message - we now use the right helper functions. Andrew Bartlett | |||||
2009-08-26 | s4:provison Add prefixes to ldb using same code a later modify will use | Andrew Bartlett | 4 | -8/+38 | |
This allows us to test out the code that will do the modify of the prefixMap, and to provide the bindings that may assist a future upgrade script. Andrew Bartlett | |||||
2009-08-26 | s4:provision Only create references to our server DN after the self join | Andrew Bartlett | 6 | -9/+39 | |
This will ensure that the GUID can be filled in correctly, and assist us to validate DN targets in the future. Andrew Bartlett | |||||
2009-08-26 | s4:scheam quiet a 'const' warning | Andrew Bartlett | 1 | -1/+1 | |
2009-08-26 | s4:dsdb Rework dsdb_write_prefixes_to_ldb() to take a schema | Andrew Bartlett | 1 | -14/+13 | |
The aim is to create a function that is more easily wrapped for python, so that we can write the updated prefixMap in an upgrade script. Andrew Bartlett | |||||
2009-08-26 | s4:dsdb Use helper function to add 'show deleted' control | Andrew Bartlett | 1 | -20/+10 | |
This revises tridge's commit 61ca4c491e1c13eb7d97847f743b0f540f1117c4 to use ldb_request_add_control() instead of a manual construction. Andrew Bartlett | |||||
2009-08-25 | fixed DRS rename of deleted objects | Andrew Tridgell | 1 | -1/+20 | |
The objectclass module checks that the target parent exists, and refuses renames if it doesn't exist. For this to work for deleted objects we have to do the search in the objectclass module with the "show deleted" control enabled. | |||||
2009-08-25 | fixed a double free bug on error in net export | Andrew Tridgell | 1 | -1/+0 | |
2009-08-25 | s4:python Fix the reprovision test by deleting 'deleted' objects too. | Andrew Bartlett | 1 | -6/+9 | |
We were failing because CN=Deleted Objects, which is marked as 'deleted' itself, could not be re-added in a reprovision. Andrew Bartlett | |||||
2009-08-25 | s4:dsdb Rework show_deleted module not to liniearise the LDAP filter | Andrew Bartlett | 1 | -72/+37 | |
Instead, use the fact that the ldb_parse_tree structure is public to construct the 'and not deleted' clause as a structure, and apply each filter tree to that template. Andrew Bartlett | |||||
2009-08-24 | Allow systems with timestamp granularity of 1sec to work with | Jeremy Allison | 1 | -0/+15 | |
this test. Jeremy. | |||||
2009-08-24 | s4:dsdb Use talloc_strndup() to ensure OIDs are null terminated | Andrew Bartlett | 1 | -8/+11 | |
The OIDs are not NULL terminated by the python caller, in line with the LDB API, but we need them to be here, as we were casting them to a string. Andrew Bartlett | |||||
2009-08-24 | s4:ldb Add python binding and test for ldb_msg_diff() | Andrew Bartlett | 2 | -0/+43 | |
2009-08-24 | s4:dsdb Add const | Andrew Bartlett | 1 | -2/+2 | |
2009-08-24 | s4:dsdb remove unused variable | Andrew Bartlett | 1 | -1/+0 | |
2009-08-24 | s4:dsdb use talloc_strndup() in GET_STRING_LDB() rather than walk off the end | Andrew Bartlett | 1 | -7/+17 | |
The problem is that samdb_result_string() and ldb_msg_find_attr_as_string() both simply cast the string, rather than ensuring the return value is NULL terminated. This may be best regarded as a flaw in LDB, but fixing it there is going to be more difficult. Andrew Bartlett | |||||
2009-08-24 | s4:cmdline: setup talloc log and abort functions | Stefan Metzmacher | 2 | -5/+7 | |
metze | |||||
2009-08-24 | s4:build: require talloc >= 2.0.0 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-08-22 | s4:ntp_signd Fix bug 6656 - Set protocol version to 0, as used by ntpd | Andrew Bartlett | 3 | -7/+6 | |
The change to protocol version 1 was not intentional, and broke the protocol established with the ntp.org project. Andrew Bartlett | |||||
2009-08-21 | s4:client | Sam Liddicott | 1 | -3/+7 | |
Put was assuming that the remote name was always absolute, and not relative to the current remote directory. Signed-off-by: Sam Liddicott <sam@liddicott.com> | |||||
2009-08-21 | s4:ldb Python requires that a 'compare' handler return -1, 0 or 1 | Andrew Bartlett | 1 | -1/+5 | |
2009-08-21 | s4:ldb Use length-limited printf to avoid walking off end of strings | Andrew Bartlett | 1 | -1/+1 | |
This should ensure the debug messages do not have random characters at their ends. Andrew Bartlett |