Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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-26 | s3-netlogon: fix default case when _netr_LogonSamLogon is called from other ↵ | Günther Deschner | 1 | -1/+3 | |
opcodes. Guenther | |||||
2009-08-26 | Revert "s3: Fix uninitialized const char *" | Günther Deschner | 1 | -1/+0 | |
Tim, I am reverting this as this eliminates "_netr_LogonSamLogonEx" from the debug messages completely. Followup fix to come immediately. This reverts commit add9b4afb14d3426d1f3bf5b8e7c86926f462578. | |||||
2009-08-26 | s3-netlogon: get rid of init_net_r_req_chal(). | Günther Deschner | 1 | -13/+1 | |
Guenther | |||||
2009-08-26 | s3-netlogon: let get_md4pw() return a struct samr_Password. | Günther Deschner | 2 | -8/+7 | |
(in preparation of credential merge). Guenther | |||||
2009-08-26 | s3-netlogon: make _netr_ServerAuthenticate a callback to ↵ | Günther Deschner | 1 | -46/+16 | |
_netr_ServerAuthenticate3. Guenther | |||||
2009-08-25 | Allow for name array strings that don't end in a slash | Zach Loafman | 1 | -12/+17 | |
Fix set_namearray to allow for strings that don't end in a slash. Also remove unnecessary strdup()s. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-08-25 | Add some const to dsgetdcname | Volker Lendecke | 2 | -6/+6 | |
2009-08-25 | Do an early TALLOC_FREE | Volker Lendecke | 1 | -1/+2 | |
2009-08-25 | netlogon: give netlogon w7/w2k8r2 AES negotiate flag proper name (see bug ↵ | Günther Deschner | 3 | -3/+3 | |
#6099 for details). Guenther | |||||
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 | Help debug for bug 6651 - smbd SIGSEGV when breaking oplocks. | Jeremy Allison | 1 | -0/+4 | |
Should help track if we get invoked with an invalid fd from the signal handler. Jeremy. | |||||
2009-08-24 | Second attempt at fix for bug 6529 - Offline files conflict with Vista and ↵ | Jeremy Allison | 19 | -133/+188 | |
Office 2003. Confirmation from reporter that this fixes the issue in master on ext3/ext4. Back-ports to follow. Jeremy. | |||||
2009-08-24 | Allow systems with timestamp granularity of 1sec to work with | Jeremy Allison | 1 | -0/+15 | |
this test. Jeremy. | |||||
2009-08-24 | Use existing time_t rounding function, don't invent my own. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-08-24 | netlogon: add (yet) undocumented netlogon negotiate bit to bitmap. | Günther Deschner | 3 | -0/+3 | |
This bit is set by the Win7 client while joining. Guenther | |||||
2009-08-24 | s3-netlogon: Only hand out rid when netlogon credential chain has been setup ↵ | Günther Deschner | 1 | -1/+5 | |
sucessfully. Guenther | |||||
2009-08-24 | Second part of fix for 6529 - Offline files conflict with Vista and Office 2003. | Jeremy Allison | 3 | -0/+22 | |
ext4 may be able to store ns timestamps, but the only API to *set* timestamps takes usec, not nsec. Round to usec on set requests. Jeremy. | |||||
2009-08-24 | Fix make test. | Jeremy Allison | 1 | -0/+1 | |
Jeremy. | |||||
2009-08-24 | make smbcontrol smbd ping work proper checking for arguments handle short ↵ | Olaf Flebbe | 2 | -14/+21 | |
pid_t correctly | |||||
2009-08-24 | libndr: add missing protoypes for double type. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-08-24 | tevent: avoid using reserved c++ word. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
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 | note the semantic change in talloc_free from 2.0 | Andrew Tridgell | 2 | -8/+9 | |
2009-08-24 | fixed typo in talloc doc XML | Andrew Tridgell | 1 | -1/+2 | |
2009-08-24 | LIBREPLACEOBJ now contains the full path | Andrew Tridgell | 2 | -8/+2 | |
2009-08-24 | updated XML source for talloc man page | Andrew Tridgell | 1 | -1/+73 | |
2009-08-24 | added talloc_set_log_* documentation | Andrew Tridgell | 1 | -0/+11 | |
2009-08-24 | updated talloc guide for recent API changes | Andrew Tridgell | 1 | -2/+54 | |
2009-08-24 | make lib/replace more usable in standalone builds | Andrew Tridgell | 1 | -2/+2 | |
This makes the lib/replace m4 work in lib/talloc as a standalone build | |||||
2009-08-24 | fixed getpass m4 | Andrew Tridgell | 1 | -2/+2 | |
This allows the getpass.m4 code to work in standalone talloc builds | |||||
2009-08-24 | s3:lib: setup talloc log and abort functions | Stefan Metzmacher | 1 | -0/+7 | |
metze | |||||
2009-08-24 | s3:configure: require talloc >= 2.0.0 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
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-24 | talloc: add --enable-talloc-compat1 to build a compat library for talloc 1.x.x | Stefan Metzmacher | 5 | -0/+89 | |
metze |