summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* Wrap DRS changes in a transactionAndrew Tridgell2009-09-021-0/+18
| | | | | We should always apply a whole set of DRS changes or none of them. See [MS-DRSR] 3.3.2
* fixed spellingAndrew Tridgell2009-09-021-1/+1
|
* added ldb_ldif_message_string()Andrew Tridgell2009-09-022-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.
* ldb: Depend on libtalloc 2.0.0Simo Sorce2009-08-301-1/+1
|
* ldb: cosmetic changes in ldb_dnSimo Sorce2009-08-301-193/+292
| | | | | | - remove trailing spaces and tabs - shorten some variable names for readability - try to break superlong lines for readability
* s4:ldb Don't sleep(100) in this error case, but debug the LDIFAndrew Bartlett2009-08-281-6/+6
|
* s4: Create helpers functions related to provisionMatthieu Patou2009-08-281-17/+34
| | | | | One for getting attributes with DN syntax, one for getting forward linked attributes and one for getting the list of partition
* s4-ldb: update dlinklist.h to match main copy (lib/util/dlinklist.h)Michael Adam2009-08-281-6/+5
| | | | Michael
* s4: include ntlmssp header in auth/ntlmssp/ntlmssp.h.Günther Deschner2009-08-281-0/+1
| | | | Guenther
* s4-ntlmssp: use interface constants in TargetInfo blob.Günther Deschner2009-08-281-5/+5
| | | | Guenther
* s4-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants.Günther Deschner2009-08-285-50/+21
| | | | Guenther
* s4-schannel: add ldb suffix to schannel functions.Günther Deschner2009-08-272-10/+10
| | | | Guenther
* s4-smbtorture: do not hard code BDC secure channel type into RPC-NETLOGON tests.Günther Deschner2009-08-271-9/+12
| | | | Guenther
* s4-smbtorture: add test_SetPassword_flags to RPC-NETLOGON-S3 testsuite.Günther Deschner2009-08-271-0/+101
| | | | Guenther
* s4:python Add helper to get at the domain SIDAndrew Bartlett2009-08-272-0/+33
|
* s4-smbtorture: add RPC-NETLOGON-S3 to test samba3 netlogon server.Günther Deschner2009-08-262-0/+19
| | | | Guenther
* s4:heimdal_build: lib/hcrypto/evp-aes-cts.o belongs to HEIMDAL_HCRYPTOStefan Metzmacher2009-08-261-1/+1
| | | | metze
* schannel: move schannel.idl to main directory.Günther Deschner2009-08-262-45/+1
| | | | Guenther
* s4:provision Ensure that @OPTIONS is mirrored into each partitionAndrew Bartlett2009-08-263-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
* s4:ldb Add ldb_ldif_write_string() and python wrappersAndrew Bartlett2009-08-264-1/+95
| | | | | | This allows us to turn a python LdbMessage back into a string. Andrew Bartlett
* s4:ldb Add hooks to get/set the flags on a ldb_message_elementAndrew Bartlett2009-08-262-5/+65
| | | | | | | Also add tests to prove that we got this correct, and correct the existing tests which used the wrong constants. Andrew Bartlett
* s4:schema Rework dsdb_write_prefixes_from_schema_to_ldb() to use tallocAndrew Bartlett2009-08-261-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
* s4:provison Add prefixes to ldb using same code a later modify will useAndrew Bartlett2009-08-264-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
* s4:provision Only create references to our server DN after the self joinAndrew Bartlett2009-08-266-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
* s4:scheam quiet a 'const' warningAndrew Bartlett2009-08-261-1/+1
|
* s4:dsdb Rework dsdb_write_prefixes_to_ldb() to take a schemaAndrew Bartlett2009-08-261-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
* s4:dsdb Use helper function to add 'show deleted' controlAndrew Bartlett2009-08-261-20/+10
| | | | | | | This revises tridge's commit 61ca4c491e1c13eb7d97847f743b0f540f1117c4 to use ldb_request_add_control() instead of a manual construction. Andrew Bartlett
* fixed DRS rename of deleted objectsAndrew Tridgell2009-08-251-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.
* fixed a double free bug on error in net exportAndrew Tridgell2009-08-251-1/+0
|
* s4:python Fix the reprovision test by deleting 'deleted' objects too.Andrew Bartlett2009-08-251-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
* s4:dsdb Rework show_deleted module not to liniearise the LDAP filterAndrew Bartlett2009-08-251-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
* Allow systems with timestamp granularity of 1sec to work withJeremy Allison2009-08-241-0/+15
| | | | | this test. Jeremy.
* s4:dsdb Use talloc_strndup() to ensure OIDs are null terminatedAndrew Bartlett2009-08-241-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
* s4:ldb Add python binding and test for ldb_msg_diff()Andrew Bartlett2009-08-242-0/+43
|
* s4:dsdb Add constAndrew Bartlett2009-08-241-2/+2
|
* s4:dsdb remove unused variableAndrew Bartlett2009-08-241-1/+0
|
* s4:dsdb use talloc_strndup() in GET_STRING_LDB() rather than walk off the endAndrew Bartlett2009-08-241-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
* s4:cmdline: setup talloc log and abort functionsStefan Metzmacher2009-08-242-5/+7
| | | | metze
* s4:build: require talloc >= 2.0.0Stefan Metzmacher2009-08-241-1/+1
| | | | metze
* s4:ntp_signd Fix bug 6656 - Set protocol version to 0, as used by ntpdAndrew Bartlett2009-08-223-7/+6
| | | | | | | The change to protocol version 1 was not intentional, and broke the protocol established with the ntp.org project. Andrew Bartlett
* s4:clientSam Liddicott2009-08-211-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>
* s4:ldb Python requires that a 'compare' handler return -1, 0 or 1Andrew Bartlett2009-08-211-1/+5
|
* s4:ldb Use length-limited printf to avoid walking off end of stringsAndrew Bartlett2009-08-211-1/+1
| | | | | | | This should ensure the debug messages do not have random characters at their ends. Andrew Bartlett
* s4:kerberos Use MIT compatible names for these enc typesAndrew Bartlett2009-08-212-3/+3
| | | | | | | | | This is a small start on (ie, the only trivial part of) the work shown in: http://k5wiki.kerberos.org/wiki/Projects/Samba4_Port#Samba.27s_use_of_Heimdal_symbols.2C_with_MIT_differences (a table of all Kerberos symbols used in Samba4, and notes on where they differ from those provided with MIT Kerberos) Andrew Bartlett
* s4-spoolss: add stubs for new idl opcodes in spoolss server.Günther Deschner2009-08-201-0/+140
| | | | Guenther
* added basic support for rename in DRS replicationAndrew Tridgell2009-08-191-5/+9
| | | | | | | Added simple DRS rename support in replication. This should be done async, and I'm not sure if we should also do any repl data updates to indicate the rename. I'm still learning how this stuff works, but at least this allows a rename on a DC to propogate correctly
* we need the Deleted Objects container for replicationAndrew Tridgell2009-08-191-0/+6
| | | | | When objects are deleted they get renamed to this container. The container needs to exist when we provision
* s4 winbind: Quiet down the WINBINDD_DOMAIN_INFO handler stub warningKai Blin2009-08-181-1/+1
|
* s4 winbind: Silence compile warning by adding new commands to the listKai Blin2009-08-181-0/+3
|
* s4 winbind: Implement a stubbed out version of WINBINDD_DOMAIN_INFOKai Blin2009-08-182-1/+19
|