Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-05-03 | Remove strlower_m() and strupper_m() from source4 and common code. | Andrew Bartlett | 1 | -2/+1 | |
This function is problematic because a string may expand in size when changed into upper or lower case. This will then push characters off the end of the string in the s3 implementation, or panic in the former s4 implementation. Andrew Bartlett | |||||
2011-05-03 | s4-messaging Rename messaging -> imessaging | Andrew Bartlett | 2 | -6/+6 | |
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett | |||||
2011-04-29 | s4:"ldb_connect" calls - proof for "!= LDB_SUCCESS" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Reviewed-by: abartlet | |||||
2011-04-29 | s4:repl_meta_data LDB module - quiet a discard const ptr warning | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2011-04-15 | s4-dsdb: Add more information on why we don't check the SD control | Matthieu Patou | 1 | -0/+5 | |
Signed-off-by: Nadezhda Ivanova <nivanova@samba.org> Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Fri Apr 15 16:16:27 CEST 2011 on sn-devel-104 | |||||
2011-04-15 | s4-dsdb: If current attribute list is empty use the one from the request | Matthieu Patou | 1 | -1/+1 | |
This will avoid overwritting attribute list made by upper modules. Signed-off-by: Nadezhda Ivanova <nivanova@samba.org> | |||||
2011-04-07 | s4:objectclass LDB module - "ldb_msg_sanity_check" call not really needed | Matthias Dieter Wallnöfer | 1 | -5/+0 | |
This call should only be performed at the beginning of a request. "ldb_msg_sanity_check" checks for DN validity (which should already have been done at the beginning of the request) and empty attributes (which should be done by the "objectclass_attrs" LDB module). Hence it is superflous here. Reviewed-by: abartlet | |||||
2011-04-07 | s4:objectclass LDB module - fix a comment - add a ")" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Reviewed-by: abartlet | |||||
2011-04-06 | s4:dsdb/repl_meta_data: update replPropertyMetaData on originating renames | Stefan Metzmacher | 1 | -6/+122 | |
The version of the "name" attribute needs to change even if the value is the same. This also normalizes the rdn attribute name based on the schema. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Apr 6 19:55:50 CEST 2011 on sn-devel-104 | |||||
2011-04-06 | s4:dsdb/repl_meta_data: allow passing an explicit attribute list to ↵ | Stefan Metzmacher | 1 | -4/+15 | |
replmd_update_rpmd() This will be used for renames. metze | |||||
2011-04-06 | s4:dsdb/repl_meta_data: normalize the rdn attribute name based on the schema | Stefan Metzmacher | 1 | -5/+15 | |
metze | |||||
2011-04-06 | s4: Update/Set local USN only on attribute that have been modified/created | Matthieu Patou | 1 | -9/+15 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-04-04 | s4-dsdb: implemented creation of conflict records | Andrew Tridgell | 1 | -48/+356 | |
when a record with the same DN gets created on two DCs at the same time, this creates a replication conflict. To resolve this conflict one of the DCs needs to create a conflict record, which is a rename of one of the two DNs, based on which one is newer. This prevents replication from failing when DCs are temporarily disconnected and then have conflicts when they next replicate Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Apr 4 03:27:07 CEST 2011 on sn-devel-104 | |||||
2011-03-31 | s4-dsdb: cope with failed searches in the linked attributes callback | Andrew Tridgell | 1 | -16/+15 | |
This fixes a bug where we try to add an empty backlink because the search for the forward link failed. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 31 13:37:36 CEST 2011 on sn-devel-104 | |||||
2011-03-29 | s4-dsdb: allow modification of linked attribute targets with relax | Andrew Tridgell | 1 | -1/+2 | |
this is used to help recover a corrupt database. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-03-29 | s4-fsmo: make rootDSE modify for FSMO transfer async | Andrew Tridgell | 1 | -12/+50 | |
this gives the ldap client the error code from the transfer Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-03-29 | s4-dsdb: only allow administrators to trigger FSMO role transfers | Andrew Tridgell | 1 | -0/+8 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-03-24 | charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵ | Andrew Tridgell | 2 | -5/+3 | |
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104 | |||||
2011-03-20 | dsdb: read acl, sd can be null and ret == LDB_SUCCESS | Matthieu Patou | 1 | -1/+1 | |
2011-03-20 | dsdb: acl_read fix a missed talloc_steal | Matthieu Patou | 1 | -0/+1 | |
2011-03-19 | source4/dsdb/samdb: Fix prototypes for all functions. | Jelmer Vernooij | 4 | -2/+4 | |
2011-03-18 | s4-rootdse: improved operations error messages | Andrew Tridgell | 1 | -8/+4 | |
this gives better localisation of errors in rootdse. This is to help track down a production error Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Mar 18 05:46:58 CET 2011 on sn-devel-104 | |||||
2011-03-10 | s4:extended_dn_store LDB module - use the new request as generic memory contexts | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
To prevent memory leaks under valgrind. | |||||
2011-03-10 | s4:repl_meta_data LDB module - always ask manually for the current partition ↵ | Matthias Dieter Wallnöfer | 1 | -0/+46 | |
control Otherwise the "partition" LDB module doesn't give it back anymore. | |||||
2011-03-10 | s4:partition LDB module - the current partition control should only be added ↵ | Matthias Dieter Wallnöfer | 1 | -6/+18 | |
if requested That means if the informations before a request are unknown ("repl_meta_data" LDB module) then an empty control (no data) has to be sent. | |||||
2011-03-10 | s4:partition LDB module - extended operations - make the initialisation ↵ | Matthias Dieter Wallnöfer | 1 | -2/+4 | |
check consistent To the other operations. | |||||
2011-03-10 | s4:partition LDB module - move the "data" check a bit higher | Matthias Dieter Wallnöfer | 1 | -4/+5 | |
It can be performed a bit earlier. | |||||
2011-03-10 | s4:partition LDB module - "partition_replicate" doesn't handle the search ↵ | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
requests That is done by "partition_search". | |||||
2011-03-10 | s4:partition LDB module - "partition_sequence_number" - remove meaningless "if"s | Matthias Dieter Wallnöfer | 1 | -16/+12 | |
These current partition controls are always added for the two EXOP operations. | |||||
2011-03-10 | s4:simple_ldap_map LDB module - enhance current partition control checks | Matthias Dieter Wallnöfer | 1 | -3/+7 | |
Don't stop the server if it hasn't been filled in correctly. An LDB error should be enough. Modified by request of tridge: errorcodes changed to ERR_PROTOCOL_ERROR | |||||
2011-03-10 | s4:repl_meta_data LDB module - don't remove the partition control twice | Matthias Dieter Wallnöfer | 1 | -2/+1 | |
"controls" is already the controls list which has the partition control removed. It is generated by "ldb_controls_except_specified" in line 378. | |||||
2011-03-10 | s4:repl_meta_data LDB module - remove the current partition control unless ↵ | Matthias Dieter Wallnöfer | 1 | -2/+10 | |
it was requested | |||||
2011-03-10 | s4:new_partition LDB module - splitting up an "if" operation | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
- let the first "if" in place - uninstantiated partitions are handled by the second "if" (previously they have been handled twice) Has been corrected by request of tridge. | |||||
2011-03-10 | s4:instancetype LDB module - perform here only the "instanceType" constraint ↵ | Matthias Dieter Wallnöfer | 1 | -78/+16 | |
checks The boilerplate entries (when this support has been implemented) should be provided by the "new_partition" LDB module. These are for example the deleted object and lost and found container. | |||||
2011-03-10 | s4:instancetype LDB module - don't impede control requests | Matthias Dieter Wallnöfer | 1 | -0/+7 | |
2011-03-10 | s4:instancetype LDB module - use "ldb" pointer for referencing the LDB context | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2011-03-10 | s4:partition LDB module - fill in parent requests for inheriting the flags | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
Probably it doesn't matter in this cases but just for consistency. | |||||
2011-03-10 | s4:partition LDB module - add some comments | Matthias Dieter Wallnöfer | 1 | -1/+4 | |
2011-03-10 | s4:new_partition LDB module - fix comments | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
2011-03-10 | s4:partition_init LDB module - fix a typo | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2011-03-10 | s4:partition LDB module - fix typo | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2011-03-04 | s4:operational LDB module - fix attribute names to be right up/down-cased | Matthias Dieter Wallnöfer | 1 | -7/+7 | |
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Mar 4 23:56:07 CET 2011 on sn-devel-104 | |||||
2011-03-04 | s4:operational LDB module - fix display of some constructed attributes | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
"structuralObjectClass", "createTimestamp" and "modifyTimestamp" weren't displayed anymore. Reviewed by: Tridge | |||||
2011-03-04 | s4:operational LDB module - add "groupToken" as unsigned int (uint32_t) | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Reviewed by: Tridge | |||||
2011-03-04 | s4:operational LDB module - readd "structuralObjectClass" -> "objectClass" ↵ | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
mapping This has been removed accidentally by commit a093e10896a4768dba0cd793a04b7d5d1366fee2. Reviewed by: Tridge | |||||
2011-03-04 | s4/ldb - remove now superflous "ldb_dn_validate" checks | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
If we immediately afterwards perform an LDB base operation then we don't need an explicit "ldb_dn_validate" check anymore (only OOM makes sense). Reviewed by: Tridge | |||||
2011-03-04 | s4:dsdb - we don't need to check if a DN != NULL if we call "ldb_dn_validate" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
"ldb_dn_validate" is NULL-safe and does the check implicitly. Reviewed by: Tridge | |||||
2011-03-04 | Revert "s4:objectclass LDB module - if we cannot find DN's parent then the ↵ | Matthias Dieter Wallnöfer | 1 | -3/+1 | |
DN itself is invalid" This is not needed anymore with the new DN checking. This reverts commit 5896b7299331aedd065397d2078c62d85bcf68f6. Reviewed by: Tridge | |||||
2011-03-04 | s4:objectclass LDB module - fix a comment | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Reviewed by: Tridge | |||||
2011-03-04 | s4:waf-build fix disable-shared build for smbtorture | Christian Ambach | 1 | -1/+1 | |
building smbtorture4 with configure --disable-shared failed with an error that ldb.h could not be found Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Reviewed by: Tridge |